FEATURE REQUEST: Implement FAQ Handler with Web Search for Organizational Queries
Is your feature request related to a problem?
- [x] Yes, it is related to a problem
Describe the feature you'd like
π Feature Description
This feature re-envisions the FAQ Handler as a specialized tool that leverages web search to answer general, high-level questions about the organization. It is designed to be the go-to tool for users seeking to understand the organization's mission, projects, and operational model.
It will be triggered when users ask questions like:
- "What is this organization all about?"
- "How does this organization work?"
- "What projects do you have?"
- "What are the main goals of Devr.AI?"
π Problem Statement
Newcomers and potential contributors often have foundational questions about the organization itself before they dive into specific projects. Answering these questions manually is repetitive and inefficient. While a static knowledge base could work, it risks becoming outdated. A dynamic approach is needed to provide accurate, current information based on the organization's official public presence.
π― Expected Outcome
The FAQ Handler will act as an automated public-facing representative, providing instant and accurate information about the organization. The expected outcome is a system that can:
- Receive a general query about the organization.
- Dynamically search the web, focusing on the organization's official website, blog, and public repositories.
- Synthesize the search results into a concise, easy-to-understand answer.
- Provide source links to allow users to explore the topic further.
π· Screenshots and Design Ideas
The workflow will be managed by the FAQ Handler tool, which will essentially be a specialized and intelligent implementation of a web search node.
Refer Notion for preferred workflow.
π Additional Context
By aligning the FAQ Handler with the Web Search tool, we ensure a "single source of truth": the organization's own website and public materials. This approach is highly scalable and low-maintenance.
To make this tool effective, the primary task is not to build a database of FAQs, but to ensure that the organization's website is well-structured and contains clear, findable answers to these common questions. The success of the FAQ Handler is directly tied to the quality of the organization's public-facing content.
Record
- [x] I agree to follow this project's Code of Conduct
- [ ] I want to work on implementing this feature
HEY @smokeyScraper i would like to work on this
hey @Aditya30ag, sure man, you can give it a try. I'll be reviewing your PR soon.
Ok Thank you
hello @smokeyScraper , if this issue is still open and no one is working on it, id love to give it a go.
yeah @Rudra775, you can pick this. Just shoot your idea how you are planning on this. I'll elaborate on my workflow soon.
yes @PrithvijitBose, we require this tool to be aligned in a similar way; just with a few changes. For step 1, instead of any keyboard based matching, let there be a thinking node which can align the user's query to well aligned question. For step 2, we already have Tavily as well as DuckDuckGo configured. Rest flow is correct and we just need to ensure minimal nodes and minimizing calls to the model.
@Rudra775 did a bit of work on this issue too, I think you both can work on this issue together? I'll let you know more on the design details.
@smokeyScraper sure man, will love to work with like minded people
@PrithvijitBose im not an expert either, just trying to learn from everywhere i can. lets connect on discord and discuss. rudraaa_24
hey @Rudra775 @PrithvijitBose any updates?
hello @smokeyScraper, apologies for being inactive.. i was caught up juggling between 2 internships & college. But I've got some free time now.. if thats ok to you I'll try to raise a PR by Sunday as I had already started working on the issue
ok @PrithvijitBose i'll dm you on discord tonight
sure @Rudra775 @PrithvijitBose, take your time, guys. The last PR was a pretty good one, except for a bit of improper structuring. Try referring to it, please, as it worked decently well, the only fact that I was concerned about for the last PR was structuring and a few dead code flaws.
Access can be shared within branches by adding another person as a contributor to your forked repo. This way ensures that you both can commit to the same PR.
Happy Contributing :)
ok thanks @smokeyScraper
any update, guys? @Rudra775 @PrithvijitBose Are you still working on the issue?
yes @smokeyScraper, almost all the reviews made by you n coderrabit in the previous pr have been resolvede. just one part is left.. it should be done by today/tomorrow at latest.. pr should be raised by tomorrow if we still face any issue, i'll let you know on discord.
hey @smokeyScraper, i also want to give this a go. I've already gone through feature description and what works has been done till now along with a high level overview of what other people have tried earlier. If it is still open, can you assign this to me?
@smokeyScraper can i contribute on this issue , planning would be same -> @PrithvijitBose
FAQ Handler Implementation:
Iβve carefully read through the problem statement and I believe this is a high-impact addition to your project.
Here's how I plan to break this down and implement it, step by step:
Step 1: Question Intent Detection
- Build a simple NLP classifier (or use keyword-based matching) to determine if the userβs query is a general organizational FAQ (e.g., "What projects do you have?" or "How does Devr.AI work?").
- This helps trigger the specialized FAQ Handler only for relevant questions.
Step 2: Dynamic Web Search Tool
- Use a web search API like:
- SerpAPI (Google/Bing wrapper),
- or DuckDuckGo Search API (open/free).
- Fetch top 3β5 results focused on official sources.
Step 3: AI-Powered Synthesis
- Feed the top search results (title, snippet, URL) into an LLM like OpenAI GPT or Gemini using a structured prompt.
- Example prompt:
"Based on the following search results, answer this user question in a concise and helpful way: 'What projects does Devr.AI work on?'"
Step 4: Generate Final Response
- Parse the LLM output to:
- Return a clear, user-friendly answer.
- Include a list of cited sources.
Step 5: Integration into the Main Bot or Frontend
- Package this as a backend endpoint or a callable tool inside your chatbot/workflow agent.
- Ensure it fails gracefully (e.g., no results or poor connectivity β fallback message).
π§ Why Me? Although Iβm new to contributing, Iβm genuinely passionate about AI, developer tools, and meaningful open source work. I'm confident I can break this down into clean, maintainable code and deliver something the community will benefit from.
Iβd love your feedback or go-ahead to get started!
I have good knowledge about langChain and Ai-application ;; if you confirm then i would like to contribute on this issue.