Sample Scripts
Contextual Search
How to use Embeddings API for performing Contextual Search.
To use the Embeddings API, please go through the detailed information about the API and its parameters from the Documentation.
If you don’t have an API key, please send your request - API Access Request Form.
Example
Below is a Python example demonstrating how to make a request to the API to perform a contextual search:
Key Points
- Replace YOUR_API_KEY_HERE with your actual API key in the Authorization header.
- Modify the query parameter to suit your search needs.
- Adjust the filters to target specific document types or time periods.