Vald is a highly scalable distributed fast approximate nearest neighbor (ANN) dense vector search engine.This notebook shows how to use functionality related to the
Vald database.
To run this notebook you need a running Vald cluster.
Check Get Started for more information.
See the installation instructions.
Basic Example
Similarity search by vector
Similarity search with score
Maximal Marginal Relevance Search (MMR)
In addition to using similarity search in the retriever object, you can also usemmr as retriever.
max_marginal_relevance_search directly:
Example of using secure connection
In order to run this notebook, it is necessary to run a Vald cluster with secure connection. Here is an example of a Vald cluster with the following configuration using Athenz authentication. ingress(TLS) -> authorization-proxy(Check athenz-role-auth in grpc metadata) -> vald-lb-gatewaySimilarity search by vector
Similarity search with score
Maximal Marginal Relevance Search (MMR)
Connect these docs programmatically to Claude, VSCode, and more via MCP for real-time answers.