Tabor - Medicare GPT

Tabor - Medicare GPT · GPT アクション

SkyPoint Lakehouse Business Data Interaction

A service that allows you to interact with your SkyPoint Lakehouse business data to produce accurate, relevant, and personalized results.

  • POST /api/OpenGpt/postpromptSubmits a prompt and receives a response.
元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "SkyPoint Lakehouse Business Data Interaction",
    "description": "A service that allows you to interact with your SkyPoint Lakehouse business data to produce accurate, relevant, and personalized results.",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://medicaregpt.tabor.ai/"
    }
  ],
  "paths": {
    "/api/OpenGpt/postprompt": {
      "post": {
        "operationId": "PostPrompt",
        "tags": [
          "OpenGpt"
        ],
        "summary": "Submits a prompt and receives a response.",
        "requestBody": {
          "content": {
            "application/json-patch+json": {
              "schema": {
                "$ref": "#/components/schemas/PromptRequest"
              }
            },
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/PromptRequest"
              }
            },
            "text/json": {
              "schema": {
                "$ref": "#/components/schemas/PromptRequest"
              }
            },
            "application/*+json": {
              "schema": {
                "$ref": "#/components/schemas/PromptRequest"
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Success",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PromptResponse"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProblemDetails"
                }
              }
            }
          },
          "500": {
            "description": "Server Error"
          }
        },
        "x-openai-isConsequential": false
      }
    }
  },
  "components": {
    "schemas": {
      "ProblemDetails": {
        "type": "object",
        "properties": {
          "type": {
            "type": "string",
            "nullable": true
          },
          "title": {
            "type": "string",
            "nullable": true
          },
          "status": {
            "type": "integer",
            "format": "int32",
            "nullable": true
          },
          "detail": {
            "type": "string",
            "nullable": true
          },
          "instance": {
            "type": "string",
            "nullable": true
          }
        },
        "additionalProperties": {}
      },
      "PromptRequest": {
        "type": "object",
        "properties": {
          "question": {
            "type": "string",
            "nullable": true
          },
          "instanceId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      },
      "PromptResponse": {
        "type": "object",
        "properties": {
          "answer": {
            "type": "string",
            "nullable": true
          },
          "additionalInfo": {
            "type": "string",
            "nullable": true
          },
          "isSuccessful": {
            "type": "boolean"
          },
          "messageId": {
            "type": "string",
            "format": "uuid"
          }
        },
        "additionalProperties": false
      }
    }
  }
}