@@ -40,10 +40,12 @@ export type Vectorizer =
40
40
| 'text2vec-nvidia'
41
41
| 'text2vec-mistral'
42
42
| 'text2vec-model2vec'
43
+ | 'text2vec-morph'
43
44
| 'text2vec-ollama'
44
45
| 'text2vec-openai'
45
46
| Text2VecPalmVectorizer
46
47
| 'text2vec-google'
48
+ | 'text2vec-google-ai-studio'
47
49
| 'text2vec-transformers'
48
50
| 'text2vec-voyageai'
49
51
| 'text2vec-weaviate'
@@ -93,6 +95,30 @@ export type Multi2VecNvidiaConfig = {
93
95
} ;
94
96
} ;
95
97
98
+ /** The configuration for multi-media vectorization using the AWS module.
99
+ *
100
+ * See the [documentation](https://weaviate.io/developers/weaviate/model-providers/aws/embeddings-multimodal) for detailed usage.
101
+ */
102
+ export type Multi2VecAWSConfig = {
103
+ /** The dimensionality of the vector once embedded. */
104
+ dimensions ?: number ;
105
+ /** The model to use. */
106
+ model ?: string ;
107
+ /** The AWS region where the model runs. */
108
+ region ?: string ;
109
+ /** The image fields used when vectorizing. */
110
+ imageFields ?: string [ ] ;
111
+ /** The text fields used when vectorizing. */
112
+ textFields ?: string [ ] ;
113
+ /** The weights of the fields used for vectorization. */
114
+ weights ?: {
115
+ /** The weights of the image fields. */
116
+ imageFields ?: number [ ] ;
117
+ /** The weights of the text fields. */
118
+ textFields ?: number [ ] ;
119
+ } ;
120
+ } ;
121
+
96
122
/** The configuration for multi-media vectorization using the CLIP module.
97
123
*
98
124
* See the [documentation](https://weaviate.io/developers/weaviate/model-providers/transformers/embeddings-multimodal) for detailed usage.
@@ -504,6 +530,8 @@ export type Text2VecPalmConfig = Text2VecGoogleConfig;
504
530
export type Text2VecGoogleConfig = {
505
531
/** The API endpoint to use without a leading scheme such as `http://`. */
506
532
apiEndpoint ?: string ;
533
+ /** The dimensionality of the vector once embedded. */
534
+ dimensions ?: number ;
507
535
/** The model ID to use. */
508
536
model ?: string ;
509
537
/** The model ID to use.
@@ -517,6 +545,13 @@ export type Text2VecGoogleConfig = {
517
545
vectorizeCollectionName ?: boolean ;
518
546
} ;
519
547
548
+ export type Text2VecGoogleAiStudioConfig = {
549
+ /** The model ID to use. */
550
+ model ?: string ;
551
+ /** The Weaviate property name for the `gecko-002` or `gecko-003` model to use as the title. */
552
+ titleProperty ?: string ;
553
+ } ;
554
+
520
555
/**
521
556
* The configuration for text vectorization using the Transformers module.
522
557
*
@@ -579,10 +614,18 @@ export type Text2VecModel2Vec = {
579
614
vectorizeCollectionName ?: boolean ;
580
615
} ;
581
616
617
+ export type Text2VecMorphConfig = {
618
+ /** The base URL to use where API requests should go. */
619
+ baseURL ?: string ;
620
+ /** The model to use. */
621
+ model ?: string ;
622
+ } ;
623
+
582
624
export type NoVectorizerConfig = { } ;
583
625
584
626
export type VectorizerConfig =
585
627
| Img2VecNeuralConfig
628
+ | Multi2VecAWSConfig
586
629
| Multi2VecClipConfig
587
630
| Multi2VecBindConfig
588
631
| Multi2VecGoogleConfig
@@ -652,6 +695,8 @@ export type VectorizerConfigType<V> = V extends 'img2vec-neural'
652
695
? Text2VecMistralConfig | undefined
653
696
: V extends 'text2vec-model2vec'
654
697
? Text2VecModel2Vec | undefined
698
+ : V extends 'text2vec-morph'
699
+ ? Text2VecMorphConfig | undefined
655
700
: V extends 'text2vec-ollama'
656
701
? Text2VecOllamaConfig | undefined
657
702
: V extends 'text2vec-openai'
0 commit comments