algorithmic-art
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
ByteHouse 知识库的管理能力,包括创建知识库、添加知识库内容、查询知识库
$ npx -y skills add bytedance/agentkit-samples --skill byted-bytehouse-knowledge-base-management --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/byted-bytehouse-knowledge-base-managementContext preview
The summary Claude sees to decide when to auto-load this skill.
ByteHouse 知识库的管理能力,包括创建知识库、添加知识库内容、查询知识库
name: byted-bytehouse-knowledge-base-management description: ByteHouse 知识库的管理能力,包括创建知识库、添加知识库内容、查询知识库 version: 1.0.3
ByteHouse Knowledge Base Management,提供 ByteHouse 知识库的管理能力,包括创建知识库、添加知识库内容、查询知识库
配置保存在 `~/.bytehouse_config.json` ,如果该文件存在且非空,则直接使用文件中的配置。如果不存在,则让用户提供ByteHouse连接信息( 把这个文档也发给用户,文档里面介绍了如何获取主机地址和密码:https://www.volcengine.com/docs/6517/1121919?lang=zh )。用户提供信息后,保存到json文件,避免重复向用户请求连接信息。当用户切换ByteHouse集群时,一并修改该文件。
{
"BYTEHOUSE_HOST": "<ByteHouse-host>",
"BYTEHOUSE_PASSWORD": "<ByteHouse-password>"
}BYTEHOUSE_HOST(主机地址)和BYTEHOUSE_PASSWORD(密码)**必须由**用户提供
执行 `scripts/export_config.sh` 把配置信息导入环境变量中
source scripts/export_config.sh
当用户希望删除知识库中的某个文件,或者删除整个知识库时,**必须**提示用户数据不可恢复,向用户再次确认后再执行。
以下是每个脚本的具体使用指令示例。在执行这些脚本前,请确保已经导入了配置:
# 导入配置 source scripts/export_config.sh
python3 scripts/create_knowledge_base.py "我的知识库" # 可选参数:--description "这是我的知识库描述"
python3 scripts/list_knowledge_base.py
python3 scripts/upload_file_to_kb.py --kb-id 123 --file ./document.pdf # 可选参数:--chunk-size 512 --delimiters "#,##" --enable-image-ocr --enable-chunk-auto-merge
python3 scripts/list_files_in_kb.py --kb-id 123
python3 scripts/recall_knowledge_base.py --kb-id 123 --query "你的搜索问题"
python3 scripts/knowledge_base_chat.py --kb-ids 123 --input "你的提问"
python3 scripts/delete_file_from_kb.py --file-id 456
python3 scripts/delete_knowledge_base.py --kb-id 123
欢迎来到 AgentKit 代码工坊(Samples)仓库! AgentKit 是火山引擎推出的企业级 AI Agent 开发平台,为开发者提供完整的 Agent 构建、部署和运维解决方案。平台通过标准化的开发工具链和云原生基础设施,显著降低复杂智能体应用的开发部署门槛。 本代码库包含了一系列示例和教程,帮助您理解、实现和集成 AgentKit 的各项功能到您的应用中。
Generate deterministic SVG algorithmic artwork. Invoke when the user asks for geometric,…
Optimize code performance through iterative improvements (max 2 rounds). Benchmark execution…
根据文字描述生成视频,一个生成图片和视频的工作流技能。依赖 skills: byted-web-search, image-generate, video-generate。注意:此…
Manage AgentKit skills, SkillHub/skillhub, skill centers, and skill spaces. Use this skill…
Upload files or directories to TOS-compatible object storage for Volcano Engine or BytePlus…
根据用户的功能需求,完成与 VeADK-Go 相关的功能; 包括:直接根据需求生成 Agent;将Enio Agent转换为VeADK-Go Agent。