Skip to content
Programming Notes
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search
Menu Close
  • Home
  • Docker Starters
  • Author.instance().info()
  • Toggle website search

Python

  1. Home>
  2. programming>
  3. Python

Embedding Vector Search w/ Django & PostgreSQL, Part 2

  • Post author:Van Ly
  • Post published:March 4, 2025
  • Post category:django/postgresql/programming/Python

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…

Continue ReadingEmbedding Vector Search w/ Django & PostgreSQL, Part 2

Embedding Vector Search w/ Django & PostgreSQL, Part 1

  • Post author:Van Ly
  • Post published:February 12, 2025
  • Post category:django/docker/postgresql/programming/Python

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…

Continue ReadingEmbedding Vector Search w/ Django & PostgreSQL, Part 1

Python Docker Starter

  • Post author:Van Ly
  • Post published:October 25, 2024
  • Post category:docker/programming/Python

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…

Continue ReadingPython Docker Starter

Celery/RabbitMQ Notes on Task Timings

  • Post author:Van Ly
  • Post published:September 1, 2024
  • Post category:celery/django/rabbitmq

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…

Continue ReadingCelery/RabbitMQ Notes on Task Timings

PyTorch in Docker

  • Post author:Van Ly
  • Post published:March 3, 2024
  • Post category:docker/programming/Python

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…

Continue ReadingPyTorch in Docker

Celery with RabbitMQ on Docker

  • Post author:Van Ly
  • Post published:September 4, 2023
  • Post category:celery/django/docker/programming/Python

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:…

Continue ReadingCelery with RabbitMQ on Docker

Sentry on Django

  • Post author:Van Ly
  • Post published:August 4, 2023
  • Post category:django/programming/Python/sentry

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…

Continue ReadingSentry on Django
  • 1
  • 2
  • Go to the next page
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP