Class Ollama
Inherited Members
CRUDClient<Ollama>.Name
CRUDClient<Ollama>.Version
CRUDClient<Ollama>.BetaVersion
CRUDClient<Ollama>.OnException
CRUDClient<Ollama>.CRUDLogger
CRUDClient<Ollama>.BaseUrl
CRUDClient<Ollama>.GetApiKey()
CRUDClient<Ollama>.HandleException(Exception)
Namespace: Glitch9.AIDevKit.Ollama
Assembly: .dll
Syntax
public class Ollama : AIClient<Ollama>
Constructors
Ollama()
Declaration
public Ollama()
Properties
Chat
Declaration
public ChatService Chat { get; }
Property Value
Type | Description |
---|---|
ChatService |
DefaultInstance
The default instance of the Ollama client.
Declaration
public static Ollama DefaultInstance { get; }
Property Value
Type | Description |
---|---|
Ollama |
Embeddings
Declaration
public EmbeddingsService Embeddings { get; }
Property Value
Type | Description |
---|---|
EmbeddingsService |
Generate
Declaration
public GenerateService Generate { get; }
Property Value
Type | Description |
---|---|
GenerateService |
Models
Declaration
public ModelService Models { get; }
Property Value
Type | Description |
---|---|
ModelService |
Methods
GetVersionAsync()
Declaration
public UniTask<string> GetVersionAsync()
Returns
Type | Description |
---|---|
UniTask<string> |