Skip to content

Commit

Permalink
standard - explicit conversation type
Browse files Browse the repository at this point in the history
  • Loading branch information
cobycloud committed Jan 6, 2025
1 parent 4eb29f9 commit d6b90ed
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from swarmauri_standard.messages.HumanMessage import HumanMessage
from swarmauri_standard.messages.SystemMessage import SystemMessage
from swarmauri_standard.messages.AgentMessage import AgentMessage
from swarmauri_standard.conversations.MaxSystemContextConversation import MaxSystemContextConversation

from swarmauri_base.llms.LLMBase import LLMBase
from swarmauri_base.agents.AgentBase import AgentBase
Expand All @@ -26,7 +27,7 @@ class RagAgent(AgentRetrieveMixin,
specialized in retrieving documents based on input queries and generating responses.
"""
llm: SubclassUnion[LLMBase]
conversation: SubclassUnion[ConversationBase]
conversation: MaxSystemContextConversation = MaxSystemContextConversation(system_context="")
vector_store: SubclassUnion[VectorStoreBase]
system_context: Union[SystemMessage, str]
type: Literal['RagAgent'] = 'RagAgent'
Expand Down

0 comments on commit d6b90ed

Please sign in to comment.