# OllamaSharpSettings

- Kind: `class`
- Package: [CommunityToolkit.Aspire.OllamaSharp](/reference/api/csharp/communitytoolkit.aspire.ollamasharp.md)
- Version: `13.4.0`
- Namespace: `CommunityToolkit.Aspire.OllamaSharp`
- Target framework: `net10.0`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/blob/d9dc6fc02412d7398c5722840513d99965a6e98f/src/CommunityToolkit.Aspire.OllamaSharp/OllamaSharpSettings.cs)

Represents the settings for OllamaSharp.

## Definition

```csharp
namespace CommunityToolkit.Aspire.OllamaSharp;

public sealed class OllamaSharpSettings
{
    // ...
}
```

## Constructors

- [OllamaSharpSettings](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/constructors.md#constructor)

## Properties

- [DisableHealthChecks](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/properties.md#disablehealthchecks) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether the Ollama health check is disabled or not.
- [DisableTracing](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/properties.md#disabletracing) : `bool` `get; set` -- Gets or sets a boolean value that indicates whether tracing is disabled or not.
- [Endpoint](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/properties.md#endpoint) : `Uri?` `get; set` -- Gets or sets the connection string.
- [HealthCheckTimeout](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/properties.md#healthchecktimeout) : `int?` `get; set` -- Gets or sets a integer value that indicates the Ollama health check timeout in milliseconds.
- [JsonSerializerContext](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/properties.md#jsonserializercontext) : `JsonSerializerContext?` `get; set` -- Gets or sets the JSON serializer context for Native AOT support.
- [Models](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/properties.md#models) : `IReadOnlyList<string>` `get; set` -- Gets or sets the list of models to available.
- [SelectedModel](/reference/api/csharp/communitytoolkit.aspire.ollamasharp/ollamasharpsettings/properties.md#selectedmodel) : `string?` `get; set` -- Gets or sets the selected model.
