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
Adds `text2vec-digitalocean` to the `Vectorizers` enum and exposes
factory methods on `Configure.Vectorizer`, `Configure.NamedVectors`,
and `Configure.Vectors`. The module accepts an optional `base_url`
(server default `https://inference.do-ai.run`) and a `model`
(required by the server, e.g. `qwen3-embedding-0.6b`).
The shape mirrors `text2vec-mistral` exactly (model + baseURL +
vectorizeClassName), so serialization, URL normalization, and the
existing _to_dict baseURL-stripping path are reused unchanged.
Closes#2038
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
"""Create a named vector using the `text2vec-digitalocean` model.
373
+
374
+
See the [documentation](https://weaviate.io/developers/weaviate/model-providers/digitalocean/embeddings)
375
+
for detailed usage.
376
+
377
+
Args:
378
+
name: The name of the named vector.
379
+
base_url: The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default of `https://inference.do-ai.run`.
380
+
model: The model to use, e.g. `qwen3-embedding-0.6b`. This is a required field on the server.
381
+
source_properties: Which properties should be included when vectorizing. By default all text properties are included.
382
+
vector_index_config: The configuration for Weaviate's vector index. Use wvc.config.Configure.VectorIndex to create a vector index configuration. None by default
383
+
vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`.
"""Create a `_Text2VecDigitalOceanConfig` object for use when vectorizing using the `text2vec-digitalocean` model.
1111
+
1112
+
See the [documentation](https://weaviate.io/developers/weaviate/model-providers/digitalocean/embeddings)
1113
+
for detailed usage.
1114
+
1115
+
Args:
1116
+
base_url: The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default of `https://inference.do-ai.run`.
1117
+
model: The model to use, e.g. `qwen3-embedding-0.6b`. This is a required field on the server.
1118
+
vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`.
"""Create a vector using the `text2vec-digitalocean` module.
636
+
637
+
See the [documentation](https://weaviate.io/developers/weaviate/model-providers/digitalocean/embeddings)
638
+
for detailed usage.
639
+
640
+
Args:
641
+
name: The name of the vector.
642
+
quantizer: The quantizer to use for the vector index. If not provided, no quantization will be applied.
643
+
base_url: The base URL to use where API requests should go. Defaults to `None`, which uses the server-defined default of `https://inference.do-ai.run`.
644
+
model: The model to use, e.g. `qwen3-embedding-0.6b`. This is a required field on the server.
645
+
source_properties: Which properties should be included when vectorizing. By default all text properties are included.
646
+
vector_index_config: The configuration for Weaviate's vector index. Use `wvc.config.Configure.VectorIndex` to create a vector index configuration. None by default
647
+
vectorize_collection_name: Whether to vectorize the collection name. Defaults to `True`.
0 commit comments