あんちぽ(人間)

あんちぽ(人間) · GPT 작업

HumanTool

Plugin to query the human as a tool API.

  • POST /querySend a query to a human
원본 API 스키마
{
  "openapi": "3.0.1",
  "info": {
    "title": "HumanTool",
    "description": "Plugin to query the human as a tool API.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://puppy-environment-lightweight-romance.trycloudflare.com/"
    }
  ],
  "paths": {
    "/query": {
      "post": {
        "operationId": "query",
        "summary": "Send a query to a human",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/queryRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/queryResponse"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "queryRequest": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "A query to a human"
          }
        },
        "required": [
          "query"
        ]
      },
      "queryResponse": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "description": "The answer from the human"
          }
        },
        "required": [
          "answer"
        ]
      }
    }
  }
}