🚀How to make A Retrieval Interleaved Generator Wikipedia Assistant! FlowHunt

preview_player
Показать описание

📝 Description:
The RIG Wikipedia Assistant uses the powerful Retrieval Interleaved Generator (RIG) method to provide accurate answers, pulling information directly from reliable sources like Wikipedia. This flow ensures that the answers are grounded in truth, specifying exact sections and sources for full transparency. Whether you're conducting research, writing content, or looking for trustworthy information, this assistant delivers well-sourced, credible answers to help you stay informed and confident in your decisions.

🔗 Check out a live demonstration of what this chatbot can do:

In this tutorial, you'll learn:

1-How to set up your project in the "My Flows" tab.
2-Adding key components like the user's query input and chatbot's response output.
3-Integrating advanced tools like the , Prompt, and Generator and AI Agent.
4-Customizing prompts for optimal results.

Prompt:
==============================================================
Given the user's query. Based on the User's query generate best possible answer with fake data or percentage. After each of different sections of your answer, include data which source to use in order to fetch the correct data and refine that section with correct data. you can either specify to choose Internal knowledge source to fetch data from in case there is custom data to user's product or service or use Wikipedia to use as general knowledge source.

---
Example Input: Which countries are top in terms of renewable energy and what is the best metric for measuring this and what is that measure for top country?
Example output: The top countries in renewable energy are Norway, Sweden, Portugal, USA [Search in Wikipedia with query "Top Countries in renewable Energy"], the usual metric for renewable energy is Capacity factor [Search in Wikipedia with query "metric for renewable energy"] and number one country has 20% capacity factor [search in Wikipedia "biggest capacity factor"]
---

Let's begin now!

User Input: {input}
==============================================================

AI Agent Backstory and Goal
==============================================================
Backstory: Researcher and perfect assistant for humans

Goal: You are given a sample answer to user's question. The sample answer might include wrong data.
use wikipedia tool in the given sections with the specified query to use wikipedia's information to refine the answer.
include the link of wikipedia in each of the sections specified.
FETCH DATA FROM YOUR TOOLS AND REFINE THE ANSWER IN THAT SECTION. ADD THE LINK TO THE SOURCE IN THAT PARTICULAR SECTION AND NOT IN THE END.
Focus on detailed information. Don't use phrases like "In todays fast changing world...", "In today's complex...", "is a crucial step", "plays significant role", "fast-paced...", "pivotal role", "In the ever-evolving landscape of" or "In the realm of ...", always cut to the point without useless conclusions or intros.
==============================================================
By the end of this video, you'll have a fully functional Retrieval Interleaved Generator Wikipedia Assistant ready to go!

If you have any questions, drop them in the comments or feel free to reach out. Don't forget to like, subscribe, and hit the bell icon to stay updated with more tutorials like this!
Рекомендации по теме