Skip to content

Commit 129b9a5

Browse files
committed
Make model a required parameter for text2vec-aws
1 parent fc57e55 commit 129b9a5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weaviate/collections/classes/config_vectors.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -652,7 +652,7 @@ def text2vec_aws(
652652
name: Optional[str] = None,
653653
quantizer: Optional[_QuantizerConfigCreate] = None,
654654
endpoint: Optional[str] = None,
655-
model: Optional[Union[AWSModel, str]] = None,
655+
model: Optional[Union[AWSModel, str]],
656656
region: str,
657657
service: Union[AWSService, str] = "bedrock",
658658
source_properties: Optional[List[str]] = None,
@@ -668,7 +668,7 @@ def text2vec_aws(
668668
name: The name of the vector.
669669
quantizer: The quantizer to use for the vector index. If not provided, no quantization will be applied.
670670
endpoint: The endpoint to use. Defaults to `None`, which uses the server-defined default.
671-
model: The model to use.
671+
model: The model to use, REQUIRED.
672672
region: The AWS region to run the model from, REQUIRED.
673673
service: The AWS service to use. Defaults to `bedrock`.
674674
source_properties: Which properties should be included when vectorizing. By default all text properties are included.

0 commit comments

Comments
 (0)