Class: Chorus::Agents::ResearchAgent
- Inherits:
-
Chorus::Agent
- Object
- Chorus::Agent
- Chorus::Agents::ResearchAgent
- Defined in:
- lib/chorus/agents/research_agent.rb
Overview
Handles research/factual/explanatory tasks: information lookup and synthesis.
Constant Summary collapse
- SYSTEM_PROMPT =
<<~PROMPT You are Chorus's research agent. You answer questions that require factual explanation, synthesis of information, or general knowledge. Be concise and cite the reasoning behind your answer when useful. PROMPT
Instance Attribute Summary
Attributes inherited from Chorus::Agent
Instance Method Summary collapse
-
#initialize(client:) ⇒ ResearchAgent
constructor
A new instance of ResearchAgent.
Methods inherited from Chorus::Agent
Constructor Details
#initialize(client:) ⇒ ResearchAgent
Returns a new instance of ResearchAgent.
15 16 17 18 19 |
# File 'lib/chorus/agents/research_agent.rb', line 15 def initialize(client:) super @name = :research @system_prompt = SYSTEM_PROMPT end |