5 references to OllamaChatResponse
Microsoft.Extensions.AI.Ollama (5)
JsonContext.cs (1)
13
[JsonSerializable(typeof(
OllamaChatResponse
))]
OllamaChatClient.cs (4)
117
await foreach (
OllamaChatResponse
? chunk in JsonSerializer.DeserializeAsyncEnumerable(
166
private static UsageDetails? ParseOllamaChatResponseUsage(
OllamaChatResponse
response)
181
private static AdditionalPropertiesDictionary? ParseOllamaChatResponseProps(
OllamaChatResponse
response)
193
private static ChatFinishReason? ToFinishReason(
OllamaChatResponse
response) =>