Expand description
Tools for manipulating the type state of ChatCompletionBuilder
.
See the detailed guide that describes how all the pieces here fit together.
Structs§
- Empty
- Represents a
State
that hasIsUnset
implemented for all members. - SetLogit
Bias - Represents a
State
that hasIsSet
implemented forState::LogitBias
. - SetMessages
- Represents a
State
that hasIsSet
implemented forState::Messages
. - SetMetadata
- Represents a
State
that hasIsSet
implemented forState::Metadata
. - SetStore
- Represents a
State
that hasIsSet
implemented forState::Store
. - SetTemperature
- Represents a
State
that hasIsSet
implemented forState::Temperature
. - SetTopP
- Represents a
State
that hasIsSet
implemented forState::TopP
.
Traits§
- IsComplete
- Marker trait that indicates that all required members are set.
- IsSet
- Marker trait that indicates that the member is set, i.e. at least one of its setters was called.
- IsUnset
- Marker trait that indicates that the member is unset, i.e. none of its setters was called.
- State
- Builder’s type state specifies if members are set or not (unset).