Structured data stores records in a defined organization, such as a structured database. When it supplies context to an AI system, evaluation focuses on whether retrieval returns the right information rather than on unstructured-text relevance alone. section 6.4.2
Evaluate structured-database retrieval by checking:
- Result completeness: whether the retrieval includes all records required for the task. section 6.4.2
- Execution accuracy (EX): whether the SQL query returns the correct result. section 6.4.2
- Task success rate (SR): whether the overall result is correct. section 6.4.2
Evaluating a database-backed answer
For a question answered through SQL, verify that the query executes, returns the correct records, includes the required records, and produces a correct final result. Faithfulness and answer relevance can still be assessed after the database output enters the model context, but they do not replace database-specific checks. section 6.4.2






























