-
Type:
Task
-
Resolution: Unresolved
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
None
Once we have the context system prompt in place we can add the compass-context tool call that will return "bigger" chunks of situation-specific information like the current query (on the Documents tab) or aggregation (Aggregations tab).
We'll also update the context system prompt to tell the model to consider calling this tool and what it would get if it does. Consider also telling it when it would be pointless calling this tool (every situation other than the Documents or Aggregations tab). (We'll be testing and iterating on these prompt changes in future.)
Since this is the first tool we'll also need to add the tool call card & approval here.
This ticket will then pave the way for adding database tool calling afterwards because the basic tool calling "infrastructure" will be in place.
- depends on
-
COMPASS-10122 Update ai sdk to at least 5.1.0-beta.22 or 6.0.0-beta.29 in order to use addToolApprovalResponse
-
- Closed
-
-
COMPASS-10140 Add a system prompt to precede user prompts with the basic UI context
-
- Closed
-
- is depended on by
-
COMPASS-10145 Add readonly database tool calling
-
- Needs Triage
-