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

Can you please provide an example? #1

Open
IamExperimenting opened this issue Jan 31, 2024 · 1 comment
Open

Can you please provide an example? #1

IamExperimenting opened this issue Jan 31, 2024 · 1 comment

Comments

@IamExperimenting
Copy link

Hey team, thanks for this amazing paper. Can you please also provide us some examples so we can understand how to integrate with our database and LLM models(OpenAI)

Thanks

@tshu-w tshu-w assigned tshu-w and unassigned tshu-w Feb 1, 2024
@tshu-w
Copy link
Owner

tshu-w commented Feb 1, 2024

Hello, thank you for your interest.

To train a router suitable for your database, you need to: 1. build a schema graph, 2. use the schema questioning model to ask questions about sampled schemas, and 3. train the schema router on synthesized data.
After that, for a new question, use the schema router to navigate the schema, and then provide the question and schema together to LLMs like OpenAI. For a detailed process, please refer to the paper.
I have been quite busy recently, so there won't be a demo in this month.

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

2 participants