# OllamaModelResource

- Module: [CommunityToolkit.Aspire.Hosting.Ollama](/reference/api/go/communitytoolkit.aspire.hosting.ollama.md)
- Version: `13.6.1`
- Kind: `handle`
- Source: [GitHub](https://github.com/CommunityToolkit/Aspire/tree/d9c2addac6f527ef2e33712d290b84574b455a3b)

A resource that represents an ollama model.

## Definition

```go
type OllamaModelResource interface {
    ExpressionValue
    Resource
    ResourceWithConnectionString
    ResourceWithParent
}
```

## Embeds

- `ExpressionValue`
- `Resource`
- `ResourceWithConnectionString`
- `ResourceWithParent`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the connection string expression for the Ollama model.
- `ModelName`: `string` `get` -- Gets the model name.
- `Parent`: [`OllamaResource`](/reference/api/go/communitytoolkit.aspire.hosting.ollama/ollamaresource.md) `get` -- Gets the parent Ollama resource.
