basePath: /api/v1/message
definitions:
  dto.InteractRequest:
    properties:
      bot_type:
        type: string
      cluster_id:
        type: string
      database:
        type: string
      question:
        type: string
      session_id:
        type: string
    type: object
  dto.InteractResponse:
    properties:
      code:
        type: integer
      prompt:
        type: string
      question:
        type: string
      response:
        type: string
      session_id:
        type: string
    type: object
host: 127.0.0.1:8080
info:
  contact: {}
  description: This is message service server
  title: message service API
  version: "1.0"
paths:
  /orgs/{org_id}/projects/{project_id}/bot:
    post:
      consumes:
      - application/json
      description: chat with bot
      parameters:
      - description: org ID
        in: path
        name: org_id
        required: true
        type: string
      - description: project ID
        in: path
        name: project_id
        required: true
        type: string
      - description: request_body
        in: body
        name: request_body
        required: true
        schema:
          $ref: '#/definitions/dto.InteractRequest'
      produces:
      - application/json
      responses:
        "200":
          description: OK
          schema:
            $ref: '#/definitions/dto.InteractResponse'
      summary: chat with bot
      tags:
      - message
swagger: "2.0"
