@twick/ai-models / Exports / GenerationJob
Interface: GenerationJob
Table of contents
Properties
- attempts
- completedAt
- createdAt
- error
- fallbackProviders
- id
- input
- modelId
- output
- provider
- providerJobId
- requestId
- status
- type
- updatedAt
Properties
attempts
• attempts: number
Defined in
completedAt
• Optional completedAt: string
Defined in
createdAt
• createdAt: string
Defined in
error
• Optional error: string
Defined in
fallbackProviders
• fallbackProviders: AIModelProvider[]
Defined in
id
• id: string
Defined in
input
• input: GenerationInput
Defined in
modelId
• Optional modelId: string
Defined in
output
• Optional output: ProviderGenerationOutput
Defined in
provider
• provider: AIModelProvider
Defined in
providerJobId
• Optional providerJobId: string
Defined in
requestId
• Optional requestId: string
Defined in
status
• status: JobStatus
Defined in
type
• type: GenerationType
Defined in
updatedAt
• updatedAt: string