ExOpenAI.parse_properties

You're seeing just the function parse_properties, go back to ExOpenAI module for more information.

Pattern 1: properties: object:

type: string

model:

type: string

data:

type: array
items:
  type: object
  properties:
    index:
      type: integer
    object:
      type: string
    embedding:
      type: array
      items:
        type: number
  required:
    - index
    - object
    - embedding

Pattern 2: properties: model: *model_configuration input:

description: Desc
example: The quick brown fox jumped over the lazy dog
oneOf:
  - type: string
    default: ''
    example: "This is a test."
  - type: array
    items:
      type: string
      default: ''
      example: "This is a test."
  - type: array
    minItems: 1
    items:
      type: integer
    example: [1212, 318, 257, 1332, 13]
  - type: array
    minItems: 1
    items:
      type: array
      minItems: 1
      items:
        type: integer
    example: "[[1212, 318, 257, 1332, 13]]"

user: *end_user_param_configuration