Lab 4: Retrieval, then a Vector Store

Find the right sentence for a question. Then keep the sentences somewhere that can do it at scale.

1

Five sentences, one question β€” which one answers it?

Read the question. Click the sentence you think should come first. Then let the machine rank them.

The question
keep the top (this number is called k β€” you choose it)
2

Put them in a vector store

Five sentences you can score by hand; a million you cannot. A vector store keeps each vector with its text and finds the nearest. Store them, then query.

Collection β€œpolicy” Β· 0 records
Empty. Press 1.
log