Data Source Summary
Bag of words will automatically generate a summary of the data source. You can adjust the summary to tailor the data source to your needs. A good summary will be concise, and include the most important information about the data source. For example, if you are connecting a product usage data source, a good summary would be:
AI Context
In addition to the data source summary, you can also set AI context. This is a set of rules that Bag of words will use to generate the data model and code. This is a place where you can be more specific and granular. Content can be sample queries, metrics, tables, relationships, rules, and more. For example, you can set the following rules:
Data Source Schema
The data source schema will be automatically added to the user prompt as part of the context. Schema is formatted as a
DDL
query. For example: