@@ -40,10 +40,12 @@ export type Vectorizer =
4040 | 'text2vec-nvidia'
4141 | 'text2vec-mistral'
4242 | 'text2vec-model2vec'
43+ | 'text2vec-morph'
4344 | 'text2vec-ollama'
4445 | 'text2vec-openai'
4546 | Text2VecPalmVectorizer
4647 | 'text2vec-google'
48+ | 'text2vec-google-ai-studio'
4749 | 'text2vec-transformers'
4850 | 'text2vec-voyageai'
4951 | 'text2vec-weaviate'
@@ -93,6 +95,30 @@ export type Multi2VecNvidiaConfig = {
9395 } ;
9496} ;
9597
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+
96122/** The configuration for multi-media vectorization using the CLIP module.
97123 *
98124 * See the [documentation](https://weaviate.io/developers/weaviate/model-providers/transformers/embeddings-multimodal) for detailed usage.
@@ -504,6 +530,8 @@ export type Text2VecPalmConfig = Text2VecGoogleConfig;
504530export type Text2VecGoogleConfig = {
505531 /** The API endpoint to use without a leading scheme such as `http://`. */
506532 apiEndpoint ?: string ;
533+ /** The dimensionality of the vector once embedded. */
534+ dimensions ?: number ;
507535 /** The model ID to use. */
508536 model ?: string ;
509537 /** The model ID to use.
@@ -517,6 +545,13 @@ export type Text2VecGoogleConfig = {
517545 vectorizeCollectionName ?: boolean ;
518546} ;
519547
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+
520555/**
521556 * The configuration for text vectorization using the Transformers module.
522557 *
@@ -579,10 +614,18 @@ export type Text2VecModel2Vec = {
579614 vectorizeCollectionName ?: boolean ;
580615} ;
581616
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+
582624export type NoVectorizerConfig = { } ;
583625
584626export type VectorizerConfig =
585627 | Img2VecNeuralConfig
628+ | Multi2VecAWSConfig
586629 | Multi2VecClipConfig
587630 | Multi2VecBindConfig
588631 | Multi2VecGoogleConfig
@@ -652,6 +695,8 @@ export type VectorizerConfigType<V> = V extends 'img2vec-neural'
652695 ? Text2VecMistralConfig | undefined
653696 : V extends 'text2vec-model2vec'
654697 ? Text2VecModel2Vec | undefined
698+ : V extends 'text2vec-morph'
699+ ? Text2VecMorphConfig | undefined
655700 : V extends 'text2vec-ollama'
656701 ? Text2VecOllamaConfig | undefined
657702 : V extends 'text2vec-openai'
0 commit comments