ontocast.agent.convert_document
¶
Document conversion agent for OntoCast.
This module provides functionality for converting various document formats into structured data that can be processed by the OntoCast system.
convert_document(state, tools)
¶
Convert a document into structured data.
This function takes a document and converts it into a structured format that can be processed by the OntoCast system.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
state
|
AgentState
|
The current agent state containing the document to convert. |
required |
tools
|
ToolBox
|
The toolbox instance providing utility functions. |
required |
Returns:
Name | Type | Description |
---|---|---|
AgentState |
AgentState
|
Updated state with converted document data. |