forked from phoenix/litellm-mirror
docs(sidebars.js): add jina ai embedding to docs
This commit is contained in:
parent
2b9db05e08
commit
e30a2743b7
1 changed files with 24 additions and 0 deletions
24
docs/my-website/docs/providers/jina_ai.md
Normal file
24
docs/my-website/docs/providers/jina_ai.md
Normal file
|
@ -0,0 +1,24 @@
|
||||||
|
# Jina AI
|
||||||
|
https://jina.ai/embeddings/
|
||||||
|
|
||||||
|
## API Key
|
||||||
|
```python
|
||||||
|
# env variable
|
||||||
|
os.environ['JINA_AI_API_KEY']
|
||||||
|
```
|
||||||
|
|
||||||
|
## Sample Usage - Embedding
|
||||||
|
```python
|
||||||
|
from litellm import embedding
|
||||||
|
import os
|
||||||
|
|
||||||
|
os.environ['JINA_AI_API_KEY'] = ""
|
||||||
|
response = embedding(
|
||||||
|
model="jina_ai/jina-embeddings-v3",
|
||||||
|
input=["good morning from litellm"],
|
||||||
|
)
|
||||||
|
print(response)
|
||||||
|
```
|
||||||
|
|
||||||
|
## Supported Models
|
||||||
|
All models listed here https://jina.ai/embeddings/ are supported
|
Loading…
Add table
Add a link
Reference in a new issue