MockReal Logo
Home
BlogPricing
For Employers →
  1. Home
  2. Questions
  3. RAG 中的文档是怎么存的?粒度是多大?详细说说文档切割(Chunking)策略?

RAG 中的文档是怎么存的?粒度是多大?详细说说文档切割(Chunking)策略?

Technical大模型应用开发 ai agentAI 应用开发工程师RAG 开发工程师AI 工程师大模型应用开发工程师

在RAG中,文档通常以小块的形式存储,粒度可以是句子或段落。切割策略主要依赖于上下文相关性和信息密度,以确保每个块都能独立传达有用信息。

我倾向于使用固定长度和动态切割结合的方法,前者保证了处理效率,后者则确保了语义完整性。

More Questions

  • 在 RAG 中 Embedding 究竟是什么?如何选择和评估一个 Embedding 模型?
  • 如何润色用户的 Query(Query Rewrite)?目的是什么?
  • 相比直接微调 LLM,RAG 解决了什么问题?微调和 RAG 各自的优劣势是什么?
  • Agent 推理模式有哪些?ReAct 是啥?具体是怎么实现的?
  • Embedding 有哪几种算法你了解过吗?
  • Function Calling、Skill、MCP 这三个有什么区别?
  • Function Calling 也属于工具调用,请问什么场景下使用 Function Calling,什么场景下使用 MCP?
  • KV Cache 是什么?Prompt Caching 的原理是什么?
  • MCP 和 Agent Skill 的区别是什么?
  • MCP 和 Function Calling 有什么区别?有没有实际跑过 MCP?
MockReal Logo

Spoken interview practice for technical professionals

Product

  • Pricing
  • Questions
  • Positions
  • Resumes
  • For Employers →

Company

  • Careers
  • About Us
  • Contact
  • Blog

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2025 MockReal. Spoken interview practice. All rights reserved.