# OllamaModelResource

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

A resource that represents an ollama model.

## Definition

```typescript
interface OllamaModelResource
  extends IExpressionValue,
    IManifestExpressionProvider,
    IResource,
    IResourceWithConnectionString,
    IResourceWithParent,
    IOllamaResource]],
    IValueProvider,
    IValueWithReferences {
  readonly connectionStringExpression: ReferenceExpression;
  readonly modelName: string;
  readonly parent: IOllamaResource;
}
```

## Properties

- `connectionStringExpression`: `ReferenceExpression` `get` -- Gets the connection string expression for the Ollama model.
- `modelName`: `string` `get` -- Gets the model name.
- `parent`: [IOllamaResource](/reference/api/typescript/communitytoolkit.aspire.hosting.ollama/iollamaresource.md) `get` -- Gets the parent Ollama resource.
