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

Best Way to Enable Multi-Database Selection in H2O GPT? #1925

Open
BhoomikaMuralidhara opened this issue Jan 21, 2025 · 0 comments
Open

Best Way to Enable Multi-Database Selection in H2O GPT? #1925

BhoomikaMuralidhara opened this issue Jan 21, 2025 · 0 comments

Comments

@BhoomikaMuralidhara
Copy link

Hello,
I’m trying to implement a feature in H2O GPT where users can select multiple databases in real-time using checkboxes, and the system queries all selected databases dynamically as the selection changes. My goals are:

Allow users to select or deselect databases (via checkboxes) dynamically.
Perform queries in real-time based on the current selection.
Combine results from all selected databases into a single response.
I’m working with the evaluate_nochat function and want to modify:

langchain_mode to support multi-selection (as a list).
Query logic to dynamically loop through the selected databases and update results in real-time.
If anyone has experience with real-time query updates or can suggest the best approach to achieve this, I’d really appreciate your insights!

Thanks in advance!

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

No branches or pull requests

1 participant