add open in colab button

This commit is contained in:
ishaan-jaff 2023-09-06 13:20:17 -07:00
parent e20df68413
commit 7b5dbd2b61

View file

@ -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