Freigeben über


AnnotationContent Constructors

Definition

Overloads

AnnotationContent()

Initializes a new instance of the AnnotationContent class.

AnnotationContent(String, String, Object, IReadOnlyDictionary<String,Object>)

Initializes a new instance of the AnnotationContent class.

AnnotationContent()

Initializes a new instance of the AnnotationContent class.

[System.Text.Json.Serialization.JsonConstructor]
public AnnotationContent ();
Public Sub New ()
Attributes

Applies to

AnnotationContent(String, String, Object, IReadOnlyDictionary<String,Object>)

Initializes a new instance of the AnnotationContent class.

public AnnotationContent (string quote, string? modelId = default, object? innerContent = default, System.Collections.Generic.IReadOnlyDictionary<string,object?>? metadata = default);
new Microsoft.SemanticKernel.Agents.OpenAI.AnnotationContent : string * string * obj * System.Collections.Generic.IReadOnlyDictionary<string, obj> -> Microsoft.SemanticKernel.Agents.OpenAI.AnnotationContent
Public Sub New (quote As String, Optional modelId As String = Nothing, Optional innerContent As Object = Nothing, Optional metadata As IReadOnlyDictionary(Of String, Object) = Nothing)

Parameters

quote
String

The source text being referenced.

modelId
String

The model ID used to generate the content.

innerContent
Object

Inner content

metadata
IReadOnlyDictionary<String,Object>

Additional metadata

Applies to