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

NLQ-to-VDS Tool #20

Open
stephenlprice opened this issue Sep 16, 2024 · 0 comments
Open

NLQ-to-VDS Tool #20

stephenlprice opened this issue Sep 16, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@stephenlprice
Copy link
Collaborator

Convert the NLQ-to-VDS prompt into a langchain tool - https://python.langchain.com/v0.1/docs/modules/model_io/chat/function_calling/

why?

  1. This will allow us to build a true agentic workflow as opposed to the static chain implementation that we have right now.
  2. This should help reduce hallucination and generation of incorretly-syntaxed JSON

Definition of Done
I can define an agent using Langchain's react_agent class, and I can declare nlq-to-vds as an available tool. I can pass a natural language query and Tableau Published Data Source metadata to the ReAct agent. The agent will invoke the nlq-to-vds tool and output syntactically correct structured JSON that could be passed through the query-datasource endpoint exposed by VizQL Data Service.

@stephenlprice stephenlprice converted this from a draft issue Sep 16, 2024
@stephenlprice stephenlprice added the enhancement New feature or request label Sep 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Ready
Development

No branches or pull requests

1 participant