TypeScript SDK
API reference for Mixedbread's Embeddings endpoint. This documentation covers request parameters, authentication requirements, and response structure for generating vector representations of text inputs.
Quick Start
Here's a quick example to get you started with the API:
Reranking documents
Embedding documents
Configuration
The MixedbreadAIClient
constructor accepts the following options:
apiKey
: Your Mixedbread API key (required)maxRetries
: Maximum number of retries for failed requests (default: 3)timeout
: Request timeout in milliseconds (default: 30000)baseURL
: Custom base URL for API requests (optional)
Error Handling
Use try/catch blocks to handle errors:
Next Steps
- Get your API key in the Mixedbread dashboard
- Check out the full API documentation for more details on available endpoints and parameters
- Join our community for support and to share your projects
Happy baking! 🍞🚀
Last updated on
Python SDK
Get started with the Mixedbread Python SDK. Learn how to install, configure, and use the SDK for reranking and embedding tasks.
Haystack
Learn how to integrate Mixedbread's powerful embedding and reranking capabilities into your Haystack projects. This guide covers installation, quick start examples, and advanced usage scenarios for seamless integration with your natural language processing pipelines.