Interface CreateChatCompletionFunction

A function that can be called by the model.

Hierarchy

  • CreateChatCompletionFunction

Properties

description?: string
name: string
parameters?: {
    $comment?: string;
    additionalProperties?: boolean | JsonSchema;
    default?: any;
    deprecated?: boolean;
    description?: string;
    examples?: any[];
    maxProperties?: number;
    minProperties?: number;
    patternProperties?: Record<string, JsonSchema>;
    properties?: Record<string, JsonSchema>;
    readOnly?: boolean;
    required?: string[];
    title?: string;
    type: "object";
    unevaluatedProperties?: boolean;
    writeOnly?: boolean;
}

Type declaration

  • Optional $comment?: string
  • Optional additionalProperties?: boolean | JsonSchema
  • Optional default?: any
  • Optional deprecated?: boolean
  • Optional description?: string
  • Optional examples?: any[]
  • Optional maxProperties?: number
  • Optional minProperties?: number
  • Optional patternProperties?: Record<string, JsonSchema>
  • Optional properties?: Record<string, JsonSchema>
  • Optional readOnly?: boolean
  • Optional required?: string[]
  • Optional title?: string
  • type: "object"
  • Optional unevaluatedProperties?: boolean
  • Optional writeOnly?: boolean

Generated using TypeDoc