Skip to main content

Module chatbot

Module chatbot 

Source

Structsยง

ChatbotToolResponse
CourseMaterialChatbotApiDoc ๐Ÿ”’
SendChatbotMessage

Functionsยง

_add_routes
Add a route for each controller in this module.
authorize_access_to_conversation ๐Ÿ”’
Checks that the caller may use this chatbot and that the conversation is theirs, and collects the context a turn of it needs.
current_conversation_info ๐Ÿ”’
POST /api/v0/course-material/course-modules/chatbot/:chatbot_configuration_id/conversations/current
get_default_chatbot_configuration_for_course ๐Ÿ”’
GET /api/v0/course-material/course-modules/chatbot/default-for-course/:course-id
new_conversation ๐Ÿ”’
POST /api/v0/course-material/course-modules/chatbot/:chatbot_configuration_id/conversations/new
send_message ๐Ÿ”’
POST /api/v0/course-material/chatbot/:chatbot_configuration_id/conversations/:conversation_id/send-message
tool_response ๐Ÿ”’
POST /api/v0/course-material/chatbot/:chatbot_configuration_id/conversations/:conversation_id/tool-response