4 references to OllamaChatClient
Microsoft.Extensions.AI.Ollama (1)
OllamaChatClient.cs (1)
45
:
this
(new Uri(Throw.IfNull(endpoint)), modelId, httpClient)
Microsoft.Extensions.AI.Ollama.Tests (3)
OllamaChatClientIntegrationTests.cs (1)
18
new
OllamaChatClient
(endpoint, "llama3.1") :
OllamaChatClientTests.cs (2)
26
Assert.Throws<ArgumentNullException>("endpoint", () => new
OllamaChatClient
((Uri)null!));
73
using IChatClient chatClient = new
OllamaChatClient
(endpoint, model);