Data Characteristics in this Category
Supplier audit data primarily comes from audit reports, qualification documents, historical collaboration records, and third-party evaluation reports. The update frequency of this data varies. Qualification documents may update annually, audit reports generate per project or cycle, and historical records accumulate continuously. Document structures typically include standardized sections like audit scope, findings, and corrective and preventive actions (CAPA), but also contain significant amounts of unstructured text. Common fields include supplier name, audit date, auditor, description of findings, severity level, CAPA status, and completion date. Units involve dates, text descriptions, and enumerated status codes.
Constraints Imposed by these Characteristics on Tool Calling and Plugins
The heterogeneous and semi-structured nature of supplier audit data requires robust text parsing capabilities for tool calling and plugins. For example, extracting key findings and CAPA details from audit reports necessitates precise identification of entities and relationships within the text. Due to varying data update frequencies, tools need to call the latest data sources on demand for supplier evaluation, such as retrieving real-time qualification statuses via API. The diversity of enumerated status codes and date formats in fields demands data validation and standardization from plugins. Furthermore, complex logical judgments during the audit process, like automatically triggering specific workflows based on the severity of findings, require tool calling to orchestrate multi-step operations and handle intermediate states.
Configuration Recommendations
| Configuration Item | Recommended Value | Rationale |
|---|---|---|
maxContext | 16000 tokens | Audit reports and qualification documents often contain extensive text, requiring a sufficiently large context window for processing. |
toolCallTimeout | 600 seconds | External API calls (e.g., fetching third-party evaluations) can be time-consuming; avoid interruptions due to timeouts. |
maxTokens | 4000 tokens | Ensures that detailed audit results or CAPA descriptions returned by the tool are fully presented. |
pluginRetryCount | 3 times | External services may experience occasional failures; a retry mechanism increases success rates. |
jsonParseMode | Strict | Ensures that structured data (e.g., supplier qualifications) obtained from external systems strictly conforms to the expected format. |
Three Common Mistakes
- Tool call returns
HTTP 401 Unauthorizederror: This indicates an incorrect or expired API Key in theAuthorizationheader. - After workflow execution, knowledge base search results contain a large amount of irrelevant information: The
similarity thresholdmight be set too low, leading to the retrieval of documents not directly related to supplier audits. - Plugin executes successfully, but a critical field in the returned result is empty: The path expression (
JSONPathorXPath) used by the plugin to parse the external system's response did not accurately match the target data.
How to Confirm Proper Configuration
- Use FastGPT's debugging interface to observe tool call logs and confirm that the status code for each external API request is
200 OK. - Create a simulated supplier audit scenario dialogue. Check if the model's response accurately references specific data points from tool calls, such as the supplier's latest qualification update date.
- For audit logic involving complex conditional judgments, design multiple test cases to verify if tool calls trigger the correct subsequent operations under different inputs.
The values provided are common starting points and should be measured against your own samples.
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-21.