MCPcopy Create free account

hub / github.com/DhruvAtreja/datavisualization_langgraph / functions

Functions74 in github.com/DhruvAtreja/datavisualization_langgraph

↓ 10 callersMethodinvoke
(self, prompt: ChatPromptTemplate, **kwargs)
backend_py/my_agent/LLMManager.py:8
↓ 10 callersMethodinvoke
( prompt: ChatPromptTemplate, kwargs: Record<string, any> )
backend_js/my_agent/LLMManager.ts:15
↓ 4 callersMethod_format_other_visualizations
(self, visualization, question, sql_query, results)
backend_py/my_agent/DataFormatter.py:202
↓ 4 callersMethod_format_other_visualizations
( visualization: string, question: string, sql_query: string, results: any )
backend_js/my_agent/DataFormatter.ts:316
↓ 3 callersMethodget_schema
Retrieve the database schema.
backend_py/my_agent/DatabaseManager.py:10
↓ 3 callersMethodget_schema
(uuid: string)
backend_js/my_agent/DatabaseManager.ts:13
↓ 2 callersMethodcreate_workflow
Create and configure the workflow graph.
backend_py/my_agent/WorkflowManager.py:12
↓ 2 callersMethodcreate_workflow
()
backend_js/my_agent/WorkflowManager.ts:19
↓ 2 callersMethodexecute_query
Execute SQL query on the remote database and return results.
backend_py/my_agent/DatabaseManager.py:21
↓ 2 callersMethodexecute_query
(uuid: string, query: string)
backend_js/my_agent/DatabaseManager.ts:29
↓ 1 callersMethod_format_bar_data
(self, results, question)
backend_py/my_agent/DataFormatter.py:166
↓ 1 callersMethod_format_bar_data
( results: any, question: string )
backend_js/my_agent/DataFormatter.ts:264
↓ 1 callersMethod_format_line_data
(self, results, question)
backend_py/my_agent/DataFormatter.py:42
↓ 1 callersMethod_format_line_data
( results: any, question: string )
backend_js/my_agent/DataFormatter.ts:79
↓ 1 callersMethod_format_scatter_data
(self, results)
backend_py/my_agent/DataFormatter.py:129
↓ 1 callersMethod_format_scatter_data
( results: any )
backend_js/my_agent/DataFormatter.ts:210
↓ 1 callersFunctionconvertCsvToSqlite
(csvFilePath, sqliteFilePath)
sqlite_server/routes/ProjectRoutes.js:70
↓ 1 callersFunctionhandleQuestionClick
(question: string)
frontend/src/components/playground/Playground.tsx:154
↓ 1 callersFunctionprocessTable
(index)
sqlite_server/routes/ProjectRoutes.js:206
↓ 1 callersMethodreturnGraph
(self)
backend_py/my_agent/WorkflowManager.py:40
↓ 1 callersMethodreturnGraph
()
backend_js/my_agent/WorkflowManager.ts:46
↓ 1 callersFunctiontriggerFileInput
()
frontend/src/components/UploadButton.tsx:28
FunctionApp
({ Component, pageProps }: AppProps)
frontend/src/pages/_app.tsx:7
FunctionBarGraph
({ data })
frontend/src/components/graphs/BarGraph.tsx:28
FunctionForm
({ selectedQuestion, setSelectedQuestion, onFormSubmit, disabled }: FormProps)
frontend/src/components/playground/Form.tsx:10
FunctionHome
()
frontend/src/pages/index.tsx:7
FunctionHorizontalBarGraph
({ data })
frontend/src/components/graphs/HorizontalBarGraph.tsx:19
FunctionLineGraph
({ data })
frontend/src/components/graphs/LineGraph.tsx:108
FunctionLogo
({ setGraphState }: { setGraphState: (graphState: GraphState | null) => void })
frontend/src/components/Logo.tsx:5
FunctionPieChartComponent
({ data })
frontend/src/components/graphs/PieChart.tsx:20
FunctionPlayground
()
frontend/src/components/playground/Playground.tsx:36
FunctionQuestionDisplay
({ displayedQuestions, handleQuestionClick, }: { displayedQuestions: string[] handleQuestionClick: (qu
frontend/src/components/playground/QuestionDisplay.tsx:1
FunctionScatterPlot
({ data })
frontend/src/components/graphs/ScatterPlot.tsx:67
FunctionSidebar
({ graphState, onClose })
frontend/src/components/playground/Sidebar.tsx:10
FunctionStream
({ graphState }: { graphState: GraphState })
frontend/src/components/playground/Stream.tsx:4
FunctionStreamRow
({ heading, information }: { heading: string; information: string })
frontend/src/components/playground/StreamRow.tsx:3
FunctionUploadButton
({ onFileUpload, disabled })
frontend/src/components/UploadButton.tsx:8
Method__init__
(self)
backend_py/my_agent/DataFormatter.py:8
Method__init__
(self)
backend_py/my_agent/LLMManager.py:5
Method__init__
(self)
backend_py/my_agent/DatabaseManager.py:7
Method__init__
(self)
backend_py/my_agent/WorkflowManager.py:8
Method__init__
(self)
backend_py/my_agent/SQLAgent.py:7
FunctionbuildEslintCommand
(filenames)
frontend/.lintstagedrc.js:4
Methodchoose_visualization
Choose an appropriate visualization for the data.
backend_py/my_agent/SQLAgent.py:229
Methodchoose_visualization
(state: State)
backend_js/my_agent/SQLAgent.ts:299
Methodconstructor
()
backend_js/my_agent/DataFormatter.ts:8
Methodconstructor
()
backend_js/my_agent/DatabaseManager.ts:6
Methodconstructor
()
backend_js/my_agent/LLMManager.ts:7
Methodconstructor
()
backend_js/my_agent/WorkflowManager.ts:10
Methodconstructor
()
backend_js/my_agent/SQLAgent.ts:11
FunctiondeleteOldFiles
()
sqlite_server/routes/ProjectRoutes.js:32
Methodexecute_sql
Execute SQL query and return results.
backend_py/my_agent/SQLAgent.py:199
Methodexecute_sql
(state: State)
backend_js/my_agent/SQLAgent.ts:255
Methodformat_data_for_visualization
Format the data for the chosen visualization type.
backend_py/my_agent/DataFormatter.py:12
Methodformat_data_for_visualization
( state: Record<string, any> )
backend_js/my_agent/DataFormatter.ts:20
Methodformat_results
Format query results into a human-readable response.
backend_py/my_agent/SQLAgent.py:213
Methodformat_results
(state: State)
backend_js/my_agent/SQLAgent.ts:271
Methodgenerate_sql
Generate SQL query based on parsed question and unique nouns.
backend_py/my_agent/SQLAgent.py:65
Methodgenerate_sql
(state: State)
backend_js/my_agent/SQLAgent.ts:94
Methodget_unique_nouns
Find unique nouns in relevant tables and columns.
backend_py/my_agent/SQLAgent.py:44
Methodget_unique_nouns
(state: State)
backend_js/my_agent/SQLAgent.ts:65
FunctionhandleClick
()
frontend/src/components/UploadButton.tsx:32
FunctionhandleClickOutside
(event: MouseEvent)
frontend/src/components/playground/Playground.tsx:142
FunctionhandleClose
()
frontend/src/components/playground/Sidebar.tsx:17
FunctionhandleFileChange
(event: React.ChangeEvent<HTMLInputElement>)
frontend/src/components/UploadButton.tsx:12
FunctionhandleSubmit
(e: React.FormEvent<HTMLFormElement>)
frontend/src/components/playground/Form.tsx:13
Functionhandler
(req: any, res: any)
frontend/src/pages/api/run.ts:3
Methodparse_question
Parse user question and identify relevant tables and columns.
backend_py/my_agent/SQLAgent.py:11
Methodparse_question
(state: State)
backend_js/my_agent/SQLAgent.ts:24
Methodrun_sql_agent
Run the SQL agent workflow and return the formatted answer and visualization recommendation.
backend_py/my_agent/WorkflowManager.py:43
Methodrun_sql_agent
( question: string, uuid: string )
backend_js/my_agent/WorkflowManager.ts:50
FunctiontoggleSidebar
()
frontend/src/components/playground/Playground.tsx:162
Methodvalidate_and_fix_sql
Validate and fix the generated SQL query.
backend_py/my_agent/SQLAgent.py:127
Methodvalidate_and_fix_sql
(state: State)
backend_js/my_agent/SQLAgent.ts:169