diff --git a/README.md b/README.md index 42a723a..50f7c3c 100644 --- a/README.md +++ b/README.md @@ -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"]}' ```