Skip to content

Gssoc FAQ Bot is your friendly GSSoC assistant designed to answer FAQs and guide contributors smoothly. It uses smart matching to find the best answers from a curated database—no AI, just reliable info! This bot will answer all FAQ to user. Automating the process of Community manager where multiple user asks redundant questions every new day.

License

Notifications You must be signed in to change notification settings

piyushpatelcodes/gssocFAQ-Bot

 
 

Repository files navigation

🤖 GSSoC FAQ Bot

An intelligent FAQ bot built using Python and Flask, designed to answer queries related to GirlScript Summer of Code (GSSoC). This bot reads FAQs from a JSON file and returns the most relevant answer using semantic similarity via string matching techniques.


🔧 Features

  • Query understanding with string matching Processing
  • Cosine similarity-based matching
  • Preloaded with GSSoC-related FAQs
  • Easy-to-extend question-answer pairs
  • REST API endpoint for integration

🧠 How It Works

  1. User enters a query.
  2. The bot computes the cosine similarity between the query and all known questions.
  3. Returns the most semantically similar answer from the dataset.

🚀 Getting Started

📋 Prerequisites

  • Node.js

🛠 Installation

Clone the repository:

git clone https://github.com/abdulwasaeee/gssocFAQ-Bot.git
cd gssocFAQ-Bot

Install the dependencies:

npm install

🧪 Run the Bot

Start the Flask server:

node ./index.js

For Docs website of bot Navigate to:

http://localhost:3000/docs

📝 Add More FAQs

Edit the faq.json file and add more question-answer pairs in the same format:

{
  "questions": [
    {
      "question": "What is GSSoC?",
      "answer": "GirlScript Summer of Code is a 3-month open-source program conducted by GirlScript Foundation."
    }
  ]
}

🤝 Contributing

Contributions are welcome! Please fork the repository and submit a pull request.

Steps:

  1. Fork the repo
  2. Create your feature branch (git checkout -b feature/YourFeature)
  3. Commit your changes (git commit -m 'Add commit msg')
  4. Push to the branch (git push origin feature/YourFeature)
  5. Open a Pull Request

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.


🌟 Star the repo

If you found this helpful, consider starring the repository to show your support!

About

Gssoc FAQ Bot is your friendly GSSoC assistant designed to answer FAQs and guide contributors smoothly. It uses smart matching to find the best answers from a curated database—no AI, just reliable info! This bot will answer all FAQ to user. Automating the process of Community manager where multiple user asks redundant questions every new day.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 19