Nestor docs
Guides

Add document context to an AI application

Nestor Data stores immutable input files, Training/Run executes your finite preparation program, and an Endpoint serves inference. There is no managed search index, vector database or automatic retrieval API in this preview. Your program implements indexing, retrieval and the checks that restrict each user's documents.

Prepare an input

Use Console Data or the supplied Data example to upload a small directory. Set permitted uses to include the workload that will consume it. Wait for READY, list the files, and verify a download against the published size and digest. Use its returned nestor://data/DATA_ID/files/PATH reference rather than a storage URL. References are project scoped and do not grant access by themselves.

Run your preparation program

A finite Run can mount the Data file read-only under /data/, parse it and write an index or extracted passages under NESTOR_OUTPUTS. Choose the supported GPU configuration only if your program needs it; this preview does not offer a CPU-only Run. For a small CPU parsing step, running your own local program may be more appropriate.

Inspect the run's logs and terminal status, then download and verify the output files. Their canonical Data references can be reused only for their permitted uses. A failed run may retain checkpoints; the presence of a file alone does not mean preparation succeeded.

Retrieve and answer

Your application's retrieval code selects passages the current user is allowed to see. It can pass those passages to a chat Endpoint as context. Request citations to your own passage identifiers and show those source passages alongside answers. Check citations and answer accuracy against your evaluation set; a fluent answer is not proof that retrieval was correct.

An Application may link the Endpoint and record the origin of a preparation run. This is provenance, not a pipeline scheduler: linking resources does not run a retrieval step or automatically deploy a new index.

Delete resources you no longer need. Data deletion respects active holds and the retention floor; it is not an immediate purge request. Keep document and end-user access policies in your application as well as Nestor's project boundaries.

Documentation source ad860f2fd0ba

On this page