Skip to content

Commit

Permalink
Review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dirkkul committed Mar 14, 2024
1 parent 8ffddb4 commit 9abe115
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
10 changes: 2 additions & 8 deletions weaviate/collections/classes/config_named_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -336,8 +336,6 @@ def multi2vec_clip(
Arguments:
`name`
The name of the named vector.
`source_properties`
Which properties should be included when vectorizing. By default all text properties are included.
`vector_index_config`
The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default
`vectorize_collection_name`
Expand Down Expand Up @@ -381,8 +379,6 @@ def multi2vec_palm(
Arguments:
`name`
The name of the named vector.
`source_properties`
Which properties should be included when vectorizing. By default all text properties are included.
`vector_index_config`
The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default
`vectorize_collection_name`
Expand Down Expand Up @@ -436,8 +432,6 @@ def multi2vec_bind(
Arguments:
`name`
The name of the named vector.
`source_properties`
Which properties should be included when vectorizing. By default all text properties are included.
`vector_index_config`
The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default
`vectorize_collection_name`
Expand Down Expand Up @@ -474,8 +468,8 @@ def ref2vec_centroid(
Arguments:
`name`
The name of the named vector.
`source_properties`
Which properties should be included when vectorizing. By default all text properties are included.
`reference_properties`
The reference properties to use in vectorization, REQUIRED.
`vector_index_config`
The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default
`vectorize_collection_name`
Expand Down
3 changes: 3 additions & 0 deletions weaviate/collections/classes/config_vectorizers.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ class Vectorizers(str, Enum):
Weaviate module backed by a ResNet-50 neural network for images.
`MULTI2VEC_CLIP`
Weaviate module backed by a Sentence-BERT CLIP model for images and text.
`MULTI2VEC_PALM`
Weaviate module backed by a palm model for images and text.
`MULTI2VEC_BIND`
Weaviate module backed by the ImageBind model for images, text, audio, depth, IMU, thermal, and video.
`REF2VEC_CENTROID`
Expand Down Expand Up @@ -884,6 +886,7 @@ def text2vec_jinaai(

@staticmethod
def text2vec_voyageai(
*,
model: Optional[Union[VoyageModel, str]] = None,
base_url: Optional[str] = None,
truncate: Optional[bool] = None,
Expand Down

0 comments on commit 9abe115

Please sign in to comment.