MarkTechPost(RSS)📅 Jul 5技巧观点

LlamaIndex 发布 legal-kb:基于 Index v2 的智能体检索参考应用

LlamaIndex 发布 legal-kb,一个基于 Index v2(LlamaParse Platform)的法律文档知识库参考应用。采用 Retrieval Harness 模式,赋予 Agent 四个文件系统风格工具:retrieve(混合语义检索,支持 rerank 和引用)、findFiles(精确/模糊文件名搜索)、readFile(带偏移量的原始内容读取)和 grepFile(正则匹配并返回字符位置)。Agent 需先调用 findFiles 确定文件清单,再依次使用其他工具定位内容。底层基于 Vercel AI SDK 6 的 ToolLoopAgent,可选用 OpenAI 或 Anthropic 模型,支持用户自带 API key。项目以 TanStack Start web app 形式运行,上传文件自动解析索引,同一文件名重复上传可产生版本,检索时通过版本元数据字段过滤。

💡 Recommended AI Tools

AI large language model launched by Meta (Facebook)
The large video model released by Shengshu Technology and Tsinghua University supports highly consistent simulation of characters and physical laws.
The large video generation model launched by Kuaishou supports the generation of 1080p frame rate videos up to 2 minutes long.
ByteDance's AI painting and short video generation platform supports one-click text generation and shadow generation.