Skip to main content

Module chatbot_conversation_messages

Module chatbot_conversation_messages 

Source

Structs§

ChatbotConversationMessage
ChatbotConversationMessageRow

Enums§

Message

Functions§

answer_hanging_tool_call_messages_for_conversation
Sometimes during chatbot conversation streaming, the stream ends unexpectedly while a tool call has been made but not answered. This happens also with provider tools that we can’t control. In this case, the conversation is left in a state which is invalid, so we need to answer the un-answered tool calls to inform of the failure and continue the conversation.
delete
delete_message_fields
get_by_conversation_id
get_message_fields
insert
insert_for_conversation_user_and_configuration
message_row_to_message
update