Issues and Approaches
Challenges Faced
Self-service internal employee inquiries (e.g., IT support Q&A, HR policy lookup) require accurate answers based on a private knowledge base while avoiding LLM hallucinations; yet small and mid-sized teams often lack an in-house algorithm team to build a RAG system, and typically want to go live within 1 weeks. Non-applicable scenarios include ultra-high-concurrency consumer Q&A exceeding 1000,000 requests per day, Q&A involving OCR parsing of large volumes of scanned handwritten documents, and scenarios requiring fully local deployment with no public-network data exchange.
Solutions and Approaches
The solution is based on Volcano Engine Ark Agent Plan v3: 1) Activate a Medium-tier or higher plan to obtain a dedicated Base URL (https://ark.cn-beijing.volces.com/api/plan/v3) and an API Key, and grant knowledge base read/write permissions; 2) Install Volcano Ark Python SDK v1.2.0+ and consistently use the doubao-embedding-vision model for document vectorization, outputting 1536-dimensional vectors—the same knowledge base must always use the same embedding model version; 3) Batch upload Word, PDF, and Markdown documents in the ArkClaw console's Knowledge Center, where the system automatically segments, vectorizes, stores, and associates the knowledge; scanned files must first have text extracted via Volcano Engine OCR, and documents over 500 pages should be split; 4) Create an agent runtime in the AgentKit console, select doubao-pro-4k as the foundation model, configure knowledge base retrieval as the core tool, set top k=3 and similarity threshold=0.7, then publish. Feishu and WeCom can be connected via Webhook. Prerequisites: Python 3.9+/Node.js 16+; estimated time 2–4 hours (excluding document preparation).
System Composition
Core & Platform
Managed agent runtime and knowledge center, providing knowledge base storage, segmentation, vectorized storage, and knowledge association; Base URL is https://ark.cn-beijing.volces.com/api/plan/v3
Vectorizes enterprise documents and outputs 1536-dimensional vectors; per official documentation, Chinese retrieval accuracy can reach 96.2%
Agent foundation model with knowledge base retrieval configured as the core tool, top k=3, similarity threshold=0.7
Business
Batch upload of Word, PDF, and Markdown documents; scanned files are pre-processed with Volcano Engine OCR before upload
Obtain the Webhook URL via "Integration Settings" in the Agent console and configure it in Feishu bots or WeCom apps—no additional development required
Implementation Checklist
- Confirm that the Volcano Engine account has completed enterprise real-name verification and activated Agent Plan Medium tier or higher;
- Check knowledge base read/write permissions for the API Key to avoid 403 errors on calls;
- Consistently use doubao-embedding-vision and the same version for knowledge base-wide vectorization to prevent degraded retrieval matching;
- Extract text from scanned PDFs via Volcano Engine OCR first; split documents over 500 pages and upload in batches;
- Estimate document capacity based on the Medium tier's 500,000-character limit; if insufficient, evaluate the Large tier or commercial capacity expansion;
- After publishing, verify that answers match the knowledge base documents, and check the similarity threshold and the "Prioritize answering with knowledge base content" toggle.
Editorial Analysis Inferred from source information
This is a vendor deployment tutorial—a concept/reference solution rather than a delivered case: the article contains no actual customer names or real production data, and the "verified in practice" content is merely a test case constructed by the author. In terms of trade-offs, Agent Plan suits internal scenarios with moderate request volumes, documents consisting mainly of extractable text, and a need for fast deployment; if custom retrieval ranking logic or federated retrieval across heterogeneous data sources such as databases or CRM is required, the source recommends using Ark Agent Framework to build a custom RAG pipeline instead. When selecting this solution, verify three things: the plan tier and capacity match your document volume (500,000 characters is roughly 1000 documents of 500,000 characters each), the embedding model version must be consistent across the entire knowledge base, and scanned files require an additional OCR service for pre-processing.
- The source is an official Volcano Engine promotional article; figures such as plan limits and accuracy all come from vendor self-reporting, with no third-party testing;
- The 96.2% retrieval accuracy is cited from official Volcano Engine documentation, without specifying the test set or measurement conditions;
- The claim that 500,000 characters stores about 1000 documents is described as "customer practice," with no sample size or statistical methodology;
- No actual customer delivery records or operational performance metrics.