You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
kscli is a standalone CLI for knowledge-base retrieval on Aliyun Model Studio (DashScope), purpose-built for RAG (Retrieval-Augmented Generation) workflows. It covers the full lifecycle of knowledge bases — from creation and document ingestion to semantic search and conversational Q&A.
Features
Knowledge base management — Create, update, delete, and inspect knowledge bases; view storage and document statistics
Document management — Upload files, import from OSS, track processing status, tag, and delete documents
Retrieval services — Create, configure, deploy, copy, and manage retrieval services that bind knowledge bases to specific models
Chunk management — Add, list, update, and delete text chunks within documents for fine-grained content control
Data center — Manage standalone files in the workspace data center before attaching them to knowledge bases
Collections & categories — Organize knowledge bases with collections and categorize documents for scoped retrieval
RAG retrieval & chat — Semantic search across knowledge bases and streaming Q&A with grounded answers
Agent-friendly — Structured JSON output (--output json), dry-run mode (--dry-run), and quiet mode (--quiet) for scripting