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'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…
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…
Notes on setting up a Docker/Vite/React/Redux Toolkit service in Docker. That's a mouthful. Docker Files Start with a name for the project (e.g. "myproject"). Then create these Docker files: Dockerfile…
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…