OllamaSharpSettings
Class sealed net10.0
Represents the settings for OllamaSharp.
namespace CommunityToolkit.Aspire.OllamaSharp;
public sealed class OllamaSharpSettings{ // ...} 8 members
Constructors1
Section titled ConstructorsProperties7
Section titled PropertiesDisableHealthChecksget; setbool Gets or sets a boolean value that indicates whether the Ollama health check is disabled or not.
DisableTracingget; setbool Gets or sets a boolean value that indicates whether tracing is disabled or not.
Endpointget; setUri? Gets or sets the connection string.
HealthCheckTimeoutget; setint? Gets or sets a integer value that indicates the Ollama health check timeout in milliseconds.
JsonSerializerContextget; setJsonSerializerContext? Gets or sets the JSON serializer context for Native AOT support.
Modelsget; setIReadOnlyList<string> Gets or sets the list of models to available.
SelectedModelget; setstring? Gets or sets the selected model.