Package version:
OptionalfrequencyA float in the range [-2,2] that reduces or increases likelihood of repeated tokens. Default is 0.
OptionalmaxMaximum number of tokens to generate.
OptionalmodelThe name of the model to use (e.g., 'gpt-4o', etc.). Default is null if not specified.
OptionalpresenceA float in the range [-2,2] that penalizes new tokens based on their existing presence. Default is 0.
OptionalseedRandom seed for controlling deterministic outputs. If omitted, randomization is used.
OptionalstopList of stop sequences that will cut off text generation. Default is none.
OptionaltemperatureSampling temperature. Default is 0.7.
Common language model parameters for Chat Completions. If omitted, default values are used.