LogoLogo
HomeExploreDocsAPIBlogContact
  • 🗃️Gooey.AI Docs
  • Changelog
  • 📖Guides
    • 🤖How to build an AI Copilot?
      • AI Prompting: Best practices
      • Curate your Knowledge Base Documents
      • Advanced Settings
      • Prepare Synthetic Data
      • Conversation Analysis
        • Glossary
      • Building a Multi-Modal Copilot
      • Frequently Asked Questions about AI Copilot
      • How to Automate Data Export?
    • 🚀How to deploy an AI Copilot?
      • Deploy to Web
      • Deploy to WhatsApp
      • Deploy to Slack
      • Deploy to Facebook
      • Broadcast Messages (via web or API)
      • Add buttons to your Copilot
    • ⚖️Understanding Bulk Runner and Evaluation
      • 💪How to set up Bulk Runner?
      • 🕵️‍♀️How to set up Evaluations?
      • How to use Bulk Run via API
    • 👄How to use AI Lip Sync Generator?
      • Lip Sync Animation Generator (WITH AUDIO FILES)
      • LipSync videos with Custom Voices
      • Set up your API for Lipsync with Local Folders
      • Tips to create great HD lipsync output
      • Frequently Asked Questions about Lipsync
    • 🗣️How to use ASR?
      • 📊How to create language evaluation for ASR?
    • How to use Compare AI Translations?
      • Google Translate Glossary
    • How does RAG-based document search work?
    • 🧩How to use Gooey Functions?
      • ✨LLM-enabled Functions
      • How to use SECRETS in Functions?
      • 🔥How to connect FirebaseDB to Copilot
    • 🎞️How to create AI Animations?
    • 🤳How to make amazing AI Art QR Codes?
      • API tips on AI Art QR Codes
    • 🖼️Create an AI Image with text
      • AI Image Prompting
      • API Tips for AI Image Generator
    • 📸AI Photo Editor
      • Build your avatar with AI
    • 🧑‍🏫How to use Gooey.AI’s Image Model Trainer?
    • 🔍Generate “People Also Ask” SEO Content
    • 🌐How to create SEO-Optimized content with AI?
    • How to use Workspaces?
      • How to use Version History?
      • How to add SECRETS in your Workspace?
    • 🍟How can I get free credits?
  • 😇CONTRIBUTING
    • Contributing
    • Documentation Style Guide
  • 🤓API REFERENCE
    • Getting started
    • API Generator
    • Rate Limits
    • Error Codes
  • 🍭ENDPOINTS
    • Copilot
    • Lipsync
    • Lipsync TTS
    • AI Art QR Generator
    • AI Animation Generator
    • Compare AI Image Generator
    • Gooey.AI on GitHub
Powered by GitBook
LogoLogo

Home

  • Gooey.AI
  • Explore Workflows
  • Sign In
  • Pricing

Learn

  • Docs
  • Blog
  • FAQs
  • Videos

Developers

  • How-to Guides
  • Get your Gooey.AI Key
  • Github
  • API Endpoints

Connect

  • Book a Demo
  • Discord
  • Team
  • Jobs

@Dara.network / Gooey.AI / support@gooey.ai

On this page
  • Where is RAG useful?
  • How to use RAG on Gooey.AI?
  • Output

Was this helpful?

Edit on GitHub
  1. Guides

How does RAG-based document search work?

Last updated 10 months ago

Was this helpful?

Large Language Models are trained on a huge amount of data, yet when you search for your organization or brand, you might find that it usually can’t respond accurately. This means that LLMs might hallucinate (or “make up”) irrelevant or inaccurate information for your business needs.

This is why Retrieval Augmented Generation (RAG) is an excellent solution! RAG will:

  1. Index all of your knowledge base in a vectorDB - pdfs, csvs, texts, web pages, images, and more

  2. Retrieve all the most relevant information from the vectorDB

  3. Use LLM to provide summaries that work for your use case and generate accurate answers

Where is RAG useful?

RAG is useful for:

  1. For site-wide searches

  2. AI copilots

  3. Research and analyses of large datasets

  4. Workplace searches

  5. Search powered applications

  6. Search and summaries for the legal industry

How to use RAG on Gooey.AI?

Step 1: Prepare your knowledge base

You can upload all your documents and data in the “Documents” section. You can add PDFs, docs, spreadsheets, charts, and texts.

These can be uploaded from your local drive or online hosted links. We even accept Google Drive links.

Step 2: Choose your preferred Large Language Model

Head to the “settings” option and choose your preferred LLM!

Step 3: Add your query

Scroll to the top of the page, and add your query/question for the RAG.

Step 4: Hit Submit

Hit the Submit button!

Output

Your output will be on the right side and look like this:

You might notice, there is a citation legend in the output. All referenced and cited text snippets from the search query will be shared in the “Sources” section below the output.

📖