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

UI Widget Functionality Missing #437

Open
dewang-mistry opened this issue Oct 11, 2024 · 3 comments
Open

UI Widget Functionality Missing #437

dewang-mistry opened this issue Oct 11, 2024 · 3 comments

Comments

@dewang-mistry
Copy link

The latest code update has removed all custom UI widgets that were displayed when requesting stock prices. It appears that all related functionality has been eliminated. Was this removal intentional, or was it a mistake?

@athrael-soju
Copy link

Looks intentional to me and for good reason. This is now a proper, clean template, ready for Next 15 + react 19, among several other goodies.

@dewang-mistry
Copy link
Author

I apologize for my basic questions. I'm new to React and this framework because I focus on data science and machine learning. I'm working on a project where I want to showcase the output of my data in a chat interface using widgets.

Is it possible for me to build the widgets and integrate them into my project? Thank you for your support and for answering my questions.

@jeremyphilemon
Copy link
Collaborator

@dewang-mistry you're right that the previous stock components are missing – we just updated the template, you can read about it here.

The updated template also supports adding widgets, you can try asking the weather for it to show up! Here's the getWeather tool that you can then use to render a <Weather/> component in the chat interface. For your use case, you will have to do the same thing by adding a tool + component to render the output of your data!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants