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
Store the incoming text at /converse endpoint to create a new ChatMessage object (model is already defined). Now create a new serializer called ChatDetailSerializer that gets used only while retrieving a chat (through /chats/<external_id>) that adds a chats field which is a reference to ChatMessageSerializer (which you also have to create) that is a model serializer for ChatMessage.
Now once this is done, update the /converse endpoint such that the previous messages also get chained through langchain.
The text was updated successfully, but these errors were encountered:
Store the incoming text at
/converse
endpoint to create a newChatMessage
object (model is already defined). Now create a new serializer calledChatDetailSerializer
that gets used only whileretrieving
a chat (through/chats/<external_id>
) that adds achats
field which is a reference toChatMessageSerializer
(which you also have to create) that is a model serializer forChatMessage
.Now once this is done, update the /converse endpoint such that the previous messages also get chained through langchain.
The text was updated successfully, but these errors were encountered: