Skip to main content

django_openailite

Instructions

Install this github project only

  • cd django;
  • python3.11 -m venv env
  • source env/bin/activate
  • pip install --upgrade pip
  • pip install -r requirements.txt
  • Note that openai==1.73.0 is with model gpt-4o-mini is used. Other combinations may fail since the assistants api seems to change daily.

Get OPENAI_API_KEY

  • Visit https://openai.com , establis an account, and login to the API platform
  • You do not need a ChatGPT account, but you must have a paid openai account. It is pay as you go and putting $10 in will allow you to test
  • Create an API key, copy it and create the environment variable
  • OPENAI_API_KEY=xxxxxxxx

Run

  • python manage.py makemigrations
  • python manage.py migrate
  • python manage.py createsuperuser
  • python manage.py runserver
  • visit http://localhost:8000

Test

  • pytest is slow, so to make sure you see what is happening flag with -s to see prints statements
  • pytest -s
  • python manage.py runserver
    • Then check the admin pages to add files, vector_stores, assistants and threads.

Build

  • cd src
  • python -m build

Metadata

Release files for django-ragamuffin 3.6.0.8

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-ragamuffin 3.6.0.8
File Size Uploaded
django_ragamuffin-3.6.0.8.tar.gz 72.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for django-ragamuffin 3.6.0.8
File Interpreter ABI Platform
django_ragamuffin-3.6.0.8-py3-none-any.whl Python 3 none any Details

Total release size: 161.1 kB

Release files / django_ragamuffin-3.6.0.8.tar.gz

Download URL django_ragamuffin-3.6.0.8.tar.gz
Size 72.8 kB
Tags Source
SHA-256 checksum
How to use checksums
3a90a673b48c25a4eb4d8241ed4d8c3f0dbe2fba3b8e510797e543087c3d97d1
BLAKE2b-256 checksum
How to use checksums
7bd243bf8b3ed89b7a6ee5d73b0b18777089ecd9cc2f3228408d394cdd854f05
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release files / django_ragamuffin-3.6.0.8-py3-none-any.whl

Download URL django_ragamuffin-3.6.0.8-py3-none-any.whl
Size 88.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3f70c0ff0b541865254ecd42a360adcaf2b7abd448c7deff0d5ef94f333963a4
BLAKE2b-256 checksum
How to use checksums
e280399fcc728e37a3e0678bfc73afb2f237267ef7936e1947d7286a37d1bebd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.14.4

Release history Release notifications | RSS feed

This release

3.6.0.8 This release

2 release files

1.74.2

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page