Skip to main content
You can use LlamaParse with Upstash Vector to parse documents and perform semantic queries on the content. LlamaParse simplifies the extraction of structured information from files, which can then be indexed and queried using Upstash Vector.

Install

Setup

Create a Vector Index in the Upstash Console. Set the index with:
  • Dimensions: 1536
  • Distance Metric: Cosine
Add the required environment variables to a .env file:

Usage

Parsing Documents

Use LlamaParse to parse a document. For example:

Querying the Parsed Content

Once the document is parsed, you can index it using Upstash Vector and query its content:
To learn more, visit the LlamaParse documentation.