File tree Expand file tree Collapse file tree
agents/matmaster_agent/document_parser_agent Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Document Parser Agent
1+ # Document Parser Agent
Original file line number Diff line number Diff line change @@ -52,4 +52,4 @@ def __init__(self, llm_config):
5252
5353def init_document_parser_agent (llm_config ) -> BaseAgent :
5454 """Initialize Document Parser Agent"""
55- return DocumentParserAgent (llm_config )
55+ return DocumentParserAgent (llm_config )
Original file line number Diff line number Diff line change 11from agents .matmaster_agent .constant import CURRENT_ENV
22
3- DocumentParserAgentName = " document_parser_agent"
3+ DocumentParserAgentName = ' document_parser_agent'
44
5- if CURRENT_ENV in [" test" , " uat" ]:
6- DocumentParserServerUrl = " http://pfmx1355864.bohrium.tech:50005/sse"
5+ if CURRENT_ENV in [' test' , ' uat' ]:
6+ DocumentParserServerUrl = ' http://pfmx1355864.bohrium.tech:50005/sse'
77else :
8- DocumentParserServerUrl = " https://document-parser-uuid1758175282.app-space.dplink.cc/sse?token=4c9924cbb1b94bd5b74758a105e11024"
8+ DocumentParserServerUrl = ' https://document-parser-uuid1758175282.app-space.dplink.cc/sse?token=4c9924cbb1b94bd5b74758a105e11024'
Original file line number Diff line number Diff line change 55# MCP Server URL is in constant.py
66
77# Agent Names
8- DocumentParserAgentName = " document_parser_agent"
9- DocumentParserSubmitAgentName = " document_parser_submit_agent"
10- DocumentParserSubmitCoreAgentName = " document_parser_submit_core_agent"
11- DocumentParserSubmitRenderAgentName = " document_parser_submit_render_agent"
12- DocumentParserResultAgentName = " document_parser_result_agent"
13- DocumentParserResultCoreAgentName = " document_parser_result_core_agent"
14- DocumentParserResultTransferAgentName = " document_parser_result_transfer_agent"
15- DocumentParserTransferAgentName = " document_parser_transfer_agent"
8+ DocumentParserAgentName = ' document_parser_agent'
9+ DocumentParserSubmitAgentName = ' document_parser_submit_agent'
10+ DocumentParserSubmitCoreAgentName = ' document_parser_submit_core_agent'
11+ DocumentParserSubmitRenderAgentName = ' document_parser_submit_render_agent'
12+ DocumentParserResultAgentName = ' document_parser_result_agent'
13+ DocumentParserResultCoreAgentName = ' document_parser_result_core_agent'
14+ DocumentParserResultTransferAgentName = ' document_parser_result_transfer_agent'
15+ DocumentParserTransferAgentName = ' document_parser_transfer_agent'
1616
1717# Agent Descriptions
18- DocumentParserAgentDescription = " Document parser agent for extracting materials science data from documents"
18+ DocumentParserAgentDescription = ' Document parser agent for extracting materials science data from documents'
1919
2020# Agent Instructions
2121DocumentParserAgentInstruction = """
You can’t perform that action at this time.
0 commit comments