Doc Talk AI – README | MCP Marketplace

✨ From vibe coding to vibe deployment. UBOS MCP turns ideas into infra with one message.

Learn more

Logo

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

  1. Run the Application

    python3 -m streamlit run app.py
    
  2. In 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:

  1. Fork the repository
  2. Create a branch for your feature (git checkout -b my-feature)
  3. Commit your changes (git commit -m "Added new feature")
  4. Push to GitHub (git push origin my-feature)
  5. Open a Pull Request 🚀

📞 Contact

For questions or suggestions, reach out: 💌 paulocoutinhox@gmail.com 🔗 GitHub

🖼️ Screenshots

📜 License

MIT

Copyright © 2025, Paulo Coutinho

Featured Templates

View More
AI Characters
Sarcastic AI Chat Bot
128 1440
AI Engineering
Python Bug Fixer
119 1080
AI Assistants
AI Chatbot Starter Kit v0.1
130 667
AI Assistants
Talk with Claude 3
156 1165
Verified Icon
AI Assistants
Speech to Text
134 1510

Start your free trial

Build your solution today. No credit card required.

Sign In

Register

Reset Password

Please enter your username or email address, you will receive a link to create a new password via email.