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

Add Tool Information to the UI #43

Open
6 tasks
berkingurcan opened this issue Feb 16, 2024 · 0 comments
Open
6 tasks

Add Tool Information to the UI #43

berkingurcan opened this issue Feb 16, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request ui

Comments

@berkingurcan
Copy link
Member

zkApp Umstad uses multiple tools like doc, issue, code, project. However, in the UI we cannot see which one is used or using while Umstad preparing answer.

It is difficult to pass tool information to the UI because the POST request returns stream as a StreamingTextResponse type
https://github.com/UmstadAI/zkAppUmstad/blob/main/app/api/chat/route.ts#L175

TODO

  • Find a way to pass tool information(tool or function name is enough) to the UI
  • Implement passing using tool information to the UI in real time or as stream
  • Create Simple and good looking UI component for tool usage in the chat

BONUS TODO

  • Store used tool info to the Vercel KV Database
  • Get stored tool info from the Vercel KV Database while getting Chat
  • Implement also used tools to Chat UI same as todo above.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request ui
Projects
None yet
Development

No branches or pull requests

2 participants