[COMPASS-7130] Update schema format from mongodb-schema to pass highest probability Created: 21/Aug/23 Updated: 10/Nov/23 Resolved: 07/Nov/23 |
|
| Status: | Closed |
| Project: | Compass |
| Component/s: | GAI, Schema |
| Affects Version/s: | None |
| Fix Version/s: | 1.41.0 |
| Type: | Task | Priority: | Major - P3 |
| Reporter: | Rhys Howell | Assignee: | Rhys Howell |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Story Points: | 5 | ||||
| Documentation Changes: | Not Needed | ||||
| Sprint: | Iteration Minmi, Iteration Nodosaurus | ||||
| Description |
|
We now pass only one type in our prompt. Let's update the getSimplifiedSchema in mongodb-schema to have the highest probability type first in the types array. Old description v Something to reference, Maurizio did a bit of work on a more condensed schema representation in this branch which is on the receiving end of the schema: https://github.com/10gen/compass-mongodb-com/compare/mql-only-poc. It probably makes sense to keep the schema being sent to the server with some detail and then condense into prompt shape on the backend, so that we have more freedom over changing the prompt on the fly. |
| Comments |
| Comment by Githook User [ 10/Nov/23 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(deps): bump mongodb-schema for simplified schema type sort |
| Comment by Githook User [ 07/Nov/23 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(deps): bump mongodb-schema for simplified schema type sort |
| Comment by Githook User [ 06/Nov/23 ] |
|
Author: {'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}Message: chore(deps): bump mongodb-schema for simplified schema type sort |