Skip to content

EvalItem.content array variant is missing the items schema #501

@glecaros

Description

@glecaros

The content property for the EvalItem schema component has an array variant that is missing the description of the items.

content:
  description: |
    Inputs to the model - can contain template strings.
  anyOf:
    - type: string
      title: Text input
      description: |
        A text input to the model.
    - $ref: '#/components/schemas/InputTextContent'
    - type: object
      title: Output text
      description: |
        A text output from the model.
      properties:
        type:
          type: string
          description: |
            The type of the output text. Always `output_text`.
          enum:
            - output_text
          x-stainless-const: true
        text:
          type: string
          description: |
            The text output from the model.
      required:
        - type
        - text
    - type: object
      title: Input image
      description: |
        An image input to the model.
      properties:
        type:
          type: string
          description: |
            The type of the image input. Always `input_image`.
          enum:
            - input_image
          x-stainless-const: true
        image_url:
          type: string
          description: |
            The URL of the image input.
        detail:
          type: string
          description: >
            The detail level of the image to be sent to the model. One of `high`, `low`, or `auto`.
            Defaults to `auto`.
      required:
        - type
        - image_url
    - $ref: '#/components/schemas/InputAudio'
    - type: array
      title: An array of Input text, Input image, and Input audio
      description: >
        A list of inputs, each of which may be either an input text, input image, or input audio
        object.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions