You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"""Create a named vector using the `multi2vec_cohere` model.
773
+
774
+
See the [documentation](https://weaviate.io/developers/weaviate/model-providers/cohere/embeddings-multimodal)
775
+
for detailed usage.
776
+
777
+
Arguments:
778
+
`name`
779
+
The name of the named vector.
780
+
`vector_index_config`
781
+
The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default
782
+
`vectorize_collection_name`
783
+
Whether to vectorize the collection name. Defaults to `True`.
784
+
`model`
785
+
The model to use. Defaults to `None`, which uses the server-defined default.
786
+
`truncation`
787
+
The truncation strategy to use. Defaults to `None`, which uses the server-defined default.
788
+
`base_url`
789
+
The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default.
790
+
`image_fields`
791
+
The image fields to use in vectorization.
792
+
`text_fields`
793
+
The text fields to use in vectorization.
794
+
795
+
Raises:
796
+
`pydantic.ValidationError` if `model` is not a valid value from the `CohereMultimodalModel` type or if `truncate` is not a valid value from the `CohereTruncation` type.
"""Create a `_Multi2VecCohereConfig` object for use when vectorizing using the `multi2vec-cohere` model.
833
+
834
+
See the [documentation](https://weaviate.io/developers/weaviate/model-providers/cohere/embeddings-multimodal)
835
+
for detailed usage.
836
+
837
+
Arguments:
838
+
`model`
839
+
The model to use. Defaults to `None`, which uses the server-defined default.
840
+
`truncate`
841
+
The truncation strategy to use. Defaults to `None`, which uses the server-defined default.
842
+
`output_encoding`
843
+
Format in which the embeddings are encoded. Defaults to `None`, so the embeddings are represented as a list of floating-point numbers.
844
+
`vectorize_collection_name`
845
+
Whether to vectorize the collection name. Defaults to `True`.
846
+
`base_url`
847
+
The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default.
848
+
`image_fields`
849
+
The image fields to use in vectorization.
850
+
`text_fields`
851
+
The text fields to use in vectorization.
852
+
853
+
Raises:
854
+
`pydantic.ValidationError` if `model` is not a valid value from the `CohereMultimodalModel` type or if `truncate` is not a valid value from the `CohereTruncation` type.
0 commit comments