---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/litert_lm/types/type-aliases/SamplerType.md
description: 'Sampler-type enum value: `TOP_K`, `TOP_P`, `GREEDY`.'
---

# Type Alias: SamplerType

```ts
type SamplerType = LiteRtSamplerTypeEnum;
```

Defined in: [src/batteries/llm/litert\_lm/types.ts:93](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/litert_lm/types.ts#L93)

Sampler-type enum value: `TOP_K`, `TOP_P`, `GREEDY`.
