# OllamaExecutableResource

- 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 executable resource.

## Remarks

Constructs an `OllamaExecutableResource`.

## Definition

```go
type OllamaExecutableResource interface {
    ExpressionValue
    IComputeResource
    OllamaResource
    Resource
    ResourceWithArgs
    ResourceWithConnectionString
    ResourceWithEndpoints
    ResourceWithEnvironment
    ResourceWithWaitSupport
}
```

## Embeds

- `ExpressionValue`
- `IComputeResource`
- [`OllamaResource`](/reference/api/go/communitytoolkit.aspire.hosting.ollama/ollamaresource.md)
- `Resource`
- `ResourceWithArgs`
- `ResourceWithConnectionString`
- `ResourceWithEndpoints`
- `ResourceWithEnvironment`
- `ResourceWithWaitSupport`

## Properties

- `ConnectionStringExpression`: `*ReferenceExpression` `get` -- Gets the connection string expression for the Ollama server.
- `Host`: `EndpointReferenceExpression` `get` -- Gets the Host property
- `Models`: `[]string` `get` -- Gets the Models property
- `Port`: `EndpointReferenceExpression` `get` -- Gets the Port property
- `PrimaryEndpoint`: `EndpointReference` `get` -- Gets the PrimaryEndpoint property
- `UriExpression`: `*ReferenceExpression` `get` -- Gets the UriExpression property
