forked from phoenix/litellm-mirror
(docs) add mistral-embed
This commit is contained in:
parent
9777db67e2
commit
7f74a0331c
1 changed files with 20 additions and 0 deletions
|
@ -52,5 +52,25 @@ All models listed here https://docs.mistral.ai/platform/endpoints are supported.
|
|||
|
||||
|
||||
|
||||
## Sample Usage - Embedding
|
||||
```python
|
||||
from litellm import embedding
|
||||
import os
|
||||
|
||||
os.environ['MISTRAL_API_KEY'] = ""
|
||||
response = embedding(
|
||||
model="mistral/mistral-embed",
|
||||
input=["good morning from litellm"],
|
||||
)
|
||||
print(response)
|
||||
```
|
||||
|
||||
|
||||
## Supported Models
|
||||
All models listed here https://docs.mistral.ai/platform/endpoints are supported
|
||||
|
||||
| Model Name | Function Call |
|
||||
|--------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
||||
| mistral-embed | `embedding(model="mistral/mistral-embed", input)` |
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue