Skip to content

Add vectorize RAG example - #100

Merged
ryanking13 merged 2 commits into
mainfrom
gyeongjae/vectorize
Sep 2, 2026
Merged

Add vectorize RAG example#100
ryanking13 merged 2 commits into
mainfrom
gyeongjae/vectorize

Conversation

@ryanking13

Copy link
Copy Markdown
Contributor

Adds an example using Workers AI + vectorize to create a simple RAG system without any external packages.

  1. Convert documents into embedding and store it to vectorize storage
  2. Take natural language query, create embedding, query similarity, and retrieve some documents
  3. Summarize the result by passing the documents into workers AI prompt.

@hoodmane hoodmane left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can it run in CI?

@ryanking13

Copy link
Copy Markdown
Contributor Author

Can it run in CI?

This use remote binding so it requires a real account to run (+ it costs). Maybe we can setup a token to run test but not sure if it is really worth it.

@ryanking13
ryanking13 merged commit 9a15b61 into main Sep 2, 2026
7 checks passed
@ryanking13
ryanking13 deleted the gyeongjae/vectorize branch September 2, 2026 03:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants