Devz Project Plan Generator

Devz Project Plan Generator · Acciones GPT

Dreamer

The dreamer API description

  • GET /gpts-prod/dreamer-adaptor/project-plan/generategenerate the project plan from collected user idea
  • GET /gpts-prod/dreamer-adaptor/project-plan/chat-messagecollect the user idea
Esquema original API
{
  "openapi": "3.0.0",
  "paths": {
    "/gpts-prod/dreamer-adaptor/project-plan/generate": {
      "get": {
        "operationId": "DreamerAdaptorController_projectPlan",
        "summary": "generate the project plan from collected user idea",
        "parameters": [
          {
            "name": "idea",
            "required": true,
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the project plan",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ProjectPlanResponse"
                }
              }
            }
          }
        },
        "tags": [
          "dreamer"
        ]
      }
    },
    "/gpts-prod/dreamer-adaptor/project-plan/chat-message": {
      "get": {
        "operationId": "DreamerAdaptorController_chatMessage",
        "summary": "collect the user idea",
        "parameters": [
          {
            "name": "user_message",
            "required": true,
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "the project plan",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ChatMessageResponse"
                }
              }
            }
          }
        },
        "tags": [
          "dreamer"
        ]
      }
    }
  },
  "info": {
    "title": "Dreamer",
    "description": "The dreamer API description",
    "version": "1.0",
    "contact": {}
  },
  "tags": [
    {
      "name": "dreamer",
      "description": ""
    }
  ],
  "servers": [
    {
      "url": "https://www.devz.ai"
    }
  ],
  "components": {
    "schemas": {
      "ProjectPlanResponse": {
        "type": "object",
        "properties": {
          "result": {
            "type": "object",
            "description": "the project plan of the idea"
          },
          "continue": {
            "type": "boolean",
            "description": "should continue to call this api"
          },
          "progress": {
            "type": "number",
            "description": "the progress of the task"
          }
        },
        "required": [
          "result",
          "continue",
          "progress"
        ]
      },
      "ChatMessageResponse": {
        "type": "object",
        "properties": {
          "progress": {
            "type": "number",
            "description": "when process is up to 100,can generate the project plan"
          },
          "answer": {
            "type": "string",
            "description": "the answer to the user's idea or questions"
          }
        },
        "required": [
          "progress",
          "answer"
        ]
      }
    }
  }
}