- class openssa.deprecated.ssa.ssa.AbstractSSA¶
Bases:
ABC
Abstract class for Small Specialist Agents.
- abstract classmethod train(document_path: str) str ¶
Train a Small Specialist Agent in the backend.
- Args:
document_path (str): Path to the document to train the agent.
- Returns:
str: Training session ID.
- abstract classmethod load(training_session_id: str) AbstractSSA ¶
Load a trained Small Specialist Agent from the backend.
- Args:
training_session_id (str): Training session ID.
- Returns:
AbstractSSA: Trained agent.
- abstract chat(message: str) str ¶
Chat with a Small Specialist Agent.
- class openssa.deprecated.ssa.ssa.BaseSSA¶
Bases:
AbstractSSA
Base class for Small Specialist Agents.
- classmethod train(document_path: str) str ¶
Train a Small Specialist Agent in the backend.
- Args:
document_path (str): Path to the document to train the agent.
- Returns:
str: Training session ID.
- classmethod load(training_session_id: str) AbstractSSA ¶
Load a trained Small Specialist Agent from the backend.
- Args:
training_session_id (str): Training session ID.
- Returns:
AbstractSSA: Trained agent.
- chat(message: str, config: dict = None) str ¶
Chat with a Small Specialist Agent.