Skip to main content

Build Your First Bring Your Own Keys RAG Pipeline

Time to complete: 5 minutes

This quickstart will show you how to create a pipeline that:

  • Ingests your documents
  • Creates vector embeddings
  • Makes your data searchable using AI

We'll use Pinecone, OpenAI, and the File Upload connector to process documents from your device.

Before you begin

Before you begin, you'll need:

Step 1: Create Your RAG Pipeline

  1. Log in to Vectorize.

  2. Click New RAG Pipeline in the left sidebar.

    Create your Pipeline

  3. Name your pipeline (e.g., "quickstart-pipeline").

  4. Set up your vector database:

    • Click New Vector DB.
    • Choose your database, and enter your credentials.
    • Provide an index name (e.g., "vectorize-quickstart"). If the index does not already exist in your database, it will be created automatically.
  5. Configure your AI platform:

    • Click New AI Platform.
    • Select your platform and enter your credentials (e.g., OpenAI API key).
    • Leave the default values for embedding model and chunking.
  6. Add your data source:

    • Click Add Source Connector.
    • Choose File Upload.
    • Upload one or more files.
    • Click Confirm Selection.

    Select Files

Step 2: Schedule and deploy your pipeline:

  1. Click Next: Schedule RAG Pipeline.

    Complete Pipeline Configuration

  2. Accept the default schedule configuration and click Create RAG Pipeline.

Your pipeline will ingest the file(s) you selected, generate embeddings, and write them to your vector database.

When the embeddings have been stored in your database, your pipeline's status will change to the Listening state, where it will stay until more updates are available. For example, if you modify one of the files you specified when configuring the File Upload connector, the pipeline will reprocess it.

Pipeline Listening State

Step 3: Try it out!

  1. Click the magnifying glass icon to open the RAG Sandbox.
  2. Ask a question about your documents.
  3. See your data in action!

Ask Questions in Sandbox

What's Next?

Was this page helpful?