Skip to content

feat(generative): add generative-meta support - #2162

Merged
g-despot merged 1 commit into
mainfrom
feat/generative-meta
Sep 17, 2026
Merged

g-despot merged 1 commit into
mainfrom
feat/generative-meta

Conversation

@g-despot

Copy link
Copy Markdown
Collaborator

Closes #2158

Adds Configure.Generative.meta(...) and GenerativeConfig.meta(...) for the new generative-meta module, and returns its usage metadata. Follows the DigitalOcean addition (#2153); the protos already include GenerativeMeta, so no regen.

reasoning_effort gets its own MetaReasoningEffort literal because Meta accepts none and xhigh, which OpenAI's does not. Images are passed through, since the module supports them.

@orca-security-eu orca-security-eu Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Orca Security Scan Summary

Status Check Issues by priority
Passed Passed Infrastructure as Code high 0   medium 0   low 0   info 0 View in Orca
Passed Passed SAST high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Secrets high 0   medium 0   low 0   info 0 View in Orca
Passed Passed Vulnerabilities high 0   medium 0   low 0   info 0 View in Orca

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 87.27273% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 88.73%. Comparing base (95b5d76) to head (c61bace).
⚠️ Report is 159 commits behind head on main.

Files with missing lines Patch % Lines
weaviate/collections/classes/generative.py 77.41% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2162      +/-   ##
==========================================
+ Coverage   86.64%   88.73%   +2.09%     
==========================================
  Files         300      304       +4     
  Lines       23172    24007     +835     
==========================================
+ Hits        20077    21303    +1226     
+ Misses       3095     2704     -391     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@g-despot
g-despot merged commit 7f4471e into main Sep 17, 2026
247 of 249 checks passed
@g-despot
g-despot deleted the feat/generative-meta branch September 17, 2026 07:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add support for new generative-meta module

3 participants