feat: README.md

This commit is contained in:
李如威 2025-11-17 17:54:14 +08:00
parent 954cca14fa
commit cd5057a466
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/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"]}'
```