Compare commits

..

No commits in common. "cd5057a466ed8e5f78d53e4569f8b5f66f17a7c7" and "99be9a55719ef86098cdb87dc8e3f69032711a5e" have entirely different histories.

1 changed files with 2 additions and 2 deletions

View File

@ -34,10 +34,10 @@ curl -H "Authorization: Bearer sk-local-827ccb0eea8a706c4c34a16891f84e7b" http:/
# embedding
curl http://localhost:8023/v1/embeddings \
curl http://localhost:8023/embed \
-X POST \
-H "Authorization: Bearer sk-local-827ccb0eea8a706c4c34a16891f84e7b" \
-H "Content-Type: application/json" \
-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"]}'
-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"]}'\
```