Skip to content

analytical_service

Eleanor Framework Cognitive Analyzer Service Module.

Warning

This module is experimental and may be changed / removed in future versions.

Attributes

Classes

AnalyzeService

AnalyzeService(
    sa_session: SASession, neo4j_session: NJSession
)

Bases: BaseService

Attributes

chain_service instance-attribute
chain_service = ChainService(
    sa_session=sa_session, neo4j_session=neo4j_session
)
collection_dao instance-attribute
collection_dao = MemoryCollectionDao(session=sa_session)
memory_service instance-attribute
memory_service = MemoryService(
    sa_session=sa_session, neo4j_session=neo4j_session
)

Functions

generate
generate(
    inputs: Union[str, List[str]],
    audience: str = "A normal college-educated adult in their early 30s",
    collection_names: List[str] | None = None,
    trace_session_id: str | None = None,
) -> List[Dict | None]

Functions