openai / openai-openapi

OpenAPI specification for the OpenAI API
https://platform.openai.com/docs/api-reference/introduction
MIT License
1.24k stars 359 forks source link

Stop definition default value missing double quotes. #290

Open lhozdroid opened 2 months ago

lhozdroid commented 2 months ago

Line 7226, stop definition, default value missing double quotes, causing issues on generation.

        stop:
          description: &completions_stop_description >
            Up to 4 sequences where the API will stop generating further tokens. The returned text will not contain the stop sequence.
          default: null
          nullable: true
          oneOf:
            - type: string
              default: <|endoftext|>
              example: "\n"
              nullable: true
            - type: array
              minItems: 1
              maxItems: 4
              items:
                type: string
                example: '["\n"]'