Skip to content

revoice_service

Agent Re-Voice service module

Classes

ReVoiceService

ReVoiceService(
    sa_session: SASession, neo4j_session: NJSession
)

Bases: BaseService

Functions

re_voice
re_voice(
    namespace: str,
    agent: str,
    source_collection: str,
    task_id: str | None = None,
    enable_source_memory: bool = True,
    source_top_k_vectors: int = 10,
    source_relevance_alpha: float = 1.0,
    source_importance_alpha: float = 0.0,
    source_recency_alpha: float = 0.0,
    source_min_score: float = 0.6,
    source_max_memories: int = 5,
    source_max_memory_strategy: str = "HARD_LIMIT",
    enable_agent_memory: bool = True,
    agent_top_k_vectors: int = 10,
    agent_relevance_alpha: float = 1.0,
    agent_importance_alpha: float = 0.2,
    agent_recency_alpha: float = 0.0,
    agent_min_score: float = 0.4,
    agent_max_memories: int = 5,
    agent_max_memory_strategy: str = "HARD_LIMIT",
    memory_txt_context: str | None = None,
    vector_txt_context: str | None = None,
    min_revoice_tries: int = 6,
    task_queue: str | None = None,
    task_tags: List[str] | None = None,
    trace_session_id: str | None = None,
    trace_tags: List[str] | None = None,
) -> None

Functions