OptionalapiThe Prem API key to use for requests.
OptionalcacheOptionalcallbackOptionalcallbacksOptionaldisableWhether to disable streaming.
If streaming is bypassed, then stream() will defer to
invoke().
Optionalfrequency_Optionallogit_OptionalmaxThe maximum number of concurrent calls that can be made.
Defaults to Infinity, which means no limit.
OptionalmaxThe maximum number of retries that can be made for a single call, with an exponential backoff between each attempt. Defaults to 6.
Optionalmax_OptionalmessagesOptionalmetadataOptionalmodelOptionalnOptionalonCustom handler to handle failed attempts. Takes the originally thrown error object as input, and should itself throw an error if the input error is not retryable.
Optionalpresence_Optionalproject_Optionalresponse_OptionalseedOptionalsession_OptionalstopOptionalstreamingOptionalsystem_OptionaltagsOptionaltemperatureOptionaltoolsOptionaltop_OptionaluserOptionalverbose
Input to chat model class.