EvaluationContext Constructors
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.
Overloads
EvaluationContext(String, AIContent[]) |
Initializes a new instance of the EvaluationContext class. |
EvaluationContext(String, IEnumerable<AIContent>) |
Initializes a new instance of the EvaluationContext class. |
EvaluationContext(String, String) |
Initializes a new instance of the EvaluationContext class. |
EvaluationContext(String, AIContent[])
- Source:
- EvaluationContext.cs
Initializes a new instance of the EvaluationContext class.
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
The name of the EvaluationContext.
- contents
- AIContent[]
The contents of the EvaluationContext. (See Contents.)
Applies to
EvaluationContext(String, IEnumerable<AIContent>)
- Source:
- EvaluationContext.cs
Initializes a new instance of the EvaluationContext class.
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
The name of the EvaluationContext.
- contents
- IEnumerable<AIContent>
The contents of the EvaluationContext. (See Contents.)
Applies to
EvaluationContext(String, String)
- Source:
- EvaluationContext.cs
Initializes a new instance of the EvaluationContext class.
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
The name of the EvaluationContext.
- content
- String
The content of the EvaluationContext. (See Contents.)