Looking for a reliable way to access accurate, well-sourced information? The RIG Wikipedia Assistant streamlines the process by pulling data directly from trusted sources like Wikipedia, ensuring your answers are grounded in verifiable facts. Simply input your query, and the assistant retrieves relevant sections from authoritative sources, making it ideal for researchers, content creators, and anyone needing accurate, trustworthy information.
Just type in your topic, and the assistant fetches the most up-to-date and reliable data from Wikipedia, providing you with a precise answer sourced from credible sections. It’s a quick and efficient solution for anyone looking to stay informed with accurate information.
Try the Flow
This Flow knows what to do thanks to its Prompt template:
“user’s query is given. 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} ”
Components breakdown
- Chat Input: This is the message you send in the chat. It’s the starting point of any flow.
- Prompt: Passes detailed instructions, roles, and behaviors to the AI.
- Generator: Connects AI for text output generation. It uses ChatGPT-4 as default.
- Tool Calling Agent: Agents are autonomous AIs that use their own reasoning to perform tasks.
- Wikipedia Tool – Searches all of Wikipedia for information to match the query.
- Chat Output: Component representing the chatbot’s answer.
Useful Tips
There are several ways you can adjust and improve this flow:
- Connect and disconnect the search Tools according to your goals.
- Change the AI Agent’s goal and backstory to reflect your exact needs.
- Use an LLM component to switch to a different LLM model.