mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-12 23:40:45 +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.
25 lines
367 B
JSON
25 lines
367 B
JSON
{
|
|
"$schema": "https://openapi.vercel.sh/vercel.json",
|
|
"version": 2,
|
|
"builds": [
|
|
{
|
|
"src": "api/**/*.ts",
|
|
"use": "@vercel/node"
|
|
}
|
|
],
|
|
"routes": [
|
|
{
|
|
"src": "/health",
|
|
"dest": "/api/health"
|
|
},
|
|
{
|
|
"src": "/chat",
|
|
"dest": "/api/chat"
|
|
},
|
|
{
|
|
"src": "/(.*)",
|
|
"dest": "/api/health"
|
|
}
|
|
]
|
|
}
|