CocoIndex playground

Change a file. Follow the update.

You write the Python. CocoIndex keeps the index in sync.

Interactive demo · simulated
docs_pipeline / local example
Try a change

01 Source

3 files
Try editing the first text line.

02 Python flow

memo=True
parse()cached

Read the document text.

0 run · 3 reused
summarize()cached

Keep the first text line.

0 run · 3 reused
embed()cached

Create a vector from the summary.

0 run · 3 reused

Cached result = same function, same inputs.

03 Search index

doc_rows
Document / summaryLast sync

One row per file · summary + embedding

3 files. An index that is already fresh.

Your index is up to date. Change a file to see what runs again.

3/3 embeddings reused
Sample data. No API calls or setup.
Build this with your own data.Open the docs