Spaces:
Paused
Paused
|
Download litellm/batch_completion/Readme.md from DesertWolf/test3: direct link, hf CLI and curl.
- Browser
- Download file 636 Bytes
-
https://huggingface.co/spaces/DesertWolf/test3/resolve/main/litellm/batch_completion/Readme.md
- Command line
-
hf download hf://spaces/DesertWolf/test3/litellm/batch_completion/Readme.md
-
curl -L -o Readme.md https://huggingface.co/spaces/DesertWolf/test3/resolve/main/litellm/batch_completion/Readme.md
636 Bytes
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.