Skip to content

FunctionDefinitionDict

Dictionary Type

FunctionDefinitionDict

Bases: TypedDict

Dictionary form of FunctionDefinition.

Attributes

description instance-attribute
description: str | None

A description of the function and its purpose.

name instance-attribute
name: Required[str]

A name for the function.

parameters instance-attribute

The parameters that the agent elicits from the user to fulfill the function.

require_confirmation instance-attribute
require_confirmation: str | None

Contains information if user confirmation is required to invoke the function.