How I Made My Own AI Search Engine - No Coding - Google + ChatGPT API
People & Blogs
Introduction
In this article, I would like to share the process of creating my own AI search engine without needing any coding skills. Using a free tool called Tool Maker on our site, Skill Fusion, I was able to design a search engine that integrates both the ChatGPT API and Google’s search capabilities. This article will walk you through how my AI search engine works and how you can create your own.
How It Works
The primary functionality of my AI search engine is to first provide an answer to a user's question, leveraging the capabilities of ChatGPT. After generating an initial response, the AI then performs a Google search to fact-check its answer and presents any supportive or contradictory information it finds.
To illustrate this, I set out to investigate an intriguing claim about Andre the Giant—did he really drink 100 beers in one sitting? The Tool Maker I used employs a block-based building approach. Each step is organized into distinct blocks that work in sequence to provide a comprehensive answer.
When a user submits a question, the AI generates a response based on its internal knowledge. It then conducts a Google search using the specified query. Utilizing Google’s search API, it retrieves the top 20 results. The AI reviews these results, selects three of the most relevant pages, and scrapes the content from them. While some websites block scraping, the AI is able to extract data from the majority of sites.
In response to my query about Andre the Giant, the AI generated an initial answer and then fact-checked it. Interestingly, it found a claim stating that he had consumed 156 beers in one sitting, which is quite astonishing! This two-step approach enables users to get a comprehensive answer backed by real-time information.
Furthermore, if the AI finds additional data relevant to the initial question, it summarizes this alongside its original response. This feature is particularly useful in scenarios where the user might be seeking current information, such as on topics like cryptocurrency or health supplements.
Users also have the option to have the AI re-evaluate its original answer considering the new information it retrieved. This feature ensures that the answers are up-to-date and incorporates the most recent findings.
Building Your Own Tool
If you're interested in creating your own search engine or a different type of AI tool, the Tool Maker offers a user-friendly, block-based structure for building. Each type of block corresponds to a specific function:
- User Questions Block: Where the user submits their search term.
- Prompts Block: For communication with the AI.
- Processing Block: To manage and split lists and content.
- Google Search Block: To fetch Google results.
- Scraping Block: To extract relevant content from selected URLs.
You can customize your tool based on your preferences or specific needs. Additionally, once you create your own tool, you have access to the same features that I used to create my AI search engine.
Conclusion
I highly recommend giving it a try if you're looking for a way to streamline your search experience. You may find this AI search engine to be a valuable alternative to traditional search engines like Google, especially in providing more nuanced and verified responses. With the added benefit of no ads, navigating and finding information becomes much easier and cleaner.
Happy searching, and I hope you find this tool as useful as I have!
Keywords
AI Search Engine, Tool Maker, ChatGPT, Google API, No Coding, Fact-Checking, Web Scraping, User Queries.
FAQ
1. Can I create my own AI search engine without coding?
Yes! Using the Tool Maker from Skill Fusion allows you to build your own AI search engine with a block-based approach, requiring no coding skills.
2. How does the AI search engine fact-check its answers?
The AI first generates an answer based on its internal knowledge and then performs a Google search to validate its response by pulling information from other web sources.
3. What happens if the AI finds conflicting information?
The AI will present the new findings alongside its initial response, allowing users to see both the original answer and any additional insights found during the search.
4. What kind of blocks can I use to build my tool?
You can use various blocks for user questions, prompts for AI communication, processing data, Google search findings, and scraping content from URLs.
5. Is there a limit to the number of queries I can make?
Yes, there is a limit based on the model you're using, but you can continue to engage with the AI until it reaches that limit.