Skip to content

Commit

Permalink
Fix docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
tsmith023 committed Jan 14, 2025
1 parent 945740c commit 924d878
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions weaviate/collections/classes/config_named_vectors.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,11 +848,11 @@ def text2vec_azure_openai(
resource_name: str,
deployment_id: str,
*,
vector_index_config: Optional[_VectorIndexConfigCreate] = None,
source_properties: Optional[List[str]] = None,
vectorize_collection_name: bool = True,
base_url: Optional[AnyHttpUrl] = None,
dimensions: Optional[int] = None,
source_properties: Optional[List[str]] = None,
vector_index_config: Optional[_VectorIndexConfigCreate] = None,
vectorize_collection_name: bool = True,
) -> _NamedVectorConfigCreate:
"""Create a named vector using the `text2vec_azure_openai` model.
Expand All @@ -862,6 +862,14 @@ def text2vec_azure_openai(
Arguments:
`name`
The name of the named vector.
`resource_name`
The resource name to use, REQUIRED.
`deployment_id`
The deployment ID to use, REQUIRED.
`base_url`
The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default.
`dimensions`
The dimensionality of the vectors. Defaults to `None`, which uses the server-defined default.
`source_properties`
Which properties should be included when vectorizing. By default all text properties are included.
`vector_index_config`
Expand Down

0 comments on commit 924d878

Please sign in to comment.