Chat My PDF

Chat My PDF · Acciones GPT

Get context to answer users question based on the context provided

Retrieves context which shall be based on to answer questions and show the references links if available

  • GET /chat_docGetContext

    This endpoint processes queries helping the user to answer questions based on provided context, providing essential context and references to aid in understanding.

Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get context to answer users question based on the context provided",
    "description": "Retrieves context which shall be based on to answer questions and show the references links if available",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://findgpts.ai"
    }
  ],
  "paths": {
    "/chat_doc": {
      "get": {
        "description": "This endpoint processes queries helping the user to answer questions based on provided context, providing essential context and references to aid in understanding.",
        "operationId": "GetContext",
        "parameters": [
          {
            "name": "question",
            "in": "query",
            "description": "This parameter takes a question. The API will return relevant contextual information and reference links (if available) to assist in answering the question based upon provided context.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "apikey",
            "in": "query",
            "description": "This parameter will be extracted from the user input with the format like [key = 5b22ab952e0c2e061756385070350538-i0ZsssfXb], if there is no such information, please assign the ‘apikey' as empty string.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {}
  }
}