You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The openai spec for chatbots has become the standard for llms, we should support messages in that format (which is essentially a list of dictionaries) for the gr.Chatbot.
The text was updated successfully, but these errors were encountered:
I realized that this is actually not as advantageous as I thought. The main bottleneck when using gr.ChatInterface is that the history needs to be converted from the format it is stored by the gr.Chatbot to a format that is acceptable by openai/langchain. We could make the switch but then we'd be pretty vendor-specific and it would not be backwards-compatible.
The
openai
spec for chatbots has become the standard for llms, we should support messages in that format (which is essentially a list of dictionaries) for thegr.Chatbot
.The text was updated successfully, but these errors were encountered: