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

postgresql

  1. Home>
  2. postgresql

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

PostgreSQL Pager OFF

  • Post author:Van Ly
  • Post published:February 12, 2025
  • Post category:postgresql

This is a useful but difficult-to-remember command for PSQL: \pset pager off Or, if the invocation of psql is within control, add the -P pager=off argument: psql -P pager=off ...…

Continue ReadingPostgreSQL Pager OFF

Postgresql and Mysql Docker containers

  • Post author:Van Ly
  • Post published:January 24, 2021
  • Post category:DB/docker/mysql/postgresql

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…

Continue ReadingPostgresql and Mysql Docker containers

Django Dev Env w/ Docker Compose

  • Post author:Van Ly
  • Post published:June 17, 2020
  • Post category:django/docker/postgresql/programming

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…

Continue ReadingDjango Dev Env w/ Docker Compose
  • Author.instance().info()
  • Docker Starters
Copyright - WordPress Theme by OceanWP