mirror of
https://github.com/n8n-io/n8n-docs.git
synced 2026-03-27 01:18:41 +07:00
Add Hybrid Options for Weaviate (#4024)
Co-authored-by: Rowena Jones <36301604+RoRoJ@users.noreply.github.com>
This commit is contained in:
@@ -89,7 +89,7 @@ You can use this with the [Get Many](#get-many) and [Retrieve Documents (As Tool
|
||||
|
||||
Available for the [Get Many](#get-many), [Retrieve Documents (As Vector Store for Chain/Tool)](#retrieve-documents-as-vector-store-for-chaintool), and [Retrieve Documents (As Tool for AI Agent)](#retrieve-documents-as-tool-for-ai-agent) operation modes.
|
||||
|
||||
When searching for data, use this to match metadata associated with documents. You can learn more about the operators and query structure in [Weaviate's conditional filters documentation](https://docs.weaviate.io/weaviate/api/graphql/filters#filter-structure).
|
||||
When searching for data, use this to match metadata associated with documents. You can learn more about the operators and query structure in [Weaviate's conditional filters documentation](https://docs.weaviate.io/weaviate/api/graphql/filters).
|
||||
|
||||
You can use both `AND` and `OR` with different operators. Operators are case insensitive:
|
||||
|
||||
@@ -131,9 +131,41 @@ You can define which metadata keys you want Weaviate to return on your queries.
|
||||
|
||||
Available for the [Get Many](#get-many), [Retrieve Documents (As Vector Store for Chain/Tool)](#retrieve-documents-as-vector-store-for-chaintool), and [Retrieve Documents (As Tool for AI Agent)](#retrieve-documents-as-tool-for-ai-agent) operation modes.
|
||||
|
||||
### Hybrid: Query Text
|
||||
|
||||
Provide a query text to combine vector search with a keyword/text search.
|
||||
|
||||
### Hybrid: Explain Score
|
||||
|
||||
Whether to show the score fused between hybrid and vector search explanation.
|
||||
|
||||
### Hybrid: Fusion Type
|
||||
|
||||
Select the fusion type for combining vector and keyword search results. [Learn more about fusion algorithms](https://weaviate.io/learn/knowledgecards/fusion-algorithm).
|
||||
|
||||
Options:
|
||||
- **Relative Score**: Uses relative score fusion
|
||||
- **Ranked**: Uses ranked fusion
|
||||
|
||||
### Hybrid: Auto Cut Limit
|
||||
|
||||
Limit result groups by detecting sudden jumps in score. [Learn more about autocut](https://docs.weaviate.io/weaviate/api/graphql/additional-operators#autocut){:target=_blank .external-link}.
|
||||
|
||||
### Hybrid: Alpha
|
||||
|
||||
Change the relative weights of the keyword and vector components. 1.0 = pure vector, 0.0 = pure keyword. Default is 0.5. [Learn more about the alpha parameter](https://weaviate.io/learn/knowledgecards/alpha-parameter){:target=_blank .external-link}.
|
||||
|
||||
### Hybrid: Query Properties
|
||||
|
||||
Comma-separated list of properties to include in the query with optionally weighted values, e.g., "question^2,answer". [Learn more about setting weights on property values](https://docs.weaviate.io/weaviate/search/hybrid#set-weights-on-property-values){:target=_blank .external-link}.
|
||||
|
||||
### Hybrid: Max Vector Distance
|
||||
|
||||
Set the maximum allowable distance for the vector search component.
|
||||
|
||||
### Tenant Name
|
||||
|
||||
The specific tenant to store or retrieve documents for.
|
||||
The specific tenant to store or retrieve documents for. [Learn more about multi-tenancy](https://weaviate.io/learn/knowledgecards/multi-tenancy){:target=_blank .external-link}.
|
||||
|
||||
/// note | Must enable at creation
|
||||
You must pass a tenant name at first ingestion to enable multitenancy for a collection. You can't enable or disable multitenancy after creation.
|
||||
|
||||
Reference in New Issue
Block a user