Constructs a new GrokXAIConfig.
Optional
properties: IGrokXAIConfigProperties to set
GrokXAIConfig model.
GrokXAIConfig secretNameApiKey.
GrokXAIConfig temperature.
GrokXAIConfig userPrompt.
Converts this GrokXAIConfig to JSON.
JSON object
Static
createCreates a new GrokXAIConfig instance using the specified properties.
Optional
properties: IGrokXAIConfigProperties to set
GrokXAIConfig instance
Static
decodeDecodes a GrokXAIConfig message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
GrokXAIConfig
Static
decodeDecodes a GrokXAIConfig message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
GrokXAIConfig
Static
encodeEncodes the specified GrokXAIConfig message. Does not implicitly {@apilink oracle_job.OracleJob.LlmTask.GrokXAIConfig.verify|verify} messages.
GrokXAIConfig message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified GrokXAIConfig message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.LlmTask.GrokXAIConfig.verify|verify} messages.
GrokXAIConfig message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a GrokXAIConfig message from a plain object. Also converts values to their respective internal types.
Plain object
GrokXAIConfig
Static
getGets the default type url for GrokXAIConfig
Optional
typeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
Static
toCreates a plain object from a GrokXAIConfig message. Also converts values to other types if specified.
GrokXAIConfig
Optional
options: IConversionOptionsConversion options
Plain object
Static
verifyVerifies a GrokXAIConfig message.
Plain object to verify
null
if valid, otherwise the reason why it is not
Represents a GrokXAIConfig.