Docs
Sign in

Ingestion

Ingestion lists every job that reads a source, such as a file, a web page or pasted text, and turns it into searchable chunks in a knowledge base. Use it to check that your sources loaded, and to retry the ones that failed.

Screenshot to add: The Ingestion page with the search box, Status, Source and Knowledge base filters, and a table of ingestion jobs.

The subtitle reads "Ingestion jobs across your knowledge bases. Retrying a failed job creates a new one." The Knowledge bases button at the top right takes you to Knowledge Bases.

What an ingestion job is

When you add a source to a knowledge base, Cortex starts a job. The job reads the source and splits it into chunks. Chunks are the small pieces of text that search returns. You do not create jobs here. They appear when sources are added to a knowledge base.

The same table also appears as the Ingestion tab inside a single knowledge base. There it shows only that knowledge base's jobs and has no Knowledge base column or filter.

Find jobs

Above the table there is a search box and filters.

ControlWhat it does
Search boxMatches the source name or the knowledge base name. Inside a knowledge base it reads Search by source
StatusAll statuses, Queued, Running, Completed or Failed
SourceAll sources, Files, File uploads, URLs, Text or Connector
Knowledge baseNarrows to one knowledge base. It appears only on this page, once jobs exist

You can also arrive with a status already chosen, for example from a link, when the page address carries one of the status values.

The table refreshes by itself every 5 seconds, so you can watch a job move from queued to completed.

The jobs table

ColumnWhat it shows
Knowledge baseThe knowledge base the job belongs to. Click to open its sources. Hidden inside a knowledge base
SourceAn icon for the source type and its name
StatusA coloured pill. Failed jobs also show the error message beneath
ChunksHow many chunks the job created
StartedHow long ago the job began
CompletedHow long ago it finished, or a dash if it has not
ActionsA Retry button on failed jobs only

You can sort by knowledge base, source, chunks and started. The table shows 25 jobs per page. On narrow screens each job becomes a card.

Statuses

StatusMeaning
QueuedWaiting to start
RunningBeing read and split into chunks
CompletedFinished. The chunks are ready to search
FailedSomething went wrong. The reason is shown under the status

Any other status the system reports is shown as it is, with a capital first letter.

Retry a failed job

  1. Find the failed job

    Set Status to Failed, or look for a red pill.

  2. Read the error

    The message under the status usually explains what went wrong, such as a source that could not be reached.

  3. Click Retry

    A message says Retry started and "A new ingestion job was created." The new job appears in the table.

If the retry itself fails, you see Retry failed with the reason, or "Could not retry the job."

Empty and long lists

You seeIt means
No ingestion jobs yet"Jobs appear here when sources are added to a knowledge base."
No jobs match"Try a different search or filter."
Couldn't load ingestion jobsThe list failed to load. Use the retry button shown with the message
"Showing the most recent of ... jobs"The page loads at most 500 jobs at a time and tells you how many exist in total