Repository navigation
Add support for new generative-digitalocean module #2149
Description
Activity
- addedneeds-mirrorissues with this label will be mirrored to the other Weaviate client reposissues with this label will be mirrored to the other Weaviate client repos
on Aug 27, 2026 Hi @antas-marcin — I'd like to take this on. I checked python-client
mainat0791933and the current servergenerative.proto. The implementation appears to require: (1)GenerativeSearches.DIGITALOCEANplusConfigure.Generative.digitalocean(...)for collection configuration, (2) a runtime_GenerativeDigitalOcean/GenerativeConfig.digitalocean(...)mapping toGenerativeProvider.digitalocean, includingstopasTextArray, (3) refreshed protobuf bindings for the supported protobuf runtimes, and (4) focused coverage intest_config.pyandtest_classes_generative.pyplus the changelog. I also confirmed there is currently no open DigitalOcean PR. One question before I start: servermainnow also containsGenerativeMeta, added after this issue. Would you prefer the protobuf refresh to include both new wire types while keeping the public Python API changes in this PR DigitalOcean-only, or should I pin generation to the DigitalOcean proto commit so the generated diff stays isolated?Hi @denis-samatov, thanks for volunteering 😄
Just one warning, this task is time critical, we would like to have it shipped before the end of this week. If you do decide to take this on, please check "Allow edits from maintainers" when creating the PR so I can make edits directly and get it over the finish line fast. And if the timeline doesn't work for you, just say so and I'll cover it, you can also take on another issue that suits you.
On the proto question: regenerate from the tip of
main(weaviate/proto/v1/regen.sh) and let the generated files include bothGenerativeDigitalOceanandGenerativeMeta. Keep the public Python API changes DigitalOcean-only.Reacted by Denis SamatovHi @denis-samatov! Thanks again for the contribution. You need to post a comment in your PR agreeing to the CLA.
Reacted by Denis Samatov
This is a new module that will come out with latest v1.37+ Weaviate versions:
Here are the links to proto messages:
GenerativeDigitalOcean
GenerativeDigitalOceanMetadata
Available settings are:
baseURL - string (defaults to: https://inference.do-ai.run)
model - string (defaults to: llama-4-maverick)
temperature - *float64
topP - *float64
maxTokens - *int
frequencyPenalty - *float64
presencePenalty - *float64
stop - []string