-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
20 changed files
with
1,151 additions
and
144 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,6 +15,7 @@ indent_size = 2 | |
|
||
[*.md] | ||
trim_trailing_whitespace = false | ||
indent_size = 4 | ||
|
||
[Makefile] | ||
indent_style = tab |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
# Get started | ||
|
||
## Prerequisites | ||
|
||
- Python: <a href="https://pypi.org/project/django-ai-assistant" target="_blank"><img src="https://img.shields.io/pypi/pyversions/django-ai-assistant.svg?color=%2334D058" alt="Supported Python versions"></a> | ||
- Django: <a href="https://pypi.org/project/django-ai-assistant" target="_blank"><img src="https://img.shields.io/pypi/frameworkversions/django/django-ai-assistant.svg" alt="Supported Django versions"></a> | ||
|
||
## How to install | ||
|
||
Install Django AI Assistant package: | ||
|
||
```bash | ||
pip install django-ai-assistant | ||
``` | ||
|
||
Add Django AI Assistant to your Django project's `INSTALLED_APPS`: | ||
|
||
```python title="myproject/settings.py" | ||
INSTALLED_APPS = [ | ||
... | ||
'django_ai_assistant', | ||
... | ||
] | ||
``` | ||
|
||
Run the migrations: | ||
|
||
```bash | ||
python manage.py migrate | ||
``` | ||
|
||
Learn how to use the package in the [Tutorial](tutorial.md) section. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# Django AI Assistant | ||
|
||
Implement powerful AI Assistants using Django. | ||
Combine the power of Large Language Models with Django's productivity. | ||
|
||
Regardless of the feasibility of AGI, AI assistants are (already!) a new paradigm for computation. | ||
AI agents and assistants allow devs to easily build applications with smart decision logic | ||
that would otherwise be too expensive to build and maintain. | ||
|
||
The latest LLMs from major AI providers have a "killer feature" called Tool Calling, | ||
which enables AI models to call provided methods from Django's side, and essentially | ||
do anything a Django view can, such as accessing DBs, checking permissions, sending emails, | ||
downloading and uploading media files, etc. | ||
|
||
While users commonly interact with LLMs via conversations, AI Assistants can do a lot with any kind of string input, including JSON. | ||
Your application's end users won't even realize that a LLM is doing the heavy-lifting behind the scenes! | ||
Some ideas for innovative AI assistants: | ||
|
||
- A movie recommender chatbot that helps users manage their movie backlogs | ||
- An autofill button for certain forms of your application | ||
- Personalized email reminders that consider users' written preferences and the application's recent notifications | ||
- A real-time audio guide for tourists that recommends attractions given the user's current location | ||
|
||
We have an open-source example with some of those applications, but it's best to start with the [Get Started](get-started.md) guide. |
Oops, something went wrong.