8 references to Instance
Microsoft.ML.GenAI.LLaMA (5)
Llama3CausalLMChatClient.cs (1)
22
chatTemplateBuilder ?? Llama3_1ChatTemplateBuilder.
Instance
,
LlamaCausalLMAgent.cs (2)
25
/// <param name="templateBuilder">the template builder to build chat prompt. If the value is null, <see cref="Llama3_1ChatTemplateBuilder.
Instance
"/> would be used.</param>
35
this._templateBuilder = templateBuilder ?? Llama3_1ChatTemplateBuilder.
Instance
;
LlamaChatCompletionService.cs (2)
23
/// <param name="templateBuilder">The template builder to use for generating chat prompts, if not provided, <see cref="Llama3_1ChatTemplateBuilder.
Instance
"/> will be used.</param>
28
_templateBuilder = templateBuilder ?? Llama3_1ChatTemplateBuilder.
Instance
;
Microsoft.ML.GenAI.LLaMA.Tests (3)
LLaMA3_1Tests.cs (3)
105
var prompt = Llama3_1ChatTemplateBuilder.
Instance
.BuildPrompt(chatHistory);
122
var prompt = Llama3_1ChatTemplateBuilder.
Instance
.BuildPrompt(chatHistory);
139
var prompt = Llama3_1ChatTemplateBuilder.
Instance
.BuildPrompt(chatHistory);