MeGPT

MeGPT · GPT Actions

Get user data

Retrieves information about the user.

  • GET /queryGetAnswers

    Get additional information and the persona for any question

原始 API 定义
{
  "openapi": "3.1.0",
  "info": {
    "title": "Get user data",
    "description": "Retrieves information about the user.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://oracle.pendium.ai"
    }
  ],
  "paths": {
    "/query": {
      "get": {
        "description": "Get additional information and the persona for any question",
        "operationId": "GetAnswers",
        "parameters": [
          {
            "name": "input",
            "in": "query",
            "description": "The question being asked",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/getQueryResponse"
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "schemas": {
      "getQueryResponse": {
        "type": "object",
        "properties": {
          "persona": {
            "type": "string",
            "description": "The persona of the chatter."
          },
          "results": {
            "type": "string",
            "description": "Additional information to help answer the user's question."
          },
          "metadata": {
            "type": "object",
            "properties": {
              "avatar_url": {
                "type": "string",
                "description": "URL to the individual's avatar"
              },
              "newsletter_copy": {
                "type": "string",
                "description": "Unused"
              },
              "banner_title": {
                "type": "string",
                "description": "Ignore this"
              },
              "twitter": {
                "type": "string",
                "description": "URL to the individual's Twitter Account"
              },
              "creator_id": {
                "type": "string",
                "description": "Unused"
              },
              "banner_url": {
                "type": "string",
                "description": "Ignore this"
              },
              "linkedin": {
                "type": "string",
                "description": "URL to the individual's LinkedIn Account"
              },
              "pendium_id": {
                "type": "string",
                "description": "Unused"
              },
              "banner_description": {
                "type": "string",
                "description": "Description of the Call to Action"
              },
              "intro_msg": {
                "type": "string",
                "description": "Ignore this"
              },
              "is_active": {
                "type": "boolean",
                "description": "Unused"
              },
              "product_cta": {
                "type": "string",
                "description": "URL to the individual's Website"
              },
              "short_bio": {
                "type": "string",
                "description": "A short biography of the individual"
              },
              "is_live": {
                "type": "boolean",
                "description": "Unused"
              },
              "product_rating": {
                "type": "boolean",
                "description": "Unused"
              },
              "id": {
                "type": "integer",
                "description": "Unused"
              },
              "product_image_url": {
                "type": "string",
                "description": "Ignore this"
              },
              "name": {
                "type": "string",
                "description": "The name of the individual"
              },
              "newsletter_title": {
                "type": "string",
                "description": "Unused"
              },
              "question1": {
                "type": "string",
                "description": "Unused"
              },
              "question2": {
                "type": "string",
                "description": "Unused"
              },
              "question3": {
                "type": "string",
                "description": "Unused"
              },
              "question4": {
                "type": "string",
                "description": "Unused"
              }
            }
          }
        }
      }
    }
  }
}