View a markdown version of this page

Tips for improving grounding quality - AWS Context

Tips for improving grounding quality

Grounding works from the names and metadata in your catalog and your ontology. To get more useful proposals:

  • Keep source metadata complete. Descriptive table and column names, and the comments your data teams maintain in the catalog, give AWS Context more to work with.

  • Name the classes and relationship types in your ontology after your business concepts, so a class and the table that holds it are easy to match.

  • Upload a data dictionary and query examples. They describe your tables in business terms. See Context customization.

  • Scope the connection to the data you want in the Agent Context, so proposals cover the tables you care about and not the whole catalog.