haystack-core-integrations icon indicating copy to clipboard operation
haystack-core-integrations copied to clipboard

compoment like langchain sql agent

Open DavidSche opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

Provide a component that can extract and generate sql from dialogue questions and answers like langchain sql agent, obtain data in relational databases, and use LLM to perform statistical analysis on the data

Describe the solution you'd like

You can access the data table through the database connection configured by the component, generate the corresponding SQL statement through the description information of the database table and fields, query the data, and then use LLM to perform statistical analysis on the data.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

DavidSche avatar Mar 22 '24 02:03 DavidSche

Hi @DavidSche do you have any pointer to help us understanding how this component should look like? A fully-working langchain app would be best but link to docs or blog posts would be super helpful

masci avatar Mar 22 '24 17:03 masci