View Source GptAgent.Function.Parameter (gpt_agent v2.1.2)

Represents a parameter of a function that can be called by the OpenAI GPT assistant

Summary

Types

@type t() :: %GptAgent.Function.Parameter{
  description: String.t(),
  enum: ([binary() | number()] | nil) | nil,
  name: String.t(),
  required: boolean(),
  type: type()
}
@type type() :: :string | :integer