Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 1.05 KB

ChatCompletionFunctions.md

File metadata and controls

22 lines (16 loc) · 1.05 KB

OpenapiClient::ChatCompletionFunctions

Properties

Name Type Description Notes
description String A description of what the function does, used by the model to choose when and how to call the function. [optional]
name String The name of the function to be called. Must be a-z, A-Z, 0-9, or contain underscores and dashes, with a maximum length of 64.
parameters Hash<String, Object> The parameters the functions accepts, described as a JSON Schema object. See the guide for examples, and the JSON Schema reference for documentation about the format. To describe a function that accepts no parameters, provide the value `{&quot;type&quot;: &quot;object&quot;, &quot;properties&quot;: {}}`.

Example

require 'openapi_client'

instance = OpenapiClient::ChatCompletionFunctions.new(
  description: null,
  name: null,
  parameters: null
)