🔥 3-day streak
Databricks Certified Generative AI Engineer Associate26 / 145
Question 26 of 145
You are building a RAG application over a large corpus of software engineering documentation that mixes prose explanations with fenced code blocks and API tables. During testing, users complain that when they ask 'show me the function that validates tokens,' the retrieved chunks return only the surrounding explanation text and cut code samples in half, making the answers useless. You are currently using a fixed-size character chunker with 500-character chunks and no overlap. Which change to your chunking strategy will most directly improve retrieval of complete, coherent code examples?
Reviewed for accuracy · Report an issueNext question