Show / Hide Table of Contents

Class GenerateTextDetails

Details for the request to generate text.

Inheritance
object
GenerateTextDetails
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Oci.GenerativeaiinferenceService.Models
Assembly: OCI.DotNetSDK.Generativeaiinference.dll
Syntax
public class GenerateTextDetails

Properties

CompartmentId

Declaration
[Required(ErrorMessage = "CompartmentId is required.")]
[JsonProperty(PropertyName = "compartmentId")]
public string CompartmentId { get; set; }
Property Value
Type Description
string

The OCID of compartment in which to call the Generative AI service to generate text.

Remarks

Required

InferenceRequest

Declaration
[Required(ErrorMessage = "InferenceRequest is required.")]
[JsonProperty(PropertyName = "inferenceRequest")]
public LlmInferenceRequest InferenceRequest { get; set; }
Property Value
Type Description
LlmInferenceRequest
Remarks

Required

ServingMode

Declaration
[Required(ErrorMessage = "ServingMode is required.")]
[JsonProperty(PropertyName = "servingMode")]
public ServingMode ServingMode { get; set; }
Property Value
Type Description
ServingMode
Remarks

Required

In this article
Back to top