File size: 1,950 Bytes
cd41fb0
 
83758fe
cd41fb0
83758fe
cd41fb0
 
 
aeb4d6b
cd41fb0
83758fe
 
 
cd41fb0
 
 
62981d9
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
aeb4d6b
c13f029
 
e423f8b
aeb4d6b
62981d9
 
aeb4d6b
62981d9
aeb4d6b
 
 
 
 
 
 
c13f029
62981d9
aeb4d6b
edb4ebc
 
aeb4d6b
 
62981d9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
---
title: Atomcamp Chatbot
emoji: 🚀
colorFrom: blue
colorTo: green
sdk: gradio
sdk_version: 5.35.0
app_file: app.py
pinned: true
license: apache-2.0
short_description: atomcamp Chatbot is a custom AI assistant.
thumbnail: >-
  https://cdn-uploads.huggingface.co/production/uploads/684fd1b5f7723687a2b4b1f0/M2O5FkGRuWBaShPn0VgOr.png
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
# Atomcamp Chatbot

Atomcamp Chatbot is an AI-powered assistant developed for the Atomcamp platform. It is designed to answer queries related to Atomcamp's services, programs, and frequently asked questions using a combination of natural language understanding and document-based retrieval.

This chatbot leverages modern NLP techniques including sentence embeddings and vector-based semantic search. The objective is to deliver fast, accurate, and context-aware responses through a simple browser interface.

## Features

- Retrieval-Augmented Generation (RAG) pipeline
- Semantic search powered by FAISS
- Document chunking using RecursiveCharacterTextSplitter
- Embeddings via sentence-transformers/all-MiniLM-L6-v2
- Real-time user interface built with Gradio
- Modular and maintainable Python codebase
- Secure handling of environment variables

## Technologies

- Python 3.10+
- Gradio 5.35.0
- Hugging Face Transformers and Hub
- LangChain
- FAISS
- Sentence Transformers
- dotenv

# 1. Clone the Repository
git clone https://huggingface.co/spaces/ABdullah937e/atomcamp-chatbot
cd atomcamp-chatbot

# 2. Create Virtual Environment
python -m venv venv

# 3. Activate the Virtual Environment

## 3.1 For Linux/macOS:
source venv/bin/activate

## 3.2 For Windows:
venv\Scripts\activate

# 4. Install Dependencies
pip install -r requirements.txt

# 5. Set Environment Variable (using .env file)
# 5.1 Create a file named .env and add the following line:
"env"="28813h28e29e93j"

# 6. Run the App
python app.py