Compare commits

...

2 Commits

Author SHA1 Message Date
李如威 cd5057a466 feat: README.md 2025-11-17 17:54:14 +08:00
李如威 954cca14fa feat: models 2025-11-17 17:53:39 +08:00
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"]}'
```