Skip to main content

Crate sm_chat

Crate sm_chat 

Source

Structs§

ChatMessage
Represents a chat message.

Functions§

format_message
Formats a chat message for display.
get_endpoint
Generates a full URL to the SuperMaker AI chat service for a given path.
sanitize_input
Sanitizes a user’s input to prevent potential issues. This is a basic example and should be enhanced for real-world use.