File size: 983 Bytes
0a567c1
 
 
 
 
 
1c96ca8
0a567c1
 
 
 
 
 
3028bfb
 
 
 
 
 
 
 
 
 
 
 
 
979bfc3
4921845
3028bfb
 
 
 
 
979bfc3
068937b
4921845
 
 
 
 
 
 
 
b734492
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
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"
  }'


```