Semantic Search on Wikipedia with Upstash Vector
See the codeThis repository contains the code and documentation for our project on indexing millions of Wikipedia articles using Upstash Vector, as described in our blog post.
We've created a semantic search engine and Upstash RAG Chat SDK using Wikipedia data to demonstrate the capabilities of Upstash Vector and RAG Chat SDK. The project involves:
To run the project locally, follow these steps:
Put the credentials in a .env file in the root of the project. Your .env file should look like this:
UPSTASH_VECTOR_REST_URL=
UPSTASH_VECTOR_REST_TOKEN=
UPSTASH_REDIS_REST_TOKEN=
UPSTASH_REDIS_REST_URL=
QSTASH_TOKEN=
This project uses namespaces to store articles in different languages. So you have to upsert the vectors in the correct namespace. For english, upsert your vectors into the
ennamespace.
pnpm install
pnpm dev
We welcome contributions to improve this project. Please feel free to submit issues or pull requests.
For any questions or feedback about the project or Upstash Vector, please reach out to us at (add contact information).
Check out our live demo to see the project in action!
63 followers · starred Aug 2024
13 followers · starred Aug 2024
34 followers · starred Aug 2024
9 followers · starred Aug 2024
Semantic Search on Wikipedia with Upstash Vector
See the codeThis repository contains the code and documentation for our project on indexing millions of Wikipedia articles using Upstash Vector, as described in our blog post.
We've created a semantic search engine and Upstash RAG Chat SDK using Wikipedia data to demonstrate the capabilities of Upstash Vector and RAG Chat SDK. The project involves:
To run the project locally, follow these steps:
Put the credentials in a .env file in the root of the project. Your .env file should look like this:
UPSTASH_VECTOR_REST_URL=
UPSTASH_VECTOR_REST_TOKEN=
UPSTASH_REDIS_REST_TOKEN=
UPSTASH_REDIS_REST_URL=
QSTASH_TOKEN=
This project uses namespaces to store articles in different languages. So you have to upsert the vectors in the correct namespace. For english, upsert your vectors into the
ennamespace.
pnpm install
pnpm dev
We welcome contributions to improve this project. Please feel free to submit issues or pull requests.
For any questions or feedback about the project or Upstash Vector, please reach out to us at (add contact information).
Check out our live demo to see the project in action!
63 followers · starred Aug 2024
13 followers · starred Aug 2024
34 followers · starred Aug 2024
9 followers · starred Aug 2024