Internal Optional apiOptional context?: stringOptional disableOptional dry?: booleanOptional frequency_Optional function_Optional logit_Optional max_Optional model?: stringOptional presence_Optional stop?: null | string | string[]Optional stream?: booleanOptional temperature?: numberOptional top_Optional user?: stringPrivate _apiPrivate _contextPrivate _dryPrivate _stopPrivate Readonly pluginReturns the OpenAI-specific options of the config.
Returns both the library-specific and OpenAI-specific options of the config.
Returns the library-specific options of the config.
Assigns a new config to the conversation.
The new config to use.
Set to true to shallow merge the new config with the existing config instead of replacing it.
Internal
Serializes the ConversationConfig to JSON.
The ConversationConfig as a JSON object.
This method is used internally by the library and is not meant to be used by consumers of the library.
Optional apiOptional context?: stringOptional disableOptional dry?: booleanOptional frequency_Optional function_Optional logit_Optional max_Optional model?: stringOptional presence_Optional stop?: null | string | string[]Optional stream?: booleanOptional temperature?: numberOptional top_Optional user?: stringGenerated using TypeDoc
The configuration for a conversation. Contains library specific options and OpenAI's Chat Completion default options.
This class is used internally by the library and is not meant to be instantiated by consumers of the library.