components: schemas: CreateDocumentDirectlyWithHtmlRequestV1: properties: content: description: Content of the document in HTML format title: Content type: string title: description: Title of the document. title: Title type: string required: - title - content title: CreateDocumentDirectlyWithHtmlRequestV1 type: object CreateDocumentIndirectlyWithGptRequestV2: properties: language: default: en description: The two-digit ISO 639-1 code representing the expected human language for the document content. title: Language type: string openaiFileIdRefs: default: [] description: 'List of files to use during document generation, such as images or PDF / DOCX / PPTX files for downstream GPT to use for writing document. Each object contains: `name` - name of the file; `id` - identifier for the file; `mime_type` - mime type of the file; `download_link` - the URL to fetch the file.' items: {} title: Openaifileidrefs type: array pageCount: default: 5 description: The number of document pages (or number of presentation slides) to generate. title: Pagecount type: integer prompt: description: Instructions that will be used by a GPT-3.5 model to create the document. The instructions should be detailed and contain important information. title: Prompt type: string required: - prompt title: CreateDocumentIndirectlyWithGptRequestV2 type: object HTTPValidationError: properties: detail: items: $ref: '#/components/schemas/ValidationError' title: Detail type: array title: HTTPValidationError type: object ValidationError: properties: loc: items: anyOf: - type: string - type: integer title: Location type: array msg: title: Message type: string type: title: Error Type type: string required: - loc - msg - type title: ValidationError type: object info: description: A GPT that allows users to create documents. title: Doc Maker GPT version: v1 openapi: 3.1.0 paths: /create_document_directly_with_html: post: description: Create a document directly with HTML content. operationId: create_document_directly_with_html requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateDocumentDirectlyWithHtmlRequestV1' required: true responses: '200': content: application/json: schema: {} description: Successful Response '422': content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' description: Validation Error summary: Create a document directly with HTML content x-openai-isConsequential: false /create_document_indirectly_with_gpt: post: description: Create a document indirectly by prompting a GPT model specialized for longform writing operationId: create_document_indirectly_with_gpt requestBody: content: application/json: schema: $ref: '#/components/schemas/CreateDocumentIndirectlyWithGptRequestV2' required: true responses: '200': content: application/json: schema: {} description: Successful Response '422': content: application/json: schema: $ref: '#/components/schemas/HTTPValidationError' description: Validation Error summary: Create a document indirectly by prompting a GPT model specialized for longform writing x-openai-isConsequential: false servers: - url: https://plugin.maker.aidocmaker.com