mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-24 18:24:20 +00:00
add open in colab button
This commit is contained in:
parent
e20df68413
commit
7b5dbd2b61
1 changed files with 4 additions and 0 deletions
|
@ -2,6 +2,10 @@
|
|||
|
||||
In the batch_completion method, you provide a list of `messages` where each sub-list of messages is passed to `litellm.completion()`, allowing you to process multiple prompts efficiently in a single API call.
|
||||
|
||||
<a target="_blank" href="https://colab.research.google.com/github/BerriAI/litellm/blob/main/cookbook/LiteLLM_batch_completion.ipynb">
|
||||
<img src="https://colab.research.google.com/assets/colab-badge.svg" alt="Open In Colab"/>
|
||||
</a>
|
||||
|
||||
## Example Code
|
||||
```python
|
||||
import litellm
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue