Embedding Vector Search w/ Django & PostgreSQL, Part 1
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…
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'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:…
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…
Over the weekend I found out about a CMS software written on top of Django called Wagtail. The installation instructions promise an easy path. Just run: pip install wagtail Since…
To quickly get an instance of PostgreSQL and MySQL up and running, use the following docker-compose setup: Create a subdirectory to place the docker-compose.yml and optionally the data files for…
A few years back I ran into a problem when working with Django on Windows while my colleagues were on Mac OS where a datetime routine (forgot which one) behaved…