class openssa.deprecated.ssa.ssa_service.AbstractSSAService

Bases: ABC

abstract classmethod train(document_path) str

Starts a session to train a Small Specialist Agent. Immediately returns the training session ID, which can be used to check the status of the training session, and to retrieve the trained agent when the training session is complete.

class openssa.deprecated.ssa.ssa_service.SSAService

Bases: AbstractSSAService

AIMO_API_URL = 'http://149.28.132.159:8000/api'
AISO_API_KEY = '1234567890'
classmethod train(document_path)

Call the SSA training service endpoint

classmethod chat(message, config=None) str

Chat with a Small Specialist Agent.

class openssa.deprecated.ssa.ssa_service.SSARAGService

Bases: object

classmethod create_rag_agent(agent_id: str, s3_source_path: str, **kwargs)

Call the SSA training service endpoint

classmethod chat(agent_id: str, message: str, **kwargs) str

Chat with a Small Specialist Agent.

classmethod add_knowledge(agent_id: str, message: str) str

Add knowledge to a Small Specialist Agent.