Uploaded image for project: 'VS Code Extension'
  1. VS Code Extension
  2. VSCODE-581

/query: Send schema to the model for better results

    • 3
    • Iteration Ionosphere, Iteration Jupiter
    • Not Needed
    • Developer Tools

      To pass the schema of documents in a collection to the AI as context, we use the mongodb-schema package, similar to how we’re doing it in Compass. Then, as we do with the AI endpoint in mms we use this schema to generate something for the AI.

      In the POC we have this in typescript: https://github.com/mongodb-js/vscode/blob/copilot-agent/src/agent/schema.ts

            Assignee:
            alena.khineika@mongodb.com Alena Khineika
            Reporter:
            alena.khineika@mongodb.com Alena Khineika
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: