Show / Hide Table of Contents

Class CohereLlmInferenceResponse

The generated text result to return.

Inheritance
object
LlmInferenceResponse
CohereLlmInferenceResponse
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 CohereLlmInferenceResponse : LlmInferenceResponse

Properties

GeneratedTexts

Declaration
[Required(ErrorMessage = "GeneratedTexts is required.")]
[JsonProperty(PropertyName = "generatedTexts")]
public List<GeneratedText> GeneratedTexts { get; set; }
Property Value
Type Description
List<GeneratedText>

Each prompt in the input array has an array of GeneratedText, controlled by numGenerations parameter in the request.

Remarks

Required

Prompt

Declaration
[JsonProperty(PropertyName = "prompt")]
public string Prompt { get; set; }
Property Value
Type Description
string

Represents the original prompt. Applies only to non-stream responses.

TimeCreated

Declaration
[Required(ErrorMessage = "TimeCreated is required.")]
[JsonProperty(PropertyName = "timeCreated")]
public DateTime? TimeCreated { get; set; }
Property Value
Type Description
DateTime?

The date and time that the model was created in an RFC3339 formatted datetime string.

Remarks

Required

In this article
Back to top