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
Copy file name to clipboardExpand all lines: weaviate/collections/classes/config_vectors.py
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -679,7 +679,7 @@ def text2vec_morph(
679
679
quantizer: The quantizer to use for the vector index. If not provided, no quantization will be applied.
680
680
base_url: The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default.
681
681
model: The model to use. Defaults to `None`, which uses the server-defined default.
682
-
endpoint: The endpoint to use. Defaults to `None`, which uses the server-defined default of `/v1/embeddings`.
682
+
endpoint: The API path to append to `base_url`, e.g. `/api/v3/embeddings`. Defaults to `None`, which uses the server-defined default.
683
683
source_properties: Which properties should be included when vectorizing. By default all text properties are included.
684
684
vector_index_config: The configuration for Weaviate's vector index. Use `wvc.config.Configure.VectorIndex` to create a vector index configuration. None by default
685
685
vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`.
@@ -760,7 +760,7 @@ def text2vec_openai(
760
760
quantizer: The quantizer to use for the vector index. If not provided, no quantization will be applied.
761
761
base_url: The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default.
762
762
dimensions: Number of dimensions. Applicable to v3 OpenAI models only. Defaults to `None`, which uses the server-defined default.
763
-
endpoint: The endpoint to use. Defaults to `None`, which uses the server-defined default of `/v1/embeddings`.
763
+
endpoint: The API path to append to `base_url`, e.g. `/api/v3/embeddings`. Defaults to `None`, which uses the server-defined default.
764
764
model: The model to use. Defaults to `None`, which uses the server-defined default.
765
765
model_version: The model version to use. Defaults to `None`, which uses the server-defined default.
766
766
type_: The type of model to use. Defaults to `None`, which uses the server-defined default.
0 commit comments