jina-embeddings-v3 / README.md
sanbo
update sth. at 2025-02-03 19:47:51
9e9aca7
|
raw
history blame
983 Bytes
---
title: Jina Embeddings V3
emoji: 🦀
colorFrom: green
colorTo: blue
sdk: gradio
sdk_version: 5.12.0
app_file: app.py
pinned: false
short_description: jina-embeddings-v3
---
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
## Usage
You can generate embeddings by sending a POST request to one of the following endpoints:
- `/generate_embeddings`
- `/api/v1/embeddings`
- `/hf/v1/embeddings`
- `/api/v1/chat/completions`
- `/hf/v1/chat/completions`
Example request using `curl`:
``` bash
curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/v1/embeddings \
-H "Content-Type: application/json" \
-d '{
"input": "Your text string goes here",
"model": "jinaai/jina-embeddings-v3"
}'
curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/hf/v1/embeddings \
-H "Content-Type: application/json" \
-d '{
"input": "Your text string goes here",
"model": "jinaai/jina-embeddings-v3"
}'
```