@@ -35,6 +35,7 @@ export type Vectorizer =
3535 | 'text2vec-gpt4all'
3636 | 'text2vec-huggingface'
3737 | 'text2vec-jinaai'
38+ | 'text2vec-nvidia'
3839 | 'text2vec-mistral'
3940 | 'text2vec-ollama'
4041 | 'text2vec-openai'
@@ -169,6 +170,8 @@ export type Multi2VecGoogleConfig = {
169170 textFields ?: string [ ] ;
170171 /** The video fields used when vectorizing. */
171172 videoFields ?: string [ ] ;
173+ /** Length of a video interval in seconds. */
174+ videoIntervalSeconds ?: number ;
172175 /** The model ID in use. */
173176 modelId ?: string ;
174177 /** The dimensionality of the vector once embedded. */
@@ -223,6 +226,8 @@ export type Multi2VecVoyageAIConfig = {
223226 imageFields ?: string [ ] ;
224227 /** The model to use. */
225228 model ?: string ;
229+ /** How the output from the model should be encoded on return. */
230+ outputEncoding ?: string ;
226231 /** The text fields used when vectorizing. */
227232 textFields ?: string [ ] ;
228233 /** Whether the input should be truncated to fit in the context window. */
@@ -363,6 +368,22 @@ export type Text2VecJinaAIConfig = {
363368/** @deprecated Use `Text2VecJinaAIConfig` instead. */
364369export type Text2VecJinaConfig = Text2VecJinaAIConfig ;
365370
371+ /**
372+ * The configuration for text vectorization using the Nvidia module.
373+ *
374+ * See the [documentation](https://weaviate.io/developers/weaviate/model-providers/nvidia/embeddings) for detailed usage.
375+ */
376+ export type Text2VecNvidiaConfig = {
377+ /** The base URL to use where API requests should go. */
378+ baseURL ?: string ;
379+ /** The model to use. */
380+ model ?: string ;
381+ /** Whether to truncate when vectorising. */
382+ truncate ?: boolean ;
383+ /** Whether to vectorize the collection name. */
384+ vectorizeCollectionName ?: boolean ;
385+ } ;
386+
366387/**
367388 * The configuration for text vectorization using the Mistral module.
368389 *
@@ -541,6 +562,8 @@ export type VectorizerConfigType<V> = V extends 'img2vec-neural'
541562 ? Text2VecHuggingFaceConfig | undefined
542563 : V extends 'text2vec-jinaai'
543564 ? Text2VecJinaAIConfig | undefined
565+ : V extends 'text2vec-nvidia'
566+ ? Text2VecNvidiaConfig | undefined
544567 : V extends 'text2vec-mistral'
545568 ? Text2VecMistralConfig | undefined
546569 : V extends 'text2vec-ollama'
0 commit comments