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