Tab-SE / tableau_langchain

Tableau tools for Agentic use cases with Langchain
7 stars 0 forks source link

Break Up the main Chain into different HeadlessBI Components #35

Open stephenlprice opened 2 weeks ago

stephenlprice commented 2 weeks ago

this chain defines the flow of data through the system chain = active_prompt_template | llm | output_parser | pandas_agent | json_parser

writeData = active_prompt_template | llm | output_parser writeFilters = active_prompt_template | llm | output_parser writeCalcs = active_prompt_template | llm | output_parser requestData = 'deterministic_code'

chain defines the flow of data through the system requestDataTool = writeData | writeFilters | writeCalcs | requestData | pandas_agent | json_parser

this chain defines the flow of data through the system analysisTool = pandas_agent | json_parser