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.
Integrate Mixedbread's embeddings and reranking capabilities into your Haystack projects.
Quick Start
- Install the package:
- Set up your API key:
- Start using Mixedbread in your Haystack projects!
Components
This integration provides three main components:
MixedbreadAITextEmbedder
: For embedding queriesMixedbreadAIDocumentEmbedder
: For embedding documentsMixedbreadAIReranker
: For reranking retrieved documents
Embeddings in a Pipeline
Here's how to use Mixedbread embeddings in a Haystack pipeline:
Reranking in a Pipeline
Here's how to use Mixedbread reranking in a Haystack pipeline:
Advanced Usage: Full Example with Metadata
For a more complex scenario involving metadata:
Documentation
For more detailed information on using Mixedbread with Haystack, check out:
Need Help?
- Join our Discord community
- Contact support
Happy baking with Mixedbread and Haystack! 🍞🚀
Last updated on