AI & Embeddings
Build AI applications with Neon Postgres as your vector database
Vector databases enable efficient storage and retrieval of vector data, which is an essential component in building AI applications that leverage Large Language Models (LLMs).
Neon supports the pgvector
open-source extension, which enables Postgres as a vector database for storing and querying embeddings. This means you can leverage the open-source database that you trust as your vector store and forget about migrating data or adding a third-party vector storage solution.
Neon's AI Starter Kit provides resources, starter apps, and examples to help get you started.
The Neon AI Starter Kit includes:
- Neon Postgres with the latest version of the Postgres pgvector extension for storing vector embeddings
- A variety of hackable, pre-built AI starter apps:
- AI Chatbot
- RAG chatbot
- Semantic search
- Hybrid search
- Reverse image search
- Chat with PDF
- A vector search optimization guide for better AI application performance
- A scaling guide for scaling your app with Neon's Autoscaling and Read Replica features
- A collection of AI apps built with Neon that you can reference while building your own app
AI basics
AI concepts
Learn how embeddings are used to build AI applications
The pgvector extension
Learn about the pgvector Postgres extension
AI starter apps
Hackable, fully-featured, pre-built starter apps to get you up and running.
AI chatbot (OpenAI + LllamIndex)
A Netx.js AI chatbot starter app built with OpenAI and LlamaIndex
AI chatbot (OpenAI + LangChain)
A Netx.js AI chatbot starter app built with OpenAI and LangChain
RAG chatbot (OpenAI + LlamaIndex)
A Next.js RAG chatbot starter app built with OpenAI and LlamaIndex
RAG chatbot (OpenAI + LangChain)
A Next.js RAG chatbot starter app built with OpenAI and LangChain
Semantic search chatbot (OpenAI + LlamaIndex)
A Next.js Semantic Search chatbot starter app built with OpenAI and LlamaIndex
Semantic search chatbot (OpenAI + LangChain)
A Next.js Semantic Search chatbot starter app built with OpenAI and LangChain
Hybrid search (OpenAI)
A Next.js Hybrid Search starter app built with OpenAI
Reverse image search (OpenAI + LlamaIndex)
A Next.js Reverse Image Search Engine starter app built with OpenAI and LlamaIndex
Chat with PDF (OpenAI + LlamaIndex)
A Next.js Chat with PDF chatbot starter app built with OpenAI and LlamaIndex
Chat with PDF (OpenAI + LangChain)
A Next.js Chat with PDF chatbot starter app built with OpenAI and LangChain
AI integrations
Learn how to integrate Neon Postgres with LLMs and AI platforms.
LangChain (with OpenAI)
Learn how to use LangChain with OpenAI to create AI applications faster
LlamaIndex (with OpenAI)
Learn how to use LlamaIndex with OpenAI to create AI applications faster
Preparing your AI app for production
Optimize pgvector search
Optimize pgvector search for better application performance
Scale with Neon
Scale your AI app with Neon's Autoscaling and Read Replica features
AI apps built with Neon
AI applications built with Neon Postgres that you can reference as code examples or inspiration.
Feature your app here
Share your AI app on our #showcase channel on Discord for consideration.
Guide: Build a RAG chatbot
Build a RAG chatbot in an Astro application with LlamaIndex and Postgres
Guide: Build a Reverse Image Search Engine
Using LlamaIndex with Postgres to Build your own Reverse Image Search Engine
Ask Neon Chatbot
An Ask Neon AI-powered chatbot built with pgvector
Vercel Postgres pgvector Starter
Enable vector similarity search with Vercel Postgres powered by Neon
YCombinator Semantic Search App
YCombinator semantic search application
Web-based AI SQL Playground
An AI-enabled SQL playground application for natural language queries
Jupyter Notebook for vector search with Neon
Jupyter Notebook for vector search with Neon, pgvector, and OpenAI
Image search with Neon and Vertex AI
Community: An image serch app built with Neon and Vertex AI
Text-to-SQL conversion with Mistral + LangChain
A Text-to-SQL conversion app built with Mistral AI, Neon, and LangChain
Postgres GPT Expert
Blog + repo: Create and publish a custom Postgres GPT Expert using OpenAI's GPT
AI tools
Learn about popular AI tools and how to use them with Neon Postgres.
Last updated on