Show / Hide Table of Contents

Class GenericChatResponse

The response for a chat conversation.

Inheritance
object
BaseChatResponse
GenericChatResponse
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 GenericChatResponse : BaseChatResponse

Properties

Choices

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

A list of generated texts. Can be more than one if n is greater than 1.

Remarks

Required

TimeCreated

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

The Unix timestamp (in seconds) of when the response text was generated.

Remarks

Required

In this article
Back to top