Skip to content

Add generative search functionality and related models#128

Merged
mpartipilo merged 13 commits intomvpfrom
feat/generate
Oct 9, 2025
Merged

Add generative search functionality and related models#128
mpartipilo merged 13 commits intomvpfrom
feat/generate

Conversation

@mpartipilo
Copy link
Collaborator

@mpartipilo mpartipilo commented Sep 29, 2025

Introduce generative search capabilities, including new models for prompts and providers. Enhance existing search methods to support generative features and update protobuf definitions accordingly. Adjust CollectionClient and tests to accommodate these changes.

Copy link

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

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 Secrets high 0   medium 0   low 0   info 0 View in Orca

@mpartipilo mpartipilo force-pushed the feat/generate branch 2 times, most recently from 6d30f87 to 751454d Compare October 1, 2025 17:46
@mpartipilo mpartipilo marked this pull request as ready for review October 1, 2025 17:51
@mpartipilo mpartipilo force-pushed the feat/generate branch 3 times, most recently from a6477a8 to bc8d7e1 Compare October 8, 2025 10:36
- Introduced CombinedSearchResult to encapsulate WeaviateResult, GroupByResult, and GenerativeResult.
- Updated WeaviateGrpcClient to support generative prompts and groupings in search methods.
- Created GenerativeClient to handle generative search requests and responses.
- Defined new models for generative prompts (SinglePrompt, GroupedPrompt) and providers (Anthropic, OpenAI, etc.).
- Enhanced existing search methods to accommodate generative features and return appropriate results.
- Throw WeaviateServerException in Search and Aggregate methods
- Fix Hybrid Search parameters
- Fix FetchObjects filter->filters rename
- Rename filter->filters for consistency
- Refactor connection setup to include OpenAI API key support
- Update generative models to use IList for better dx
- Add new tests for generative results and group by functionality
- Improve handling of generative responses in gRPC client
@mpartipilo mpartipilo merged commit d7520ee into mvp Oct 9, 2025
5 checks passed
@mpartipilo mpartipilo deleted the feat/generate branch October 9, 2025 13:27
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.

2 participants