IngestionJob¶
Structure Class¶
IngestionJob
dataclass
¶
Contains details about a data ingestion job. Data sources are ingested into a knowledge base so that Large Language Models (LLMs) can use your data.
This data type is used in the following API operations:
Attributes¶
data_source_id
instance-attribute
¶
data_source_id: str
The unique identifier of the data source for the data ingestion job.
description
class-attribute
instance-attribute
¶
description: str | None = None
The description of the data ingestion job.
failure_reasons
class-attribute
instance-attribute
¶
failure_reasons: list[str] | None = None
A list of reasons that the data ingestion job failed.
ingestion_job_id
instance-attribute
¶
ingestion_job_id: str
The unique identifier of the data ingestion job.
knowledge_base_id
instance-attribute
¶
knowledge_base_id: str
The unique identifier of the knowledge for the data ingestion job.
started_at
instance-attribute
¶
started_at: datetime
The time the data ingestion job started.
If you stop a data ingestion job, the startedAt time is the time the
job was started before the job was stopped.
statistics
class-attribute
instance-attribute
¶
statistics: IngestionJobStatistics | None = None
Contains statistics about the data ingestion job.
updated_at
instance-attribute
¶
updated_at: datetime
The time the data ingestion job was last updated.
If you stop a data ingestion job, the updatedAt time is the time the
job was stopped.