EvaluationContext Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de EvaluationContext klasse.
Overloads
| Naam | Description |
|---|---|
| EvaluationContext(String, AIContent[]) |
Initialiseert een nieuw exemplaar van de EvaluationContext klasse. |
| EvaluationContext(String, IEnumerable<AIContent>) |
Initialiseert een nieuw exemplaar van de EvaluationContext klasse. |
| EvaluationContext(String, String) |
Initialiseert een nieuw exemplaar van de EvaluationContext klasse. |
EvaluationContext(String, AIContent[])
- Bron:
- EvaluationContext.cs
Initialiseert een nieuw exemplaar van de EvaluationContext klasse.
protected:
EvaluationContext(System::String ^ name, ... cli::array <Microsoft::Extensions::AI::AIContent ^> ^ contents);
protected EvaluationContext(string name, params Microsoft.Extensions.AI.AIContent[] contents);
new Microsoft.Extensions.AI.Evaluation.EvaluationContext : string * Microsoft.Extensions.AI.AIContent[] -> Microsoft.Extensions.AI.Evaluation.EvaluationContext
Protected Sub New (name As String, ParamArray contents As AIContent())
Parameters
- name
- String
De naam van de EvaluationContext.
- contents
- AIContent[]
De inhoud van de EvaluationContext. (Zie Contents.)
Van toepassing op
EvaluationContext(String, IEnumerable<AIContent>)
- Bron:
- EvaluationContext.cs
Initialiseert een nieuw exemplaar van de EvaluationContext klasse.
protected:
EvaluationContext(System::String ^ name, System::Collections::Generic::IEnumerable<Microsoft::Extensions::AI::AIContent ^> ^ contents);
protected EvaluationContext(string name, System.Collections.Generic.IEnumerable<Microsoft.Extensions.AI.AIContent> contents);
new Microsoft.Extensions.AI.Evaluation.EvaluationContext : string * seq<Microsoft.Extensions.AI.AIContent> -> Microsoft.Extensions.AI.Evaluation.EvaluationContext
Protected Sub New (name As String, contents As IEnumerable(Of AIContent))
Parameters
- name
- String
De naam van de EvaluationContext.
- contents
- IEnumerable<AIContent>
De inhoud van de EvaluationContext. (Zie Contents.)
Van toepassing op
EvaluationContext(String, String)
- Bron:
- EvaluationContext.cs
Initialiseert een nieuw exemplaar van de EvaluationContext klasse.
protected:
EvaluationContext(System::String ^ name, System::String ^ content);
protected EvaluationContext(string name, string content);
new Microsoft.Extensions.AI.Evaluation.EvaluationContext : string * string -> Microsoft.Extensions.AI.Evaluation.EvaluationContext
Protected Sub New (name As String, content As String)
Parameters
- name
- String
De naam van de EvaluationContext.
- content
- String
De inhoud van de EvaluationContext. (Zie Contents.)