Compare commits
2 Commits
99be9a5571
...
cd5057a466
| Author | SHA1 | Date |
|---|---|---|
|
|
cd5057a466 | |
|
|
954cca14fa |
|
|
@ -34,10 +34,10 @@ curl -H "Authorization: Bearer sk-local-827ccb0eea8a706c4c34a16891f84e7b" http:/
|
|||
|
||||
|
||||
# embedding
|
||||
curl http://localhost:8023/embed \
|
||||
curl http://localhost:8023/v1/embeddings \
|
||||
-X POST \
|
||||
-H "Authorization: Bearer sk-local-827ccb0eea8a706c4c34a16891f84e7b" \
|
||||
-H "Content-Type: application/json" \
|
||||
-d '{"inputs": ["Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: What is the capital of China?", "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: Explain gravity"]}'\
|
||||
-d '{"input": ["Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: What is the capital of China?", "Instruct: Given a web search query, retrieve relevant passages that answer the query\nQuery: Explain gravity"]}'
|
||||
```
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue