AnnotationUrlCitation 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 citation for a web resource used to generate a model response.
public class AnnotationUrlCitation : Azure.AI.AgentServer.Contracts.Generated.OpenAI.Annotation, System.ClientModel.Primitives.IJsonModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationUrlCitation>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.AgentServer.Contracts.Generated.OpenAI.AnnotationUrlCitation>
type AnnotationUrlCitation = class
inherit Annotation
interface IUtf8JsonSerializable
interface IJsonModel<AnnotationUrlCitation>
interface IPersistableModel<AnnotationUrlCitation>
Public Class AnnotationUrlCitation
Inherits Annotation
Implements IJsonModel(Of AnnotationUrlCitation), IPersistableModel(Of AnnotationUrlCitation)
- Inheritance
- Implements
Constructors
| Name | Description |
|---|---|
| AnnotationUrlCitation() |
Initializes a new instance of AnnotationUrlCitation for deserialization. |
| AnnotationUrlCitation(AnnotationType, IDictionary<String,BinaryData>, Uri, Int32, Int32, String) |
Initializes a new instance of AnnotationUrlCitation. |
| AnnotationUrlCitation(Uri, Int32, Int32, String) |
Initializes a new instance of AnnotationUrlCitation. |
Properties
| Name | Description |
|---|---|
| EndIndex |
The index of the last character of the URL citation in the message. |
| StartIndex |
The index of the first character of the URL citation in the message. |
| Title |
The title of the web resource. |
| Type |
Gets or sets the type. (Inherited from Annotation) |
| Url |
The URL of the web resource. |
Methods
| Name | Description |
|---|---|
| DeserializeAnnotationUrlCitation(JsonElement, ModelReaderWriterOptions) | |
| FromResponse(Response) |
Deserializes the model from a raw response. |
| JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) | |
| ToRequestContent() |
Convert into a RequestContent. |