Skip to content

rorychatt/BookNotFound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BookNotFound 📚

BookNotFound is an intelligent documentation search and question-answering system that helps users find and interact with documentation more effectively. It uses natural language processing to understand questions and provide context-aware responses from your documentation.

Features 🌟

  • Natural Language Question Answering: Ask questions in plain English and get relevant answers
  • Context-Aware Responses: Responses are generated considering the full context of your documentation
  • Confidence Scoring: Each answer comes with a confidence score to indicate reliability
  • Interactive Feedback: Users can provide feedback on answers and suggest improvements
  • Documentation Management: Admin interface for managing and editing documentation
  • Markdown Support: Full markdown support with live preview and diff editing
  • Suggestion System: Users can suggest new documentation when no relevant content is found

Getting Started 🚀

Prerequisites

  • Node.js (v18 or higher)
  • Python (v3.8 or higher)
  • MongoDB

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/BookNotFound.git
cd BookNotFound
  1. Install frontend dependencies:
cd book-not-found
npm install
  1. Install backend dependencies:
cd backend
python -m venv venv
source venv/bin/activate  # On Windows: .\venv\Scripts\activate
pip install -r requirements.txt
  1. For any env setup, see documentation within the FE or BE folders

Running the Application

  1. Start the backend server:
cd backend
source venv/bin/activate  # On Windows: .\venv\Scripts\activate
python app.py
  1. Start the frontend development server:
cd book-not-found
npm run dev

The application will be available at:

Usage 💡

Asking Questions

  1. Enter your question in natural language
  2. The system will search through documentation and provide relevant answers
  3. View confidence scores and source documents
  4. Provide feedback on answers

Managing Documentation

  1. Access the admin panel at /admin
  2. Create, edit, or delete documentation
  3. View and manage user feedback and suggestions
  4. Monitor system performance and usage

Contributing to Documentation

  1. Use the suggestion system when relevant documentation isn't found
  2. Provide feedback on existing documentation
  3. Suggest improvements through the built-in editor

Architecture 🏗️

  • Frontend: Angular with TailwindCSS and DaisyUI
  • Backend: Python with FastAPI
  • Database: MongoDB
  • Search: Semantic search with embeddings
  • Editor: Monaco Editor with diff support

Contributing 🤝

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

License 📄

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

Acknowledgments 🙏

About

Book not found - LNN powered smart markdown editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors