ItemContentOutputText Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A text output from the model.
public class ItemContentOutputText : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputText>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentOutputText>
type ItemContentOutputText = class
inherit ItemContent
interface IUtf8JsonSerializable
interface IJsonModel<ItemContentOutputText>
interface IPersistableModel<ItemContentOutputText>
Public Class ItemContentOutputText
Inherits ItemContent
Implements IJsonModel(Of ItemContentOutputText), IPersistableModel(Of ItemContentOutputText)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ItemContentOutputText() |
Initializes a new instance of ItemContentOutputText for deserialization. |
| ItemContentOutputText(ItemContentType, IDictionary<String,BinaryData>, String, IList<Annotation>, IList<LogProb>) |
Initializes a new instance of ItemContentOutputText. |
| ItemContentOutputText(String, IEnumerable<Annotation>) |
Initializes a new instance of ItemContentOutputText. |
Properties
| Name | Description |
|---|---|
| Annotations |
The annotations of the text output. Please note Annotation is the base class. According to the scenario, a derived class of the base class might need to be assigned here, or this property needs to be casted to one of the possible derived classes. The available derived classes include AnnotationFileCitation, AnnotationFilePath and AnnotationUrlCitation. |
| Logprobs |
Gets the logprobs. |
| Text |
The text output from the model. |
| Type |
Gets or sets the type. (Inherited from ItemContent) |
Methods
| Name | Description |
|---|---|
| DeserializeItemContentOutputText(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |