fix: Update embedding dimensions to 3072 and add Vercel Analytics

- Updated GOOGLE_EMBEDDING_DIMENSIONS to 3072 to match gemini-embedding-001 output
- Updated database schema embedding index from 768 to 3072 dimensions
- Recreated production database index with correct dimensions
- Added @vercel/analytics package for production analytics
- Added Analytics component to root layout

This fixes the galaxy visualization issue caused by dimension mismatch between
the embedding model output (3072) and the database index (768).

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2025-11-09 19:00:37 +00:00
parent e4bd3282fd
commit d0978f5f7f
5 changed files with 41 additions and 13 deletions

11
todo.md
View File

@@ -2,13 +2,4 @@
Upcoming items that should be implemented (time-permitting):
- a way to see the visualized version of all nodes in the db
- let's call the "AI" "Mr. DJ" and link to this youtube video for its name:
https://www.youtube.com/watch?v=oEauWw9ZGrA
- let's have "Ponderants" in the top-left corner with some sort of very minimal
svg that represents an abstraction of a human conversing with a robot (like
maybe four simple shapes max)
- let's have, in the top-center, something that indicates we're in "Convo" mode
- let's stream the AI output to deepgram for faster synthesis
- we should link bluesky posts back to ponderants
- long posts should be broken up into threads
- stream the AI output to deepgram for faster synthesis