1 write to _textGenerationService
Microsoft.ML.GenAI.Phi (1)
Phi3\Phi3CausalLMChatCompletionService.cs (1)
26_textGenerationService = new Phi3CausalLMTextGenerationService(pipeline);
3 references to _textGenerationService
Microsoft.ML.GenAI.Phi (3)
Phi3\Phi3CausalLMChatCompletionService.cs (3)
30public IReadOnlyDictionary<string, object?> Attributes => _textGenerationService.Attributes; 39var replies = await _textGenerationService.GetTextContentsAsync(prompt, executionSettings, kernel, cancellationToken); 52await foreach (var reply in _textGenerationService.GetStreamingTextContentsAsync(prompt, executionSettings, kernel, cancellationToken))