Choir

Choir · GPT 작업

Choir API

  • POST /chatgptCreate a chat message and return similar messages
원본 API 스키마
openapi: 3.0.0
info:
  title: Choir API
  version: 1.0.0
servers:
  - url: https://choirgpt.fly.dev/api
paths:
  /chatgpt:
    post:
      operationId: createChatMessageAndGetSimilarMessages
      summary: Create a chat message and return similar messages
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                message:
                  type: string
      responses:
        200:
          description: Successful operation
          content:
            application/json:
              schema:
                type: object
                properties:
                  results:
                    type: array
                    items:
                      type: object
        400:
          description: Bad request
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string