What the data for this category looks like
Traditional Chinese medicine (TCM) intelligent due diligence report data is primarily sourced from the National Medical Products Administration public database, the Public Service Platform for Traditional Chinese Medicine Circulation Traceability, and public standard documents released by the National Pharmacopoeia Committee. Data update rhythm adjusts according to the corresponding standard revision cycle: pharmacopoeia standards are updated collectively every 5 years, and circulation traceability data is synchronized daily. Single due diligence documents have a fixed structure, including fields such as original source information, morphological description, physical and chemical identification items, content determination results, processing specifications, nature, flavor and meridian tropism, functions and indications, usage and dosage, and storage requirements. Most content determination fields use mg/g as the unit, dimensions in morphological descriptions use centimeters, and weight units use grams.
What constraints these characteristics impose on tool calling and plugins
The fixed professional fields and multi-source nature of TCM due diligence data require tool calls to accurately match standardized field names to avoid result deviations caused by generalized queries. Dependence on multiple data sources requires plugins to separately connect to the National Medical Products Administration database, pharmacopoeia standard library, and traceability platform; authentication parameters for each data source must be configured individually. Fixed unit rules for content determination and morphological descriptions require tool call results to be checked for unit consistency to prevent unit conversion errors. Regularly updated standards require plugins to be configured with an automatic synchronization mechanism to ensure the called standard version matches the latest public content. The long document structure also requires the tool call context window to adapt to complete field reading to prevent key information from being truncated.
Configuration Settings
| Configuration Item | Recommended Value | Rationale |
|---|---|---|
tool_call_max_retries | 2 retries | TCM due diligence data verification requires avoiding process interruption caused by a single failed tool call |
plugin_timeout | 300 seconds | Allocate sufficient request response time when connecting to multiple data sources |
tool_field_matching_mode | Exact matching | TCM fields are highly specialized, and generalized matching easily leads to result deviations |
plugin_auto_sync_interval | 7 days | Adapts to the daily update rhythm of pharmacopoeia standards; high-frequency synchronization is unnecessary |
tool_result_unit_validate | Enabled | TCM data has fixed unit rules, so unit consistency must be verified |
max_tool_call_context | 8000 characters | Adapts to the complete field length of a single TCM due diligence report |
The parameter values provided on this page are all common recommended starting points for configuration. Actual values are affected by material form, data volume and business rules. Specific issues require case-by-case analysis, and testing on local samples is recommended before finalizing settings.
Three Common Mistakes
- An
InternalError.Algo.InvalidParametererror occurs, indicating that the tool call parameter is invalid. The cause is failing to initiate a call using the fixed field names of TCM materials, resulting in parameter mismatch due to use of generalized field names. - A
The tool call is not supportederror occurs. The cause is that the plugin for the corresponding data source is not enabled in the platform, or the plugin authentication configuration is not active. - Inconsistent units appear in the content determination results returned by the tool, such as the use of "gram" instead of the standard unit "mg/g". The cause is that the
tool_result_unit_validateconfiguration is not enabled, so unit consistency of the returned results is not verified.
How to Verify Proper Configuration
- Initiate a tool call request for a specified traditional Chinese medicinal material, and verify that the field names of the returned result completely match the standard fields of the due diligence document.
- Review the plugin management interface to confirm that all connected data source plugins are enabled and authentication configurations are complete.
- Trigger an automatic synchronization task to verify whether the plugin can successfully pull the latest pharmacopoeia standard data.
- Call the tool to obtain the content determination result, and manually verify whether the unit of the returned result conforms to the fixed rules of TCM data.
Question material comes from public community discussions. Configuration values are common starting points and should be measured against your own samples. Verified on 2026-09-14.