Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/dynamic rag support #1377

Open
wants to merge 13 commits into
base: main
Choose a base branch
from
Open

Conversation

tsmith023
Copy link
Collaborator

No description provided.

@weaviate-git-bot
Copy link

Great to see you again! Thanks for the contribution.

beep boop - the Weaviate bot 👋🤖

PS:
Are you already a member of the Weaviate Slack channel?

@tsmith023 tsmith023 marked this pull request as ready for review November 1, 2024 13:22
@tsmith023 tsmith023 requested a review from a team as a code owner November 1, 2024 13:22
Copy link
Collaborator

@dirkkul dirkkul left a comment

Choose a reason for hiding this comment

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

Looks nice!

temperature=temperature,
top_p=top_p,
is_azure=is_azure or False,
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

should we have a "custom" method? 🤔 Mainly thinking about the generative-dummy module

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

The problem with a custom provider is the strong typing of the protobuf message. I think it would work if we had some parsing on the server-side to handle a JSON object but since we don't have that it wouldn't be useful at this stage. I think adding a dummy method would make sense

temperature=temperature,
top_p=top_p,
is_azure=is_azure or False,
)
Copy link
Collaborator

Choose a reason for hiding this comment

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

How would you implement image/video generation for an existing provider? XXX_image(...)?

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 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

codecov-commenter commented Feb 17, 2025

Codecov Report

Attention: Patch coverage is 82.83262% with 40 lines in your changes missing coverage. Please review.

Project coverage is 88.19%. Comparing base (efd9955) to head (75fc405).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
weaviate/collections/classes/generative.py 85.10% 28 Missing ⚠️
integration/test_collection_openai.py 37.50% 5 Missing ⚠️
weaviate/collections/classes/internal.py 72.72% 3 Missing ⚠️
weaviate/collections/grpc/query.py 57.14% 3 Missing ⚠️
weaviate/collections/queries/base.py 83.33% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1377      +/-   ##
==========================================
- Coverage   88.25%   88.19%   -0.07%     
==========================================
  Files         186      187       +1     
  Lines       15875    16098     +223     
==========================================
+ Hits        14011    14198     +187     
- Misses       1864     1900      +36     

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

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.

4 participants