PostgreSQL

Shakespeare and the Bible: An AI Investigation

Summary Could the greatest playwright of all time have secretly shaped one of the most influential religious texts in history? Some believe William Shakespeare left his mark on the King James Bible hidden in plain sight. With the power of AI, we’ll investigate whether there’s any truth to this conspiracy. You can read about the conspiracy here: Did Shakespeare write the King James Bible? Shakespeare and the King James Bible – Some Tentative Conclusions

PostgreSQL for AI: Storing and Searching Embeddings with pgvector

Summary Vector databases are essential for modern AI applications like semantic search, recommendation systems, and natural language processing. They allow us to store and query high-dimensional vectors efficiently. With the pgvector extension PostgreSQL becomes a powerful vector database, enabling you to combine traditional relational data with vector-based operations. In this post, we will walk through the full process: Installing PostgreSQL and pgvector Setting up a vector-enabled database Generating embeddings using Ollama Running similarity queries with Python By the end, you’ll be able to store, query, and compare high-dimensional vectors in PostgreSQL, opening up new possibilities for AI-powered applications.