MongoDbAssistant

MongoDbAssistant · Acciones GPT

MongoDB Content Search

  • GET /api/contentGet content search results
Esquema original API
{
  "openapi": "3.0.0",
  "info": {
    "version": "1.0.0",
    "title": "MongoDB Content Search"
  },
  "servers": [
    {
      "url": "https://rag-chatgpt-plugin.vercel.app"
    }
  ],
  "paths": {
    "/api/content": {
      "get": {
        "summary": "Get content search results",
        "operationId": "getContent",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "description": "A query to search for what the user wants. Contextualize the query in the conversation.\n\ninclude frontmatter on top of the query featuring the relevant `programmingLanguage` and `productName.\nproductName options include: MongoDB Atlas, Atlas Charts, Atlas Search, Aggregation    Framework, MongoDB Server, Compass, MongoDB Connector for BI, Realm SDK, Driver, Atlas App Services, Atlas Streams, Atlas Vector Search ...other MongoDB products\nprogrammingLanguage options include: shell, javascript, typescript, python, java, csharp, cpp, ruby, kotlin, c, dart, php, rust, scala, swift, ...other popular programming languages\nSee `example` for use query \"add data python\".\n",
            "example": "How to add data to MongoDB with the Python Driver?\n",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "product",
            "in": "query",
            "description": "The MongoDB product that the user is searching for.\nproductName options include: MongoDB Atlas, Atlas Charts, Atlas Search, Aggregation    Framework, MongoDB Server, Compass, MongoDB Connector for BI, Realm SDK, Driver, Atlas App Services, Atlas Streams, Atlas Vector Search ...other MongoDB products\n",
            "schema": {
              "type": "string"
            },
            "required": true
          },
          {
            "name": "programmingLanguage",
            "in": "query",
            "description": "The programming language that the user is searching for.\nprogrammingLanguage options include: shell, javascript, typescript, python, java, csharp, cpp, ruby, kotlin, c, dart, php, rust, scala, swift, ...other popular programming languages\n",
            "schema": {
              "type": "string"
            },
            "required": false
          }
        ]
      }
    }
  }
}