DOC TALK - AI ๐ง
DOC TALK - AI is an interactive application that allows users to chat with their documents using artificial intelligence. With this tool, you can ask questions about your files and receive instant answers, eliminating the need to manually search through them. The project is developed in Python and utilizes Streamlit to provide a user-friendly and intuitive interface.
๐ Features
- ๐ Supports multiple document formats (PDF, TXT, DOCX, etc.)
- ๐ Intelligent search within uploaded files
- ๐ง Integration with local and cloud AI models
- ๐ Compatible with OpenAI GPT, Gemini AI, and more
- ๐พ Stores interaction history for quick reference
- ๐ง Simple and flexible configuration
- ๐ Easy-to-use web interface built with Streamlit
๐ฅ Installation
1. Clone the Repository
git clone https://github.com/paulocoutinhox/doc-talk-ai.git
cd doc-talk-ai
2. Create a Virtual Environment
python3 -m venv .venv
source .venv/bin/activate # macOS/Linux
.venvScriptsactivate # Windows
3. Install Dependencies
pip install -r requirements.txt
4. Run the Application
python3 -m streamlit run app.py
โ๏ธ Configuration
1. Set Credentials for Cloud AI Models
If you want to use OpenAI GPT, Gemini AI, or other cloud models, add your API keys to the configuration file.
๐ See the detailed guide: ๐ Cloud Models Configuration
2. Set Custom Root Directory (Optional)
If you want to change the directory where data is stored, define the environment variable:
Linux/macOS
export DOC_TALK_AI_ROOT="/custom/path"
Windows (Command Prompt)
set DOC_TALK_AI_ROOT="C:custompath"
Windows (PowerShell)
$env:DOC_TALK_AI_ROOT="C:custompath"
๐ ๏ธ Usage
Run the Application
python3 -m streamlit run app.pyIn the Web Interface, follow these steps:
- Upload a document you want to interact with
- Select an AI model (cloud or local)
- Ask questions in natural language about the document
- Receive AI-generated responses instantly ๐ฏ
๐ Project Structure
doc-talk-ai/
โ
โโโ README.md # Project documentation
โโโ app.py # Main entry point
โโโ requirements.txt # Core dependencies
โ
โโโ data/ # Data storage
โ โโโ chroma-db/ # Vector database
โ โโโ uploads/ # Uploaded documents
โ
โโโ docs/ # Additional documentation
โ
โโโ extras/ # Additional resources
โ โโโ images/ # Logos and screenshots
โ
โโโ helpers/ # Utility functions
โ โโโ file.py # File handling
โ โโโ model.py # Model management
โ โโโ prompt.py # Prompt generation
โ โโโ string.py # String utilities
โ
โโโ lang_chain/ # AI logic and document processing
โ โโโ document_chat.py # Core logic for document interaction
โ
โโโ models/ # AI model implementations
โ โโโ base_model.py # Base class for AI models
โ โโโ gemini_model.py # Gemini AI integration
โ โโโ openai_model.py # OpenAI GPT integration
๐ค Contributing
Want to improve the project? Follow these steps:
- Fork the repository
- Create a branch for your feature (
git checkout -b my-feature) - Commit your changes (
git commit -m "Added new feature") - Push to GitHub (
git push origin my-feature) - Open a Pull Request ๐
๐ Contact
For questions or suggestions, reach out: ๐ paulocoutinhox@gmail.com ๐ GitHub
๐ผ๏ธ Screenshots

๐ License
MIT
Copyright ยฉ 2025, Paulo Coutinho
Doc Talk AI
Project Details
- makaronz/doc-talk-ai
- Last Updated: 6/3/2025
Recomended MCP Servers
ๆทๅฎๅฎข๏ผไบฌไธๅฎข๏ผๅคๅคๅฎขไธ็จMCP๏ผๆฏๆๅ จๅนณๅฐๆไปฅAPIๆฅๅฃ็ๅทฅๅ ท๏ผ่ฝฌ้พๆฅ๏ผๆ็ดข็ญ็ญ
MCP server for Dart VM and Flutter
MCP Server for OceanBase database and its tools
Open source API development ecosystem - https://hoppscotch.io (open-source alternative to Postman, Insomnia)
mindmap, mcp server, artifact
mcp
A resilient MCP server built with fastMCP for sending emails through Gmail's SMTP server using AI agents.
Awesome MCP template for awesome FastAPI builders
ManusMCP is a project that implements AI agent workflows using Flowise. It features specialized AI agents with distinct...
Model Context Protocol server that integrates AgentQL's data extraction capabilities.





