ItemContentInputText 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 input to the model.
public class ItemContentInputText : Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContent, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputText>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.ItemContentInputText>
type ItemContentInputText = class
inherit ItemContent
interface IUtf8JsonSerializable
interface IJsonModel<ItemContentInputText>
interface IPersistableModel<ItemContentInputText>
Public Class ItemContentInputText
Inherits ItemContent
Implements IJsonModel(Of ItemContentInputText), IPersistableModel(Of ItemContentInputText)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| ItemContentInputText() |
Initializes a new instance of ItemContentInputText for deserialization. |
| ItemContentInputText(ItemContentType, IDictionary<String,BinaryData>, String) |
Initializes a new instance of ItemContentInputText. |
| ItemContentInputText(String) |
Initializes a new instance of ItemContentInputText. |
Properties
| Name | Description |
|---|---|
| Text |
The text input to the model. |
| Type |
Gets or sets the type. (Inherited from ItemContent) |
Methods
| Name | Description |
|---|---|
| DeserializeItemContentInputText(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |