evaluate_service
TextEvolve Evaluate service module
Attributes
Classes
EvaluateService
Bases: BaseService
Attributes
agent_service
instance-attribute
agent_service = AgentService(
sa_session=sa_session, neo4j_session=neo4j_session
)
chain_service
instance-attribute
chain_service = ChainService(
sa_session=sa_session, neo4j_session=neo4j_session
)
memory_collection_service
instance-attribute
memory_collection_service = MemoryCollectionService(
sa_session=sa_session, neo4j_session=neo4j_session
)
memory_service
instance-attribute
memory_service = MemoryService(
sa_session=sa_session, neo4j_session=neo4j_session
)
namespace_service
instance-attribute
namespace_service = NamespaceService(
sa_session=sa_session, neo4j_session=neo4j_session
)
Functions
evaluate_checkmate
evaluate_checkmate(
tasks: Union[
List[EvaluateTaskInput], EvaluateTaskInput
],
profile_ref: str | None = None,
profile_override: EvaluateProfile | None = None,
merge_strategy: MergeStrategyType = "overwrite",
task_tags: List[str] | None = None,
task_queue: str | None = None,
trace_tags: List[str] | None = None,
task_id: str | None = None,
)
Functions
backend_api_initializer
Service initialization function
Parameters:
-
sa_session
(SASession
) –The SQLAlchemy session to be used for database operations.
-
nj_session
(NJSession
) –The Neo4j session to be used for graph database operations.
Returns:
-
None
–None