Loading repository data…
Loading repository data…
edsonlourenco / repository
This project showcases how to build an intelligent chatbot using LLMs and PDF document vectorization. The goal is to enable contextual Q&A over a technical e-book using state-of-the-art AI.
A transparent discovery signal based on current public GitHub metadata.
This score does not audit code, security, maintainers, documentation quality, or suitability. Verify the repository and its current documentation before adoption.
Welcome to Vector Brain! This project showcases how to build an intelligent chatbot using LLMs and PDF document vectorization. The goal is to enable contextual Q&A over a technical e-book using state-of-the-art AI.
The vectorized PDF is the official free Databricks e-book (PT-BR version):
TAP FULL POTENTIAL LLM - Databricks
Check out some scenes of the project in action:
Scene 1: Chatbot initialization and loading of the vectorized PDF document.
Scene 2: User asks a question about the e-book content and receives a contextualized answer.
Scene 3: Demonstration of chat session ending with a friendly message.
Follow these steps to run the project locally:
Clone the repository
git clone https://github.com/your-username/Vector-Brain.git
cd Vector-Brain
Create and activate a virtual environment
python3 -m venv .venv
source .venv/bin/activate # Linux/Mac
.venv\Scripts\activate # Windows
Install dependencies
pip install -r requirements.txt
Set up your OpenAI key
.env file in the project root with:
OPENAI_API_KEY=your-openai-key-here
Run the application
python main.py
Chat with the bot
sair, exit, or quit.Run all automated tests with:
pytest
utils/ — Utility modules (chatbot, database, settings)tests/ — Automated testsdocs/ — PDFstatic/demo/ — Demo imagesFeel free to open issues or pull requests!
Made with 💙 by Edson Lourenço