Skip to content

Get started

Prerequisites

  • Python: Supported Python versions
  • Django: Supported Django versions

How to install

Install Django AI Assistant package, specifying which provider you wish to install (in the example below it'll install the required dependencies for using OpenAI utils):

pip install django-ai-assistant[openai]

The options for provider are: - openai - anthropic - google

Add Django AI Assistant to your Django project's INSTALLED_APPS:

myproject/settings.py
INSTALLED_APPS = [
    ...
    'django_ai_assistant',
    ...
]

Run the migrations:

python manage.py migrate

Learn how to use the package in the Tutorial section.