Skip to main content
Each tutorial walks through one endpoint end to end, with copy-pasteable examples. New to retrieval-augmented generation? Start with From documents to answers to learn the concepts and pick the right endpoint. Otherwise, jump straight to Uploading & managing files, then Searching documents.

Build a searchable knowledge base

Ingest documents once, then query them. A persistent, indexed corpus you can search or ask questions over.

Uploading & managing files

Upload documents into LightOn so they become searchable in seconds, plus tagging, metadata, listing, and filtering.

Searching documents

Find the most relevant passages with a natural-language query, with scoping, reranking, and vision-mode search.

Asking questions

Get a grounded, LLM-generated answer with the sources it used, returned synchronously or streamed token by token.

Process documents on the fly

Convert or extract from a document in a single call. Nothing is stored, useful for feeding your own pipeline.

Parsing documents

Convert any document to clean Markdown, synchronously for quick jobs or async for large documents.

Extracting structured data

Pull typed fields out of documents using a JSON Schema you provide, in sync or async mode.