Publishing Django Apps
Publishing reusable Django apps to PyPI
Publishing reusable Django apps to PyPI
Data Model for Embedding Typically, a model is used whose record includes: the text being embedded the embedding (vector of floats) However, RDBMSes have strict and relatively static schemas that…
Sigh. 🙄 Yes--yet another "AI" article in a blog. The pgvector extension allows PostgreSQL to support vector searches. This ability is useful for implementing RAG solutions. The link has all…
I've had to set these up so many times that having a starter .tar.gz will help:django-starter.tar.gz Contents Dockerfile docker-compose.yml requirements.txt Commands Shell in with service ports: docker-compose run --rm --service-ports…
The following notes apply when using Celery with the RabbitMQ broker. Celery Settings task_acks_late The Celery setting task_acks_late (by default disabled), if set, will defer message ACK with RabbitMQ until…
I'm getting into the fray that is Generative AI since, according to some, my job as a programmer will soon be taken over by some literal code cranking machine. There…
Picking up from Django app template w/ Docker, here are the steps to add Celery to the Django app. Add RabbitMQ as the message queue Modify docker-compose.yml to include: services:…