No items found.

Trust center RAG Chatbot

RAG chatbot for internal policy documents with reranking model and Google search.
Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.
Click to interact

This agent is an Q&A chatbot (RAG) that leverages a search engine and a reranking model to provide accurate answers based on internal policy documents. It processes user queries and retrieves relevant policy excerpts, ensuring responses are well-cited and contextually grounded.

How it Works / How to Build It

  1. MostRecentMessage: This node captures the latest user message from the chat history.
  2. SearchNode: It performs a search query against a document index (specifically, "vellum-trust-center-policies-2") using the latest message as the query. It retrieves up to 8 relevant documents based on semantic similarity and keywords.
  3. CohereAPIRerankChunks: This node takes the search results and reranks them using the Cohere API, enhancing the relevance of the retrieved documents based on the user's query.
  4. FormattedSearchResults: It formats the reranked search results into a structured output, preparing them for the next step.
  5. PromptNode: This node generates a final answer by prompting a machine learning model with the question and the formatted policy quotes, ensuring the response includes citations.
  6. FinalOutput: It outputs the final answer generated by the PromptNode.

What You Can Use This For

  • Answering employee questions about company policies.
  • Providing quick access to compliance information for legal teams.
  • Assisting HR with policy-related inquiries from staff.
  • Supporting customer service representatives with policy clarifications.

Prerequisites

  • Vellum account.
  • Document index created in Vellum
  • Cohere API key for reranking functionality.

How to Set It Up

  1. Create a new workflow in your Vellum account.
  2. Add the MostRecentMessage node to capture the latest user input.
  3. Connect the MostRecentMessage node to the SearchNode to perform a search based on the captured message.
  4. Link the SearchNode to the CohereAPIRerankChunks node to rerank the search results.
  5. Connect the CohereAPIRerankChunks to the FormattedSearchResults node to format the output.
  6. Link the FormattedSearchResults to the PromptNode to generate a final answer.
  7. Finally, connect the PromptNode to the FinalOutput node to display the answer to the user.
Created By
Aaron Levin
Last Updated
July 31, 2025
Categories
RAG
Chatbot / Assistant
Tools
No items found.

Discover more agents

Flag suspicious Stripe transactions in Slack
Automate KYC checks and send reports to Slack
Summarize my clients’ portfolios weekly
Review my contracts and generate risk summaries
Highlight NDA deviations and send alert to Slack
Review DPAs or privacy policies for compliance
Run review when new prior auth packets arrive
Review claims for compliance and errors
Generate personalized care plans from EHR
Pull call objections and update HubSpot contacts
Get weekly HubSpot deal health insights
Review my closed-lost HubSpot deals weekly
sucCCESS STORIES

Hear it from our customers

We know the power of AI, but how do we make it secure and ensure that we're not compromising privacy and security while still providing value? Vellum has been a big part of accelerating that experimentation part, allowing us to validate that a feature is high-impact and feasible.
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

FAQ

Build any AI agent with Vellum

Get started today and transform your business with intelligent automation
No items found.