michael-guenther commited on
Commit
fb54070
·
verified ·
1 Parent(s): c861883

change query prompt type in example

Browse files
Files changed (1) hide show
  1. README.md +1 -2
README.md CHANGED
@@ -121,7 +121,6 @@ curl -X POST http://127.0.0.1:8080/v1/embeddings \
121
  -d '{
122
  "model": "jinaai/jina-embeddings-v5-text-small-text-matching",
123
  "input": [
124
- "Query: Overview of climate change impacts on coastal cities",
125
  "Document: The impacts of climate change on coastal cities are significant...",
126
  ]
127
  }'
@@ -134,7 +133,7 @@ curl -X POST http://127.0.0.1:8080/embed \
134
  -H "Content-Type: application/json" \
135
  -d '{
136
  "inputs": "Overview of climate change impacts on coastal cities",
137
- "prompt_name": "query",
138
  }'
139
  ```
140
 
 
121
  -d '{
122
  "model": "jinaai/jina-embeddings-v5-text-small-text-matching",
123
  "input": [
 
124
  "Document: The impacts of climate change on coastal cities are significant...",
125
  ]
126
  }'
 
133
  -H "Content-Type: application/json" \
134
  -d '{
135
  "inputs": "Overview of climate change impacts on coastal cities",
136
+ "prompt_name": "document",
137
  }'
138
  ```
139