Constructs a new OpenAIConfig.
Optionalproperties: IOpenAIConfigProperties to set
OpenAIConfig model.
OpenAIConfig secretNameApiKey.
OpenAIConfig temperature.
OpenAIConfig userPrompt.
Converts this OpenAIConfig to JSON.
JSON object
StaticcreateCreates a new OpenAIConfig instance using the specified properties.
Optionalproperties: IOpenAIConfigProperties to set
OpenAIConfig instance
StaticdecodeDecodes an OpenAIConfig message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
OpenAIConfig
StaticdecodeDecodes an OpenAIConfig message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
OpenAIConfig
StaticencodeEncodes the specified OpenAIConfig message. Does not implicitly {@apilink oracle_job.OracleJob.LlmTask.OpenAIConfig.verify|verify} messages.
OpenAIConfig message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified OpenAIConfig message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.LlmTask.OpenAIConfig.verify|verify} messages.
OpenAIConfig message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates an OpenAIConfig message from a plain object. Also converts values to their respective internal types.
Plain object
OpenAIConfig
StaticgetGets the default type url for OpenAIConfig
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from an OpenAIConfig message. Also converts values to other types if specified.
OpenAIConfig
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies an OpenAIConfig message.
Plain object to verify
null if valid, otherwise the reason why it is not
Represents an OpenAIConfig.