Trust Center RAG Chatbot

This AI pipeline creates a fully functional chatbot that uses a vector database. It enables you to upload internal documentation (like security policies) and instantly answer user questions grounded in those docs, complete with citations for transparency.
Vellum Team
Created By
Akash Sharma
Expand to interact
Created By
Akash Sharma
Last Updated
July 1, 2025
Categories
Customer Service
Enhancing Customer

How it Works / How to Build It

  • SearchNode: This node takes the user's question as input and searches the "vellum-trust-center-policies" document index for relevant information. It limits the results to 8 documents and uses a combination of semantic similarity and keyword matching to rank the results.
  • FormattedSearchResults: This node formats the search results into a readable template. It organizes the results by displaying the policy label and the corresponding text, separating each result with a line break for clarity.
  • PromptNode: This node generates a response based on the formatted search results and the user's question. It uses a predefined prompt that instructs the AI to answer the question strictly based on the provided context from the security policies, including citations.
  • FinalOutput2: This node outputs the final response generated by the PromptNode, which is the answer to the user's question.

What You Can Use This For

  • Answering security-related inquiries from employees or clients.
  • Providing quick access to specific security policies during audits.
  • Assisting compliance teams in responding to security questionnaires.

Prerequisites

  • Vellum account.
  • Access to the "vellum-trust-center-policies" document index.
  • Basic understanding of how to use Vellum's workflow builder.

How to Set It Up

  • Clone the workflow template from the Vellum library.
  • Ensure you have the necessary documents indexed in "vellum-trust-center-policies."
  • Configure the SearchNode to point to your document index and adjust the query settings if needed.
  • Set up the FormattedSearchResults node to format the output as desired.
  • Customize the PromptNode to refine the AI's response style or content if necessary.
  • Connect the nodes in the specified order: SearchNode >> FormattedSearchResults >> PromptNode >> FinalOutput2.
  • Test the workflow by inputting sample questions to ensure it returns accurate and relevant answers.
Related Templates

Discover more AI agent templates to automate different aspects of your business

Medical
Document extraction
SOAP Note Generation Agent
Created By
Anita Kirkovska
Document extraction
Content generation
Agent that summarizes lengthy reports (PDF -> Summary)
Created By
Anita Kirkovska
Document extraction
PDF Data Extraction to CSV
Created By
Anita Kirkovska
AI Agents
Web Search
Page scraping
React Agent for Web Search and Page Scraping
Created By
Aaron Levin
Coding
Automated Code Review Comment Generator for GitHub PRs
Created By
David Vargas
Evaluation
Synthetic Dataset Generator
Created By
Nico Finelli
Document extraction
RAG
Q&A RAG Chatbot with Cohere reranking
Created By
Aaron Levin
Finance
Document extraction
Financial Statement Review Workflow
Created By
Anita Kirkovska
Content generation
Turn LinkedIn Posts into Articles and Push to Notion
Created By
Anita Kirkovska
CUSTOMERS

We have changed the game of AI development — hear it from the enterprise leaders

Vellum helped us quickly evaluate prompt designs and workflows, saving us hours of development. This gave us the confidence to launch our virtual assistant in 14 U.S. markets.
Pratik Bhat
ai Product manager
We sped up AI development by 50 percent and decoupled updates from releases with Vellum. This allowed us to fix errors instantly without worrying about infrastructure uptime or costs.
Jordan Nemrow
Co-Founder & CTO @ Woflow
Vellum helped us quickly evaluate prompt designs and workflows, saving us hours of development. This gave us the confidence to launch our virtual assistant in 14 U.S. markets.
Sebi Lozano
Sr. Product Manager @ Redfin
GET STARTED

Build any AI agent with Vellum

Get started today and transform your business with intelligent automation
👋 Your partners in AI Excellence