OllamaEmbeddingGenerator Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
OllamaEmbeddingGenerator(String, String, HttpClient) | |
OllamaEmbeddingGenerator(Uri, String, HttpClient) |
OllamaEmbeddingGenerator(String, String, HttpClient)
public OllamaEmbeddingGenerator (string endpoint, string? modelId = default, System.Net.Http.HttpClient? httpClient = default);
new Microsoft.Extensions.AI.OllamaEmbeddingGenerator : string * string * System.Net.Http.HttpClient -> Microsoft.Extensions.AI.OllamaEmbeddingGenerator
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
OllamaEmbeddingGenerator(Uri, String, HttpClient)
public OllamaEmbeddingGenerator (Uri endpoint, string? modelId = default, System.Net.Http.HttpClient? httpClient = default);
new Microsoft.Extensions.AI.OllamaEmbeddingGenerator : Uri * string * System.Net.Http.HttpClient -> Microsoft.Extensions.AI.OllamaEmbeddingGenerator
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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.