CORPORATE WORKSHOP · DAY 2 / 3 · HANDS-ON

RAG Play Lab: ask the airport documents

Change the settings, ask a question, and watch what the search finds. The same steps run in your Colab notebook, with Gemini writing the final answer.
1Documents
›
2Chunk
›
3Embed
›
4Search top-k
›
5Prompt
›
6Answer + sources

1 · DOCUMENTS

2 · SETTINGS

chunk_size
chunk_overlap
Words repeated at each border, so a rule is not cut in half.
similarity_top_k
How many chunks the model is allowed to read.
Search by
Rule prompt
"Answer only from the context. If it is not there, say I could not find this in the documents."

ASK A QUESTION

CHUNK MAP

0chunks in the vector store
0tokens sent to the model
0tokens if you pasted everything

TRY THESE EXPERIMENTS

4 · WHAT THE SEARCH FOUND

Ask a question to see the top chunks.

5 · WHAT THE MODEL RECEIVES

6 · ANSWER WITH SOURCES

Waiting for a question.
For the ready-made questions this page knows which clause holds the answer and checks whether it reached the model. In your notebook, Gemini writes the answer from exactly these chunks: if the right chunk is not here, Gemini cannot see it either.