AIModel
Defined in: packages/ai.matey.types/src/models.ts:20
Represents an AI model available from a provider.
This type provides a unified representation of models across different providers, including metadata about capabilities and pricing.
Properties
Section titled “Properties”capabilities?
Section titled “capabilities?”
readonlyoptionalcapabilities:ModelCapabilities
Defined in: packages/ai.matey.types/src/models.ts:51
Model capabilities for filtering and discovery.
created?
Section titled “created?”
readonlyoptionalcreated:string
Defined in: packages/ai.matey.types/src/models.ts:41
When this model was created (ISO 8601 timestamp).
description?
Section titled “description?”
readonlyoptionaldescription:string
Defined in: packages/ai.matey.types/src/models.ts:36
Model description explaining its purpose or characteristics.
readonlyid:string
Defined in: packages/ai.matey.types/src/models.ts:25
Unique model identifier (e.g., “gpt-4”, “claude-3-opus-20240229”). This is the ID used in API requests.
metadata?
Section titled “metadata?”
readonlyoptionalmetadata:Record<string,unknown>
Defined in: packages/ai.matey.types/src/models.ts:56
Provider-specific metadata not covered by standard fields.
readonlyname:string
Defined in: packages/ai.matey.types/src/models.ts:31
Human-readable model name. May be more descriptive than the ID.
ownedBy?
Section titled “ownedBy?”
readonlyoptionalownedBy:string
Defined in: packages/ai.matey.types/src/models.ts:46
Who owns/created this model (e.g., “openai”, “anthropic”).