Starter app for querying doc collections using LLMs
Top 87.4% on sourcepulse
This project provides a starter application for building document querying systems powered by Large Language Models (LLMs). It targets developers and researchers looking to integrate LLM capabilities, such as text analysis and manipulation, into Django-based applications, offering a proof-of-concept for streaming LLM responses.
How It Works
Delphic leverages LlamaIndex and Langchain to build LLM agents for document analysis. The core approach involves using OpenAI's API for text processing, with plans to support other LLMs. This design choice prioritizes ease of deployment and access to capable models, though it currently mandates OpenAI API usage and its associated terms.
Quick Start & Requirements
mkdir -p ./.envs/.local/
, cp -a ./docs/sample_envs/local/.frontend ./frontend
, cp -a ./docs/sample_envs/local/.django ./.envs/.local
, cp -a ./docs/sample_envs/local/.postgres ./.envs/.local
), update .django
with your OPENAI_API_KEY
, then run sudo docker-compose --profile fullstack -f local.yml build
and sudo docker-compose --profile fullstack -f local.yml up
.Highlighted Details
Maintenance & Community
The project is marked as not maintained, with a recommendation to check out OpenContracts for a more modern version. The author is seeking someone to take over maintenance.
Licensing & Compatibility
Limitations & Caveats
The application is not production-ready and requires significant upgrades. Currently, all logged-in users have full permissions, with plans to implement role-based access control. Collection creation and querying incur costs via OpenAI API credits.
1 year ago
1 day