Skip to main content

Comprehensive framework for integrating AI capabilities into Django applications

Project description

Django AI Framework (DAIF)

A comprehensive framework for integrating AI capabilities into Django applications, with LangChain powering the underlying LLM interactions.

Features

  • Seamless integration with Django models and authentication
  • Support for multiple LLM providers (OpenAI, Anthropic, Mistral) via LangChain
  • Conversation management and history
  • Permission and quota systems
  • Pre/post processing pipeline
  • Tool system for extending AI capabilities with custom functions
  • Team coordination for multi-agent workflows using LangChain orchestration
  • Django-native interface with LangChain power under the hood

Architecture

DAIF uses a layered architecture:

  • Public Interface Layer: Django models and clean APIs
  • Service Layer: Business logic and orchestration
  • Adapter Layer: Converts between DAIF and LangChain types
  • LangChain Layer: Handles all LLM interactions

This approach gives you the simplicity of a Django-native API with the power and flexibility of LangChain.

Installation

First version with complete documentation coming soon!

Documentation

First version with complete documentation coming soon!

Development

First version with complete documentation coming soon!

License

This project is licensed under the MIT License - see the LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django_ai_framework-0.0.1.tar.gz (3.7 kB view details)

Uploaded Source

File details

Details for the file django_ai_framework-0.0.1.tar.gz.

File metadata

  • Download URL: django_ai_framework-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for django_ai_framework-0.0.1.tar.gz
Algorithm Hash digest
SHA256 f410af86ddc05dc4d59a828e01fb404a6fb1e0069086f2b946e1abfb427a47ae
MD5 4e8288cd728fc78417106c591593a00e
BLAKE2b-256 1b1d890544a488efb5c32278798c309317a967f351ec4582725be1dee39dfa60

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page