Simple script to query your files using ChatGPT
Top 25.3% on sourcepulse
This project provides a straightforward Python script to enable ChatGPT to query personal files. It's designed for users who want to leverage large language models on their own data without complex setup. The primary benefit is enabling conversational access to private documents.
How It Works
The script utilizes the Langchain library for orchestrating LLM interactions and data retrieval. It employs ChromaDB as a vector store for indexing and searching document embeddings, and unstructured
for parsing various file types. This approach allows for efficient semantic search over user-provided files, enabling ChatGPT to answer questions based on their content.
Quick Start & Requirements
pip install langchain openai chromadb tiktoken unstructured
data/
directory.constants.py.default
to constants.py
with your API key.Highlighted Details
.txt
and .pdf
files.Maintenance & Community
No specific community channels, contributors, or roadmap are mentioned in the provided README.
Licensing & Compatibility
The README does not specify a license. Compatibility for commercial or closed-source use is not detailed.
Limitations & Caveats
The script currently only explicitly demonstrates support for .txt
and .pdf
file types. The lack of a specified license and detailed community information may impact long-term viability and commercial adoption.
1 year ago
1 week