Share via


OllamaChatClient Constructors

Definition

Overloads

OllamaChatClient(String, String, HttpClient)
OllamaChatClient(Uri, String, HttpClient)

OllamaChatClient(String, String, HttpClient)

public OllamaChatClient (string endpoint, string? modelId = default, System.Net.Http.HttpClient? httpClient = default);
new Microsoft.Extensions.AI.OllamaChatClient : string * string * System.Net.Http.HttpClient -> Microsoft.Extensions.AI.OllamaChatClient
Public Sub New (endpoint As String, Optional modelId As String = Nothing, Optional httpClient As HttpClient = Nothing)

Parameters

endpoint
String
modelId
String
httpClient
HttpClient

Applies to

OllamaChatClient(Uri, String, HttpClient)

public OllamaChatClient (Uri endpoint, string? modelId = default, System.Net.Http.HttpClient? httpClient = default);
new Microsoft.Extensions.AI.OllamaChatClient : Uri * string * System.Net.Http.HttpClient -> Microsoft.Extensions.AI.OllamaChatClient
Public Sub New (endpoint As Uri, Optional modelId As String = Nothing, Optional httpClient As HttpClient = Nothing)

Parameters

endpoint
Uri
modelId
String
httpClient
HttpClient

Applies to