Skip to content

@graphty/graphty-element / catalog / AiModelDescriptor

Interface: AiModelDescriptor ​

Defined in: graphty-element/src/catalog/ai.ts:41

One model a provider offers.

Properties ​

downloadMB? ​

readonly optional downloadMB?: number

Defined in: graphty-element/src/catalog/ai.ts:49

Approximate download size in megabytes, for a model that runs in the browser.


id ​

readonly id: string

Defined in: graphty-element/src/catalog/ai.ts:43

The model id passed as ProviderOptions.model.


plainName ​

readonly plainName: string

Defined in: graphty-element/src/catalog/ai.ts:45

The model's own name.


supportsTools ​

readonly supportsTools: boolean

Defined in: graphty-element/src/catalog/ai.ts:47

Whether the model can call the assistant's tools; one that cannot answers in text only.