Files
openclaw/scripts/docs-chat/package.json
Buns Enchantress 4b42a54452 feat: integrate Upstash Vector for enhanced document retrieval in chat API
- Implemented Upstash Vector as a cloud-based storage solution for document chunks, replacing the local LanceDB option.
- Added auto-detection of storage mode based on environment variables for seamless integration.
- Updated the chat API to utilize the new retrieval mechanism, enhancing response accuracy and performance.
- Enhanced README with setup instructions for Upstash and updated environment variable requirements.
- Introduced new scripts and configurations for managing the vector index and API interactions.
2026-02-03 04:39:04 -06:00

21 lines
451 B
JSON

{
"name": "openclaw-docs-chat",
"version": "1.0.0",
"private": true,
"description": "RAG-based docs chat API for OpenClaw documentation",
"type": "module",
"scripts": {
"dev": "vercel dev",
"build:index": "bun build-vector-index.ts",
"deploy": "vercel"
},
"dependencies": {
"@upstash/vector": "^1.2.2",
"openai": "^6.17.0"
},
"devDependencies": {
"@vercel/node": "^5.5.28",
"typescript": "^5.9.3"
}
}