weaviate-client
Version:
JS/TS client for Weaviate
429 lines (428 loc) • 39.2 kB
TypeScript
import { VectorIndexType } from '../config/types/index.js';
import { PrimitiveKeys } from '../types/internal.js';
import { ConfigureNonTextMultiVectorizerOptions, ConfigureNonTextVectorizerOptions, ConfigureTextMultiVectorizerOptions, ConfigureTextVectorizerOptions, VectorConfigCreate } from './types/index.js';
/** Legacy export, maintained for backwards compatibility.
* See the comment for `legacyVectors`.
* @deprecated Use `vectors` instead. */
export declare const vectorizer: {
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'none'`.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'none'>} [opts] The configuration options for the `none` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'none'>} The configuration object.
*
* @deprecated Use `selfProvided` instead.
*/
none: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "none">) => VectorConfigCreate<never, N, I, "none">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'none'`.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'none'>} [opts] The configuration options for the `none` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'none'>} The configuration object.
*/
selfProvided: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "none">) => VectorConfigCreate<never, N, I, "none">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'img2vec-neural'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/modules/img2vec-neural) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'img2vec-neural'>} [opts] The configuration options for the `img2vec-neural` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'img2vec-neural'>} The configuration object.
*/
img2VecNeural: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureNonTextVectorizerOptions<N, I, "img2vec-neural">) => VectorConfigCreate<never, N, I, "img2vec-neural">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-bind'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/imagebind/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-bind'>} [opts] The configuration options for the `multi2vec-bind` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-bind'>} The configuration object.
*/
multi2VecBind: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-bind">) => VectorConfigCreate<never, N, I, "multi2vec-bind">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-cohere'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/cohere/embeddings) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-cohere'>} [opts] The configuration options for the `multi2vec-cohere` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-cohere'>} The configuration object.
*/
multi2VecCohere: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-cohere">) => VectorConfigCreate<never, N, I, "multi2vec-cohere">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-clip'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/transformers/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-clip'>} [opts] The configuration options for the `multi2vec-clip` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-clip'>} The configuration object.
*/
multi2VecClip: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-clip">) => VectorConfigCreate<never, N, I, "multi2vec-clip">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-twelvelabs'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/twelvelabs/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-twelvelabs'>} [opts] The configuration options for the `multi2vec-twelvelabs` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-twelvelabs'>} The configuration object.
*/
multi2VecTwelveLabs: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-twelvelabs">) => VectorConfigCreate<never, N, I, "multi2vec-twelvelabs">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-jinaai'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/jinaai/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-jinaai'>} [opts] The configuration options for the `multi2vec-jinaai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-jinaai'>} The configuration object.
*/
multi2VecJinaAI: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-jinaai">) => VectorConfigCreate<never, N, I, "multi2vec-jinaai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-palm'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/google/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-palm'>} opts The configuration options for the `multi2vec-palm` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-palm'>} The configuration object.
* @deprecated Use `multi2VecGoogle` instead.
*/
multi2VecPalm: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-palm">) => VectorConfigCreate<never, N, I, "multi2vec-palm">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-google'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/google/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-google'>} opts The configuration options for the `multi2vec-google` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-google'>} The configuration object.
*/
multi2VecGoogle: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-google">) => VectorConfigCreate<never, N, I, "multi2vec-google">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-clip'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/transformers/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-voyageai'>} [opts] The configuration options for the `multi2vec-voyageai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-voyageai'>} The configuration object.
*/
multi2VecVoyageAI: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-voyageai">) => VectorConfigCreate<never, N, I, "multi2vec-voyageai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'ref2vec-centroid'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/modules/ref2vec-centroid) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'ref2vec-centroid'>} opts The configuration options for the `ref2vec-centroid` vectorizer.
* @returns {VectorConfigCreate<never, N, I, 'ref2vec-centroid'>} The configuration object.
*/
ref2VecCentroid: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureNonTextVectorizerOptions<N, I, "ref2vec-centroid">) => VectorConfigCreate<never, N, I, "ref2vec-centroid">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-aws'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/aws/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<N, T, I, 'text2vec-aws'>} opts The configuration options for the `text2vec-aws` vectorizer.
* @returns { VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-aws'>} The configuration object.
*/
text2VecAWS: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureTextVectorizerOptions<T, N, I, "text2vec-aws">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-aws">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-azure-openai'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/openai/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-azure-openai'>} opts The configuration options for the `text2vec-azure-openai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-azure-openai'>} The configuration object.
*/
text2VecAzureOpenAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureTextVectorizerOptions<T, N, I, "text2vec-azure-openai">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-azure-openai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-cohere'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/cohere/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-cohere'>} [opts] The configuration options for the `text2vec-cohere` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-cohere'>} The configuration object.
*/
text2VecCohere: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-cohere">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-cohere">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-contextionary'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/modules/text2vec-contextionary) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-contextionary'>} [opts] The configuration for the `text2vec-contextionary` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-contextionary'>} The configuration object.
* @deprecated The contextionary model is old and not recommended for use. If you are looking for a local, lightweight model try the new text2vec-model2vec module instead.
*/
text2VecContextionary: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-contextionary">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-contextionary">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-databricks'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/databricks/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-databricks'>} opts The configuration for the `text2vec-databricks` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-databricks'>} The configuration object.
*/
text2VecDatabricks: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureTextVectorizerOptions<T, N, I, "text2vec-databricks">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-databricks">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-gpt4all'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/gpt4all/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-gpt4all'>} [opts] The configuration for the `text2vec-gpt4all` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-gpt4all'>} The configuration object.
*/
text2VecGPT4All: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-gpt4all">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-gpt4all">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-huggingface'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/huggingface/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-huggingface'>} [opts] The configuration for the `text2vec-huggingface` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-huggingface'>} The configuration object.
*/
text2VecHuggingFace: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-huggingface">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-huggingface">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-jinaai'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/jinaai/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-jinaai'>} [opts] The configuration for the `text2vec-jinaai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-jinaai'>} The configuration object.
*/
text2VecJinaAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-jinaai">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-jinaai">;
text2VecNvidia: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-nvidia">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-nvidia">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-digitalocean'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/digitalocean/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-digitalocean'>} opts The configuration for the `text2vec-digitalocean` vectorizer. `model` is required by the server.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-digitalocean'>} The configuration object.
*/
text2VecDigitalOcean: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureTextVectorizerOptions<T, N, I, "text2vec-digitalocean">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-digitalocean">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-mistral'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/mistral/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-mistral'>} [opts] The configuration for the `text2vec-mistral` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-mistral'>} The configuration object.
*/
text2VecMistral: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-mistral">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-mistral">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-openai'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/openai/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-openai'>} [opts] The configuration for the `text2vec-openai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-openai'>} The configuration object.
*/
text2VecOpenAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-openai">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-openai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-ollama'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/ollama/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-ollama'>} [opts] The configuration for the `text2vec-ollama` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-ollama'>} The configuration object.
*/
text2VecOllama: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-ollama">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-ollama">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-palm'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/google/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-palm'>} opts The configuration for the `text2vec-palm` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-palm'>} The configuration object.
* @deprecated Use `text2VecGoogle` instead.
*/
text2VecPalm: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-palm">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-palm">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-google'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/google/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-google'>} opts The configuration for the `text2vec-palm` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-google'>} The configuration object.
*/
text2VecGoogle: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-google">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-google">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-transformers'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/transformers/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-transformers'>} [opts] The configuration for the `text2vec-transformers` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-transformers'>} The configuration object.
*/
text2VecTransformers: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-transformers">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-transformers">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-voyageai'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/voyageai/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-voyageai'>} [opts] The configuration for the `text2vec-voyageai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-voyageai'>} The configuration object.
*/
text2VecVoyageAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-voyageai">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-voyageai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-weaviate'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/weaviate/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-weaviate'>} [opts] The configuration for the `text2vec-weaviate` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-weaviate'>} The configuration object.
*/
text2VecWeaviate: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-weaviate">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-weaviate">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-model2vec'`.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-model2vec'>} [opts] The configuration for the `text2vec-model2vec` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-model2vec'>} The configuration object.
*/
text2VecModel2Vec: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-model2vec">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-model2vec">;
};
export declare const vectors: {
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-nvidia'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/nvidia/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'multi2vec-nvidia'>} [opts] The configuration options for the `multi2vec-nvidia` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2vec-nvidia'>} The configuration object.
*/
multi2VecNvidia: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "multi2vec-nvidia">) => VectorConfigCreate<never, N, I, "multi2vec-nvidia">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-google'` with specific options for AI studio deployments.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/google/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-google-gemini'>} [opts] The configuration for the `text2vec-google` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-google'>} The configuration object.
*
* @deprecated Use [text2VecGoogleGemini]
*/
text2VecGoogleAiStudio: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-google-gemini">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-google">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-google'` with specific options for AI studio deployments.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/google/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-google-gemini'>} [opts] The configuration for the `text2vec-google` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-google'>} The configuration object.
*/
text2VecGoogleGemini: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-google-gemini">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-google">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2vec-google'` with Google Gemini API endpoint.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/google/embeddings) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'multi2vec-google-gemini'>} [opts] The configuration for the `multi2vec-google` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'multi2vec-google'>} The configuration object.
*/
multi2VecGoogleGemini: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "multi2vec-google-gemini">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "multi2vec-google">;
text2VecMorph: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-morph">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-morph">;
text2VecWeaviate: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-weaviate">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-weaviate">;
/** @deprecated The contextionary model is old and not recommended for use. If you are looking for a local, lightweight model try the new text2vec-model2vec module instead. */
text2VecContextionary: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-contextionary">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-contextionary">;
text2VecNvidia: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-nvidia">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-nvidia">;
text2VecTransformers: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-transformers">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-transformers">;
text2VecVoyageAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-voyageai">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-voyageai">;
text2VecGoogle: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-google">, "vectorizeCollectionName"> & {
model?: string;
modelId?: never;
}) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-google">;
text2VecOpenAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-openai">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-openai">;
text2VecOllama: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-ollama">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-ollama">;
text2VecDigitalOcean: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-digitalocean">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-digitalocean">;
text2VecMistral: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-mistral">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-mistral">;
text2VecJinaAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-jinaai">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-jinaai">;
text2VecHuggingFace: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-huggingface">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-huggingface">;
/** @deprecated The `text2vec-gpt4all` vectorizer is deprecated and will be removed in a future release. See the docs (https://docs.weaviate.io/weaviate/model-providers) for alternatives. */
text2VecGPT4All: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-gpt4all">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-gpt4all">;
text2VecDatabricks: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-databricks">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-databricks">;
text2VecCohere: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-cohere">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-cohere">;
text2VecAzureOpenAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-azure-openai">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-azure-openai">;
text2VecAWS: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: Omit<ConfigureTextVectorizerOptions<T, N, I, "text2vec-aws">, "vectorizeCollectionName">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-aws">;
multi2VecClip: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureNonTextVectorizerOptions<N, I, "multi2vec-clip">, "vectorizeCollectionName">) => VectorConfigCreate<never, N, I, "multi2vec-clip">;
multi2VecCohere: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureNonTextVectorizerOptions<N, I, "multi2vec-cohere">, "vectorizeCollectionName">) => VectorConfigCreate<never, N, I, "multi2vec-cohere">;
multi2VecBind: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureNonTextVectorizerOptions<N, I, "multi2vec-bind">, "vectorizeCollectionName">) => VectorConfigCreate<never, N, I, "multi2vec-bind">;
multi2VecJinaAI: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureNonTextVectorizerOptions<N, I, "multi2vec-jinaai">, "vectorizeCollectionName">) => VectorConfigCreate<never, N, I, "multi2vec-jinaai">;
multi2VecTwelveLabs: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureNonTextVectorizerOptions<N, I, "multi2vec-twelvelabs">, "vectorizeCollectionName">) => VectorConfigCreate<never, N, I, "multi2vec-twelvelabs">;
multi2VecGoogle: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: Omit<ConfigureNonTextVectorizerOptions<N, I, "multi2vec-google">, "vectorizeCollectionName"> & {
model?: string;
modelId?: never;
}) => VectorConfigCreate<never, N, I, "multi2vec-google">;
multi2VecVoyageAI: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: Omit<ConfigureNonTextVectorizerOptions<N, I, "multi2vec-voyageai">, "vectorizeCollectionName">) => VectorConfigCreate<never, N, I, "multi2vec-voyageai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'none'`.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'none'>} [opts] The configuration options for the `none` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'none'>} The configuration object.
*
* @deprecated Use `selfProvided` instead.
*/
none: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "none">) => VectorConfigCreate<never, N, I, "none">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'none'`.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'none'>} [opts] The configuration options for the `none` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'none'>} The configuration object.
*/
selfProvided: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextVectorizerOptions<N, I, "none">) => VectorConfigCreate<never, N, I, "none">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'img2vec-neural'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/modules/img2vec-neural) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'img2vec-neural'>} [opts] The configuration options for the `img2vec-neural` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'img2vec-neural'>} The configuration object.
*/
img2VecNeural: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureNonTextVectorizerOptions<N, I, "img2vec-neural">) => VectorConfigCreate<never, N, I, "img2vec-neural">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'ref2vec-centroid'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/modules/ref2vec-centroid) for detailed usage.
*
* @param {ConfigureNonTextVectorizerOptions<N, I, 'ref2vec-centroid'>} opts The configuration options for the `ref2vec-centroid` vectorizer.
* @returns {VectorConfigCreate<never, N, I, 'ref2vec-centroid'>} The configuration object.
*/
ref2VecCentroid: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureNonTextVectorizerOptions<N, I, "ref2vec-centroid">) => VectorConfigCreate<never, N, I, "ref2vec-centroid">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'text2vec-model2vec'`.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2vec-model2vec'>} [opts] The configuration for the `text2vec-model2vec` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2vec-model2vec'>} The configuration object.
*/
text2VecModel2Vec: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextVectorizerOptions<T, N, I, "text2vec-model2vec">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2vec-model2vec">;
};
export declare const multiVectors: {
/**
* Create a multi-vector `VectorConfigCreate` object with the vectorizer set to `'none'`.
*
* @param {ConfigureNonTextMultiVectorizerOptions<N, I, 'none'>} [opts] The configuration options for the `none` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'none'>} The configuration object.
*/
selfProvided: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextMultiVectorizerOptions<N, I, "none">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "none">;
/**
* Create a multi-vector `VectorConfigCreate` object with the vectorizer set to `'text2multivec-jinaai'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/jinaai/embeddings-colbert) for detailed usage.
*
* @param {ConfigureTextVectorizerOptions<T, N, I, 'text2multivec-jinaai'>} [opts] The configuration options for the `text2multivec-jinaai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>, N, I, 'text2multivec-jinaai'>} The configuration object.
*/
text2VecJinaAI: <T, N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureTextMultiVectorizerOptions<T, N, I, "text2multivec-jinaai">) => VectorConfigCreate<PrimitiveKeys<T>, N, I, "text2multivec-jinaai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2multivec-jinaai'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/jinaai/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextMultiVectorizerOptions<N, I, 'multi2multivec-jinaai'>} [opts] The configuration options for the `multi2multivec-jinaai` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2multivec-jinaai'>} The configuration object.
*/
multi2VecJinaAI: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts?: ConfigureNonTextMultiVectorizerOptions<N, I, "multi2multivec-jinaai">) => VectorConfigCreate<never, N, I, "multi2multivec-jinaai">;
/**
* Create a `VectorConfigCreate` object with the vectorizer set to `'multi2multivec-weaviate'`.
*
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/weaviate/embeddings-multimodal) for detailed usage.
*
* @param {ConfigureNonTextMultiVectorizerOptions<N, I, 'multi2multivec-weaviate'>} [opts] The configuration options for the `multi2multivec-weaviate` vectorizer.
* @returns {VectorConfigCreate<PrimitiveKeys<T>[], N, I, 'multi2multivec-weaviate'>} The configuration object.
*/
multi2VecWeaviate: <N extends string | undefined = undefined, I extends VectorIndexType = "hnsw">(opts: ConfigureNonTextMultiVectorizerOptions<N, I, "multi2multivec-weaviate">) => VectorConfigCreate<never, N, I, "multi2multivec-weaviate">;
};