GenerateTextDetails

class oci.generative_ai_inference.models.GenerateTextDetails(**kwargs)

Bases: object

Details for the request to generate text.

Methods:

__init__(**kwargs)

Initializes a new GenerateTextDetails object with values from keyword arguments.

Attributes:

compartment_id

[Required] Gets the compartment_id of this GenerateTextDetails.

inference_request

[Required] Gets the inference_request of this GenerateTextDetails.

serving_mode

[Required] Gets the serving_mode of this GenerateTextDetails.

__init__(**kwargs)

Initializes a new GenerateTextDetails object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
property compartment_id

[Required] Gets the compartment_id of this GenerateTextDetails. The OCID of compartment in which to call the Generative AI service to generate text.

Returns

The compartment_id of this GenerateTextDetails.

Return type

str

property inference_request

[Required] Gets the inference_request of this GenerateTextDetails.

Returns

The inference_request of this GenerateTextDetails.

Return type

oci.generative_ai_inference.models.LlmInferenceRequest

property serving_mode

[Required] Gets the serving_mode of this GenerateTextDetails.

Returns

The serving_mode of this GenerateTextDetails.

Return type

oci.generative_ai_inference.models.ServingMode