convez.ai
PluginProdutividadeIntermediário
A-TomMarvoloRiddle

Chat with PDF

A-TomMarvoloRiddle/Chat-with-PDF

Converse com seus PDFs usando IA conversacional

Ver no GitHub
InicialPluginScore · de 0 a 100

Aplicação Streamlit que permite fazer perguntas sobre o conteúdo de arquivos PDF através de uma interface conversacional alimentada por Claude Sonnet. Utiliza extração de texto, chunking inteligente e busca vetorial com FAISS para recuperar informações relevantes dos documentos.

Instalação

$npx convez-ai A-TomMarvoloRiddle/Chat-with-PDF

1 comando no terminal: detecta o formato do repositório (marketplace ou plugin avulso) e instala via Claude Code. Requer Node 18+ e o Claude Code instalado.

Métricas

Estrelas
0
Forks
0
Acompanhando
1
Saúde
28%
Último commit
há 1 ano
Versão
—
Issues abertas
0
Contribuidores
1

Casos de uso

  • Extrair e consultar informações de documentos PDF automaticamente
  • Análise rápida de contratos, relatórios e manuais técnicos
  • Assistente de pesquisa para múltiplos documentos em paralelo

Veredito

Solução prática e bem arquitetada para consulta de PDFs via linguagem natural. Stack sólido (FAISS + LangChain + Claude) com bom potencial para produção, embora requeira ajustes de segurança e tratamento de limites de token para documentos grandes.

README

A tradução para o português deste README ainda está na fila.

PDF Chatbot 📄🤖

This is a PDF-based chatbot built using Streamlit, PyPDF2, and Claude Sonnet API. It enables users to upload PDF files, extract text, and ask questions about the content using Natural Language Processing (NLP) and Machine Learning (ML).

Features 🚀

✔ Upload Multiple PDFs: Users can upload multiple PDFs to extract text.
✔ Text Extraction: The chatbot reads text from PDFs using PyPDF2.
✔ Text Chunking: Large text is split into smaller, manageable chunks.
✔ Vector Store with FAISS: Stores text chunks efficiently for retrieval.
✔ Conversational AI: Uses Claude Sonnet API to process and answer user queries.
✔ Interactive UI: Built with Streamlit for an easy-to-use web interface.

Technologies Used 🛠

  • Python 🐍
  • Streamlit (Web UI)
  • PyPDF2 (PDF text extraction)
  • FAISS (Vector store for efficient text retrieval)
  • LangChain (NLP & ML framework)
  • Claude Sonnet API (AI-based conversation model)
  • OpenAI & Anthropic APIs (LLM integration)

How It Works 🤖

1️⃣ User uploads PDF files → The chatbot extracts text.
2️⃣ Text is split into chunks → Helps in better query matching.
3️⃣ FAISS stores the text → Creates an efficient vector-based storage.
4️⃣ User asks a question → The bot retrieves relevant text from PDFs.
5️⃣ Claude Sonnet API processes the query → AI generates the response.
6️⃣ Answer is displayed in the chat interface.

Usage Instructions 📝

  • Run the chatbot using Streamlit.
  • Upload PDFs via the sidebar menu.
  • Click "Submit & Process" to extract and store text.
  • Ask questions in the input field, and the chatbot will provide accurate answers.

Screenshots 🖼

image

Ver o original no GitHub

Bom para

Relacionados