GenerateTextResult¶
-
class
oci.generative_ai_inference.models.GenerateTextResult(**kwargs)¶ Bases:
objectThe generated text result to return.
Methods
__init__(**kwargs)Initializes a new GenerateTextResult object with values from keyword arguments. Attributes
inference_response[Required] Gets the inference_response of this GenerateTextResult. model_id[Required] Gets the model_id of this GenerateTextResult. model_version[Required] Gets the model_version of this GenerateTextResult. -
__init__(**kwargs)¶ Initializes a new GenerateTextResult object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - model_id (str) – The value to assign to the model_id property of this GenerateTextResult.
- model_version (str) – The value to assign to the model_version property of this GenerateTextResult.
- inference_response (oci.generative_ai_inference.models.LlmInferenceResponse) – The value to assign to the inference_response property of this GenerateTextResult.
-
inference_response¶ [Required] Gets the inference_response of this GenerateTextResult.
Returns: The inference_response of this GenerateTextResult. Return type: oci.generative_ai_inference.models.LlmInferenceResponse
-
model_id¶ [Required] Gets the model_id of this GenerateTextResult. The OCID of the model used in this inference request.
Returns: The model_id of this GenerateTextResult. Return type: str
-
model_version¶ [Required] Gets the model_version of this GenerateTextResult. The version of the model.
Returns: The model_version of this GenerateTextResult. Return type: str
-