AI & LLM Import API

Better context starts before the prompt.

Explore the ingestion decisions behind an AI knowledge collection: reviewed extraction, useful chunks, source lineage, access boundaries, and real evaluation questions.

TEXTJSONRAG

Start with questions and trusted sources

Identify the tasks your collection should support and the cases it should not answer. Assemble representative questions with expected source sections. Inspect extracted documents before turning them into retrieval units.

A search index cannot repair an instruction whose table labels or prerequisites disappeared during extraction. Make source quality visible before tuning retrieval.

Keep context with every chunk

Use section boundaries and complete ideas as candidates for chunking. Test size and overlap against the actual material rather than assuming one recipe fits every document. Attach source identity, revision, and necessary access attributes to each derived unit.

Keep embedding inputs distinct from stored application records. Record transformation and embedding configurations so changed processing can be evaluated and reproduced.

Evaluate, refresh, and remove deliberately

Inspect retrieved passages before judging generated answers. Check whether the expected source is present, current, and accessible to the requesting user. Imported text remains evidence, not authorization to change application instructions or tool permissions.

Plan how source edits, revoked access, and deletions propagate to derived records and caches. A complete lifecycle includes removing obsolete chunks, not only adding new ones.

Turn the idea into a test

Use a small, representative source and write down the expected result for one accepted record, one correction, and one repeated attempt. Keep the original values and the destination expectations visible throughout the review.

Use the format guides for source decisions and the local quickstart to see a simple mapping in action.

From Import Notes

A little reading. A better workflow.

All articles

Your next import starts here.

Pick a source. Get a clearer plan. Build something useful.

Explore import types β†—