Frontmatter
| id | 8217 |
| title | AI: Migrate Knowledge Base to gemini-embedding-001 |
| state | Closed |
| labels | enhancementai |
| assignees | tobiu |
| createdAt | Dec 30, 2025, 12:42 PM |
| updatedAt | Dec 30, 2025, 3:16 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8217 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Dec 30, 2025, 3:16 PM |
AI: Migrate Knowledge Base to gemini-embedding-001
tobiu assigned to @tobiu on Dec 30, 2025, 12:54 PM

tobiu
Dec 30, 2025, 3:16 PM
Input from Gemini 2.5 pro:
✦ Optimization Update:
To balance the RPM (Requests Per Minute) and RPD (Requests Per Day) limits of the Gemini Free Tier, the configuration has been tuned to:
batchSize: 50 (Reduced total requests to ~153, saving daily quota)batchDelay: 10000 ms (10s delay ensures ~6 RPM, safe within 15 RPM limit)Rationale:
- Previous
batchSize: 10generated ~764 requests, risking the 1,000 RPD limit.- Previous
batchSize: 100hit the RPM limit.50items with10sdelay is the sweet spot.Next Steps:
- Distribute a pre-built Knowledge Base artifact to avoid this 75-minute sync for end users.
- PR ready for merge.
tobiu closed this issue on Dec 30, 2025, 3:16 PM
Objective: Migrate the Knowledge Base embedding model from
text-embedding-004togemini-embedding-001to comply with the discontinuation notice.Tasks:
ai/mcp/server/knowledge-base/config.mjsto setembeddingModel: 'gemini-embedding-001'.chroma-neo-knowledge-basedirectory.sync_databaseto rebuild the index with the new model.