ontocast.agent.criticise_facts
¶
Fact criticism agent for OntoCast.
This module provides functionality for analyzing and validating facts extracted from text chunks, ensuring their consistency and correctness.
criticise_facts(state, tools)
¶
Analyze and validate facts in the current chunk.
This function performs a critical analysis of the facts in the current chunk, checking for consistency, correctness, and potential issues.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
state
|
AgentState
|
The current agent state containing the chunk to analyze. |
required |
tools
|
ToolBox
|
The toolbox instance providing utility functions. |
required |
Returns:
Name | Type | Description |
---|---|---|
AgentState |
AgentState
|
Updated state with analysis results. |