mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-13 11:00:50 +00:00
- 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.
21 lines
451 B
JSON
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"
|
|
}
|
|
}
|