0
Fork 0
mirror of https://github.com/TanStack/ai.git synced 2026-11-16 19:38:41 +00:00
ai/docs/reference/interfaces/ModelCapabilities.md
github-actions[bot] 5701bf5184
docs: regenerate API documentation (#1141)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-08-18 19:53:35 +02:00

1.5 KiB

id title
ModelCapabilities ModelCapabilities

Interface: ModelCapabilities<TInput, TFeatures, TTools, TOptions>

Defined in: packages/ai/src/extend-adapter.ts:41

Capability bag accepted by the object form of createModel.

Type Parameters

TInput

TInput extends ReadonlyArray<Modality> = ReadonlyArray<Modality>

TFeatures

TFeatures extends ReadonlyArray<string> = ReadonlyArray<string>

TTools

TTools extends ReadonlyArray<string> = ReadonlyArray<string>

TOptions

TOptions = unknown

Properties

features?

optional features?: TFeatures;

Defined in: packages/ai/src/extend-adapter.ts:48


input?

optional input?: TInput;

Defined in: packages/ai/src/extend-adapter.ts:47


modelOptions?

optional modelOptions?: TOptions;

Defined in: packages/ai/src/extend-adapter.ts:50


tools?

optional tools?: TTools;

Defined in: packages/ai/src/extend-adapter.ts:49