-
Notifications
You must be signed in to change notification settings - Fork 649
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Overview
We want to introduce an AI-powered chat interface that allows users to:
- Select a data source.
- Ask natural language questions about the data.
- Receive AI-generated responses.
This component should work similarly to ChatGPT
Adding a new component
https://docs.preswald.com/addnewcomponent
Changes Required
-
Create
chat.pyin preswald components. -
Expose
chatas a Preswald component:from preswald import chat chat(source="sample_csv") # Queries 'sample_csv' chat() # Defaults to all sources
-
Integrate with an open-source chat UI, such as Assistant UI. -- evaluate if this is a good option otherwise build our own
-
Ensure backend integration for handling chat queries (with duckdb)
Testing
- Run
preswald tutorialand verify that users can ask questions and receive answers. - Ensure responses are accurate
Update Documentation
- Document
chatusage indocs, with examples and screenshots. - Add an example to
preswald/tutorialdemonstrating how to use the chat interface.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request