-
Notifications
You must be signed in to change notification settings - Fork 178
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
feat(opentrons-ai-client): send chat history instead user prompt #15226
Conversation
…nly user prompt sned chat history to the backend instead only user prompt close AUTH-407
|
@koji I think you also need to modify server function such that it accepts list rather currently string? |
wait, server is not updated yet? |
If you see lines 10-11 at |
This will be resolved by #15288 |
Overview
send chat history to the backend instead only user prompt.
The currently opentrons-ai-client sends userPrompt (string) to the backend but we need to send the entire chat history to align with the application on HuggingFace.
https://huggingface.co/spaces/Opentrons/OpentronsAI-v0.0.5/blob/main/flexchatinterface.py
The sample data is in the ticket.
close AUTH-407 AUTH-414
Test Plan
Changelog
Review requests
Risk assessment
low