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(wren-ai-service): Indexing saved view into document store #218

Merged
merged 13 commits into from
May 9, 2024

Conversation

paopa
Copy link
Member

@paopa paopa commented May 8, 2024

This PR is designed to convert the saved view into the specified format and store it in the document store. Additionally, it lays the groundwork for future functionalities where we can perform searches to retrieve past questions and answers associated with the view (this functionality will be addressed in a subsequent PR). The PR also aims to enhance modularity by extracting functions into separate components and utilizing the Haystack pipeline to manage the entire workflow.

{
	"question":"user original query",
	"description":"the description generated by LLM",
	"statement":"the SQL statement generated by LLM"
}

The flow chart for the indexing process

indexing_pipeline

@paopa paopa added the module/ai-service ai-service related label May 8, 2024
@paopa paopa requested a review from cyyeh May 8, 2024 10:53
@paopa paopa force-pushed the feature/indexing-saved-view branch from 2567f16 to 12160bf Compare May 8, 2024 10:53
@paopa paopa force-pushed the feature/indexing-saved-view branch from f155aea to eedee8e Compare May 9, 2024 08:46
Copy link
Member

@cyyeh cyyeh left a comment

Choose a reason for hiding this comment

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

LGTM

@cyyeh cyyeh merged commit a2fb0c0 into main May 9, 2024
3 checks passed
@cyyeh cyyeh deleted the feature/indexing-saved-view branch May 9, 2024 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
module/ai-service ai-service related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants