mirror of
https://github.com/tiennm99/litellm.git
synced 2026-06-18 23:40:42 +00:00
b032e898c2
* fix batch_completion * fix import batch completion * fix batch completion usage
636 B
636 B
Implementation of litellm.batch_completion, litellm.batch_completion_models, litellm.batch_completion_models_all_responses
Doc: https://docs.litellm.ai/docs/completion/batching
LiteLLM Python SDK allows you to:
litellm.batch_completionBatch litellm.completion function for a given model.litellm.batch_completion_modelsSend a request to multiple language models concurrently and return the response as soon as one of the models responds.litellm.batch_completion_models_all_responsesSend a request to multiple language models concurrently and return a list of responses from all models that respond.