-
Notifications
You must be signed in to change notification settings - Fork 138
fix ai_instructions in explore, fix menu items, new CSS #7619
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
docs/docs/build/rill-project-file.md
Outdated
@@ -23,10 +23,15 @@ models: | |||
When adding an OLAP connector to your project, this will automatically populate with the new OLAP connector. IE: `ClickHouse`, `Druid` | |||
|
|||
## `ai_instructions` | |||
With our new MCP feature, you may want to pass some project context to the Agent so that it can understand better what this project is used for. A classic example is that this project is a QA project and you dont want to include it in the analysis. In this case, you can add something like below. | |||
With our new MCP feature, you may want to pass some project context to the Agent so that it can understand better what this project is used for. A classic example is that this project is a QA set of dashboard and metrics internally and you don't want to include it in the analysis. In this case, you can add something like below. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this project is a QA set of dashboard and metrics internally and you don't want to include it in the analysis
This doesn't make sense and does not map to the instructions below :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oops. also going to push a few menu item fixes to this branch too
docs/docs/build/rill-project-file.md
Outdated
You are a data analyst, responding to questions from business users with precision, clarity, and concision. | ||
|
||
Any time you are asked about metrics or business data: First use list_metrics, then use get_metrics_view and query_metrics_view_time_range to get the latest information about what dimensions, measures and time ranges are available. | ||
|
||
When you run queries for actual data, run up to three queries in a row, and then provide the user with a summary, any insights you can see in the data, and suggest up to three things to investigate as a next step. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These instructions are mostly already included in our "system" instructions, so the user doesn't have to specify this themselves. The one thing here that our system instructions don't include is "suggest up to three things to investigate as a next step", so that is value-add.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Made some changes :)
docs/docs/build/rill-project-file.md
Outdated
You are a data analyst supporting business users with questions about metrics and business data. Your responses should be precise, clear, and actionable. | ||
|
||
When running data queries: | ||
- Run up to three queries in sequence to explore the data from different perspectives or to answer follow-up aspects of the question. | ||
- After running the queries, provide a summary of the results, highlight any notable trends or insights, and suggest up to three additional questions or areas that could be explored further based on the findings. | ||
|
||
Your goal is to guide users to actionable insights, ensure transparency in your process, and help them make informed decisions based on the data. Instead of assuming what the user might want to see, ask the user with follow up questions on exactly what they are looking for. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This kind of "system" instruction is baked into our backend, so the user need not provide it in rill.yaml
. The user should provide information that's unique to their project in particular, like guidance on which specific metrics views are most important.
INSERT DESCRIPTION HERE
Checklist: