--- name: ai-chat-persistence description: Persist AI chat conversations to Neon Postgres with full support for AI SDK message parts including tools, reasoning, and streaming. Uses UUID v7 for chronologically-sortable IDs. --- # AI Chat Persistence with Neon To set up AI Chat Persistence with Neon, refer to the fullstackrecipes MCP server resource: **Resource URI:** `recipe://fullstackrecipes.com/ai-chat-persistence` If the MCP server is not configured, fetch the recipe directly: ```bash curl -H "Accept: text/plain" https://fullstackrecipes.com/api/recipes/ai-chat-persistence ```