chatwoot-develop/enterprise/lib/captain/response_schema.rb

8 lines
365 B
Ruby
Executable File

# TODO: Wrap the schema lib under ai-agents
# So we can extend it as Agents::Schema
class Captain::ResponseSchema < RubyLLM::Schema
string :response, description: 'The message to send to the user'
string :reasoning, description: "Agent's thought process"
string :sentiment, description: "The user's sentiment (e.g., neutral, positive, frustrated, angry)"
end