Optional
opts: FetchObjectsOptions<T>The query to search for.
The available options for performing the generation.
Optional
opts: BaseBm25Options<T>The available options for performing the BM25 search.
Perform retrieval-augmented generation (RaG) on the results of a keyword-based BM25 search of objects in this collection.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The query to search for.
The available options for performing the generation.
The available options for performing the BM25 search.
Perform retrieval-augmented generation (RaG) on the results of a keyword-based BM25 search of objects in this collection.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The query to search for.
The available options for performing the generation.
Optional
opts: Bm25Options<T>The available options for performing the BM25 search.
Perform retrieval-augmented generation (RaG) on the results of an object search in this collection using the hybrid algorithm blending keyword-based BM25 and vector-based similarity.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The query to search for.
The available options for performing the generation.
Optional
opts: BaseHybridOptions<T>The available options for performing the hybrid search.
Perform retrieval-augmented generation (RaG) on the results of an object search in this collection using the hybrid algorithm blending keyword-based BM25 and vector-based similarity.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The query to search for.
The available options for performing the generation.
The available options for performing the hybrid search.
Perform retrieval-augmented generation (RaG) on the results of an object search in this collection using the hybrid algorithm blending keyword-based BM25 and vector-based similarity.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The query to search for.
The available options for performing the generation.
Optional
opts: HybridOptions<T>The available options for performing the hybrid search.
Perform retrieval-augmented generation (RaG) on the results of a by-audio object search in this collection using an audio-capable vectorization module and vector-based similarity search.
See the docs for a more detailed explanation.
NOTE: You must have a multi-media-capable vectorization module installed in order to use this method, e.g. multi2vec-bind
.
This overload is for performing a search without the groupBy
param.
The media file to search on. This can be a base64 string, a file path string, or a buffer.
The type of media to search on.
The available options for performing the generation.
Optional
opts: BaseNearOptions<T>The available options for performing the near-media search.
Perform retrieval-augmented generation (RaG) on the results of a by-audio object search in this collection using an audio-capable vectorization module and vector-based similarity search.
See the docs for a more detailed explanation.
NOTE: You must have a multi-media-capable vectorization module installed in order to use this method, e.g. multi2vec-bind
.
This overload is for performing a search with the groupBy
param.
The media file to search on. This can be a base64 string, a file path string, or a buffer.
The type of media to search on.
The available options for performing the generation.
The available options for performing the near-media search.
Perform retrieval-augmented generation (RaG) on the results of a by-audio object search in this collection using an audio-capable vectorization module and vector-based similarity search.
See the docs for a more detailed explanation.
NOTE: You must have a multi-media-capable vectorization module installed in order to use this method, e.g. multi2vec-bind
.
This overload is for performing a search with a programmatically defined opts
param.
The media to search on. This can be a base64 string, a file path string, or a buffer.
The type of media to search on.
The available options for performing the generation.
Optional
opts: NearOptions<T>The available options for performing the near-media search.
Perform retrieval-augmented generation (RaG) on the results of a by-object object search in this collection using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The ID of the object to search for.
The available options for performing the generation.
Optional
opts: BaseNearOptions<T>The available options for performing the near-object search.
Perform retrieval-augmented generation (RaG) on the results of a by-object object search in this collection using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The ID of the object to search for.
The available options for performing the generation.
The available options for performing the near-object search.
Perform retrieval-augmented generation (RaG) on the results of a by-object object search in this collection using a vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The ID of the object to search for.
The available options for performing the generation.
Optional
opts: NearOptions<T>The available options for performing the near-object search.
Perform retrieval-augmented generation (RaG) on the results of a by-image object search in this collection using the image-capable vectorization module and vector-based similarity search.
See the docs for a more detailed explanation.
NOTE: You must have a text-capable vectorization module installed in order to use this method, e.g. any of the text2vec-
and multi2vec-
modules.
This overload is for performing a search without the groupBy
param.
The query to search for.
The available options for performing the generation.
Optional
opts: BaseNearTextOptions<T>The available options for performing the near-text search.
Perform retrieval-augmented generation (RaG) on the results of a by-image object search in this collection using the image-capable vectorization module and vector-based similarity search.
See the docs for a more detailed explanation.
NOTE: You must have a text-capable vectorization module installed in order to use this method, e.g. any of the text2vec-
and multi2vec-
modules.
This overload is for performing a search with the groupBy
param.
The query to search for.
The available options for performing the generation.
The available options for performing the near-text search.
Perform retrieval-augmented generation (RaG) on the results of a by-image object search in this collection using the image-capable vectorization module and vector-based similarity search.
See the docs for a more detailed explanation.
NOTE: You must have a text-capable vectorization module installed in order to use this method, e.g. any of the text2vec-
and multi2vec-
modules.
This overload is for performing a search with a programmatically defined opts
param.
The query to search for.
The available options for performing the generation.
Optional
opts: NearTextOptions<T>The available options for performing the near-text search.
Perform retrieval-augmented generation (RaG) on the results of a by-vector object search in this collection using vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search without the groupBy
param.
The vector(s) to search for.
The available options for performing the generation.
Optional
opts: BaseNearOptions<T>The available options for performing the near-vector search.
Perform retrieval-augmented generation (RaG) on the results of a by-vector object search in this collection using vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with the groupBy
param.
The vector(s) to search for.
The available options for performing the generation.
The available options for performing the near-vector search.
Perform retrieval-augmented generation (RaG) on the results of a by-vector object search in this collection using vector-based similarity search.
See the docs for a more detailed explanation.
This overload is for performing a search with a programmatically defined opts
param.
The vector(s) to search for.
The available options for performing the generation.
Optional
opts: NearOptions<T>The available options for performing the near-vector search.
Perform retrieval-augmented generation (RaG) on the results of a keyword-based BM25 search of objects in this collection.
See the docs for a more detailed explanation.
This overload is for performing a search without the
groupBy
param.