Expand description
Contains API for function calling
Structs§
- Function
Call - Represents a function call attempted by ChatGPT API
- Function
Descriptor - A descriptor containing information about a ChatGPT function
- GptFunction
- This struct represents a ChatGPT function.
Enums§
- Function
Calling Mode - Determines how ChatGPT will be calling the functions.
- Function
Validation Strategy - Determines how this client will validate function calls.
Traits§
- Callable
Async Function - This trait represents a struct containing actual ChatGPT function handling logic
- Function
Argument - This trait represents an object containing ChatGPT function arguments. To use this trait, just derive JsonSchema and [Deserialize]
- GptFunction
Holder - Trait that indicates a callable GPT Function. Should not be implemented directly, see GptFunction instead.