Meilisearch is an open-source, lightning-fast, and hyper relevant search engine. It comes with great defaults to help developers build snappy search experiences. You can self-host Meilisearch or run on Meilisearch Cloud.Meilisearch v1.3 supports vector search. This page guides you through integrating Meilisearch as a vector store and using it to perform vector search. You’ll need to install
langchain-community
with pip install -qU langchain-community
to use this integration
localhost:7700
MASTER KEY
— it should only be used to create your Meilisearch instanceADMIN KEY
— use it only server-side to update your database and its settingsSEARCH KEY
— a key that you can safely share in front-end applicationsos
and getpass
. You can use this technique for all the following examples.
embedder_name
is the name of the embedder that should be used for semantic search, defaults to “default”.
embedder_name
is the name of the embedder that should be used for semantic search, defaults to “default”.