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…
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…
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:…
Sentry is one of those things that most companies use, but most people (or maybe just I) don't really know how to use it. The way I learn these things…
Revisiting https://www.pn.therealvan.com/2021/01/24/postgresql-and-mysql-docker-containers/, this post focuses on a plain Django app with minimal dependencies: exclude pipenv using the default SQLite DB Bootstrapping Start with these files: Dockerfile FROM python:3 ENV PYTHONUNBUFFERED…