CoolFace
Apppublic

Akshitha-AI-Learner/web-technology-Assistant-AI

sourceHugging Facemitupdated 1mo agoView on Hugging Face
0likes
App README

๐ŸŒ Web Technology Assistant AI

๐Ÿ“š About the Project

Web Technology Assistant AI is a PDF-based chatbot built using Python and Gradio.

The chatbot uses a Web Technology PDF as its knowledge source and allows users to ask questions about topics covered in the PDF.

The PDF contains questions and answers related to:

  • โ€”HTML
  • โ€”CSS
  • โ€”Bootstrap
  • โ€”JavaScript

๐Ÿค– How It Works

The chatbot follows these steps:

  1. 1.Loads the Web Technology PDF.
  2. 2.Extracts text from the PDF.
  3. 3.Splits the extracted text into smaller sections.
  4. 4.Converts the sections into numerical embeddings.
  5. 5.Converts the user's question into an embedding.
  6. 6.Finds the most relevant sections from the PDF.
  7. 7.Displays the relevant information as the answer.

๐Ÿ“– Knowledge Source

The chatbot uses the following PDF:

`web_technology.pdf`

The PDF contains Web Technology questions and answers, including topics such as HTML elements, attributes, semantic HTML, CSS selectors, the CSS Box Model, Bootstrap components, JavaScript variables, functions, DOM, events, and form validation.

๐Ÿ’ฌ Example Questions

You can ask questions such as:

  • โ€”What is HTML?
  • โ€”What is the basic structure of an HTML5 document?
  • โ€”What are HTML attributes?
  • โ€”What is semantic HTML?
  • โ€”What is CSS?
  • โ€”What is the CSS Box Model?
  • โ€”What is the difference between margin and padding?
  • โ€”What is a CSS gradient?
  • โ€”What is Bootstrap?
  • โ€”What is the Bootstrap grid system?
  • โ€”What is a Bootstrap container?
  • โ€”What is JavaScript?
  • โ€”What are JavaScript variables?
  • โ€”What are JavaScript loops?
  • โ€”What is the DOM?
  • โ€”What are JavaScript events?
  • โ€”What is form validation?

๐Ÿ› ๏ธ Technologies Used

  • โ€”Python
  • โ€”Gradio
  • โ€”PyPDF
  • โ€”Sentence Transformers
  • โ€”NumPy
  • โ€”Hugging Face Spaces

๐Ÿ“ Project Structure

text
web-technology-Assistant-AI/
โ”‚
โ”œโ”€โ”€ app.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ README.md
โ””โ”€โ”€ web_technology.pdf