-
Type: Investigation
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: GAI
-
None
-
5
-
Iteration Iguanodon
-
Not Needed
Currently we ask the ai service's large language model to return EJSON that we then show in the query bar.
In this ticket let's investigate sending back MQL (shell syntax) strings that we then show in the query bar. These don't have to be valid for them to be updated.
The reasons for MQL strings instead of EJSON are:
- The ai model is more comfortable with MQL.
- We don't have to use as many tokens in the system prompt around teaching it EJSON
- Arithmetic is allowed.
- Template variable responses from the ai is allowed as the resulting string doesn't have to be valid to be shown.
- is depended on by
-
COMPASS-7090 Parse regex ejson to valid query
- Closed
-
COMPASS-7047 Use azure functions in ai prompt
- Closed