API Request Parameters and Reusing Vector Store Without Regenerating Embeddings #173
-
|
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 1 reply
-
For Example: |
Beta Was this translation helpful? Give feedback.
-
Hi @abrahimzaman360, Thank you for your questions. Here's quick guide:
Hope this helps! Feel free to reach out if you have further questions. Best, |
Beta Was this translation helpful? Give feedback.
-
One more thing: |
Beta Was this translation helpful? Give feedback.
Hi @abrahimzaman360,
Thank you for your questions. Here's quick guide:
API Usage: To make a query like "hello assistant", use a POST request to the
/query
endpoint with a JSON payload. For detailed parameters and usage, visit the/docs
page. Start the application with Uvicorn, and the/docs
page should be available at the root URL of your server (e.g.,http://your-server-address:port/docs
).Vector Store Usage: To use an existing vector store without creating a new one, initialize
AutoQueryEngine
without passing the 'documents' parameter. This approach uses the existing store, bypassing new embedding generation: