-
Notifications
You must be signed in to change notification settings - Fork 990
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
[Task] Make a page to support sse stream return at the back end #2303
Comments
I feel that I can add a small robot on the homepage and then do it in the robot, and I feel that it is not reasonable to do the search box on it |
This is really a good idea, @tomsun28 What do you think? |
good idea👍 |
I'd like to start contributing. |
Hi @Yanshuming1, I have a few questions regarding the requirements:
Thanks! |
1 If you can support this small robot pop-up window on all pages is the best, if not, then you can show it on the home page, that is, the first page to jump into the landing Add one thing:To support sse streaming returns, similar to chatgpt |
Hi @Yanshuming1
Screen.Recording.2024-09-03.at.11.32.31.PM.mov |
Hi @Yanshuming1 |
1 :api configuration you can see in this article:https://hertzbeat.apache.org/docs/help/aiConfig/ |
Or after you complete the requirements, I can help you verify |
Apologies, had to take sometime off... I'll try implement the rest and raise PR by this weekend. |
Hi @Yanshuming1 please check #2727 - I'm unable to config the ai endpoints as I wasn't able to translate the ai config docs |
We can make a small robot floating window on the front page, and after clicking on it, we can make an ai call, as shown in the figure below
After opening, there is a pop-up window, similar to wechat chat
supporting function:
1、Support back-end sse flow return。
2、Similar to wechat chat, you can communicate with ai
3、Can support pop-up full screen, easy to copy ai answer content
request path:/api/ai/get
request param name: text
request param type : string
Task List
No response
The text was updated successfully, but these errors were encountered: