Język

IntentResolutionEvaluatorContext Klasa

Definicja

Kontekstowe informacje używane IntentResolutionEvaluator do oceny skuteczności systemu sztucznej inteligencji podczas identyfikowania i rozpoznawania intencji użytkownika.

public ref class IntentResolutionEvaluatorContext sealed : Microsoft::Extensions::AI::Evaluation::EvaluationContext
[System.Diagnostics.CodeAnalysis.Experimental("AIEVAL001")]
public sealed class IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
public sealed class IntentResolutionEvaluatorContext : Microsoft.Extensions.AI.Evaluation.EvaluationContext
[<System.Diagnostics.CodeAnalysis.Experimental("AIEVAL001")>]
type IntentResolutionEvaluatorContext = class
    inherit EvaluationContext
type IntentResolutionEvaluatorContext = class
    inherit EvaluationContext
Public NotInheritable Class IntentResolutionEvaluatorContext
Inherits EvaluationContext
Dziedziczenie
IntentResolutionEvaluatorContext
Atrybuty

Uwagi

IntentResolutionEvaluator ocenia skuteczność systemu sztucznej inteligencji w identyfikowaniu i rozwiązywaniu intencji użytkownika na podstawie podanej historii konwersacji oraz definicji narzędzi dostarczonych za pośrednictwem metody ToolDefinitions.

Należy pamiętać, IntentResolutionEvaluator że w tej chwili obsługuje tylko ocenianie wywołań do narzędzi zdefiniowanych jako AIFunctionDeclarations. Wszelkie inne AITool definicje podane za pośrednictwem ToolDefinitions zostaną zignorowane.

Konstruktory

Nazwa Opis
IntentResolutionEvaluatorContext(AITool[])

Inicjuje nowe wystąpienie klasy IntentResolutionEvaluatorContext.

IntentResolutionEvaluatorContext(IEnumerable<AITool>)

Inicjuje nowe wystąpienie klasy IntentResolutionEvaluatorContext.

Właściwości

Nazwa Opis
Contents

Pobiera lub ustawia listę AIContent obiektów, które zawierają wszystkie informacje znajdujące się w tym obiekcie EvaluationContext.

(Odziedziczone po EvaluationContext)
Name

Pobiera lub ustawia nazwę dla tego elementu EvaluationContext.

(Odziedziczone po EvaluationContext)
ToolDefinitions

Pobiera zestaw definicji narzędzi (zobacz Tools), które zostały użyte podczas generowania ocenianej odpowiedzi modelu.

ToolDefinitionsContextName

Pobiera unikatowy element Name używany dla elementu IntentResolutionEvaluatorContext.

Dotyczy