sanbo commited on
Commit
4921845
·
1 Parent(s): c064436

update sth. at 2025-01-16 22:50:14

Browse files
Files changed (1) hide show
  1. README.md +30 -0
README.md CHANGED
@@ -25,6 +25,7 @@ You can generate embeddings by sending a POST request to one of the following en
25
  Example request using `curl`:
26
 
27
  ``` bash
 
28
  curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/v1/embeddings \
29
  -H "Content-Type: application/json" \
30
  -d '{
@@ -32,4 +33,33 @@ curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/v1/embeddings \
32
  "model": "jinaai/jina-embeddings-v3"
33
  }'
34
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
  ```
 
25
  Example request using `curl`:
26
 
27
  ``` bash
28
+
29
  curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/v1/embeddings \
30
  -H "Content-Type: application/json" \
31
  -d '{
 
33
  "model": "jinaai/jina-embeddings-v3"
34
  }'
35
 
36
+
37
+ curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/hf/v1/chat/completions \
38
+ -H "Content-Type: application/json" \
39
+ -d '{
40
+ "input": "Your text string goes here",
41
+ "model": "jinaai/jina-embeddings-v3"
42
+ }'
43
+
44
+ curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/api/v1/chat/completions \
45
+ -H "Content-Type: application/json" \
46
+ -d '{
47
+ "input": "Your text string goes here",
48
+ "model": "jinaai/jina-embeddings-v3"
49
+ }'
50
+
51
+ curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/hf/v1/embeddings \
52
+ -H "Content-Type: application/json" \
53
+ -d '{
54
+ "input": "Your text string goes here",
55
+ "model": "jinaai/jina-embeddings-v3"
56
+ }'
57
+
58
+ curl -X POST https://sanbo1200-jina-embeddings-v3.hf.space/generate_embeddings \
59
+ -H "Content-Type: application/json" \
60
+ -d '{
61
+ "input": "Your text string goes here",
62
+ "model": "jinaai/jina-embeddings-v3"
63
+ }'
64
+
65
  ```