- Fixed environment variable names in embeddings.service.ts to match .env configuration (AZURE_OPENAI_EMBEDDINGS_API_KEY, AZURE_OPENAI_EMBEDDINGS_ENDPOINT, etc.) - Applied V014 database migration for conversation_embeddings table with pgvector support - Fixed test script to remove unsupported language parameter from chat requests - Created test user in database to satisfy foreign key constraints - All 6 embeddings tests now passing (100% success rate) Test results: ✅ Health check and embedding generation (1536 dimensions) ✅ Conversation creation with automatic embedding storage ✅ Semantic search with 72-90% similarity matching ✅ User statistics and semantic memory integration 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
11 KiB
Executable File
11 KiB
Executable File