- Add DevContainer configuration for Codespaces - Add GitHub Actions workflows for automation - Add Ollama support to Memory plugin - Add comprehensive documentation
75 lines
1.9 KiB
JSON
75 lines
1.9 KiB
JSON
{
|
|
"id": "memory-lancedb",
|
|
"kind": "memory",
|
|
"uiHints": {
|
|
"embedding.apiKey": {
|
|
"label": "API Key",
|
|
"sensitive": true,
|
|
"placeholder": "sk-proj-... (not needed for Ollama)",
|
|
"help": "API key for embedding provider (optional for Ollama/custom)"
|
|
},
|
|
"embedding.model": {
|
|
"label": "Embedding Model",
|
|
"placeholder": "nomic-embed-text",
|
|
"help": "Embedding model: nomic-embed-text (Ollama), text-embedding-3-small (OpenAI), embedding-3 (Zhipu AI)"
|
|
},
|
|
"embedding.baseUrl": {
|
|
"label": "Base URL",
|
|
"placeholder": "http://localhost:11434/v1 (Ollama)",
|
|
"help": "Base URL for embedding API"
|
|
},
|
|
"embedding.provider": {
|
|
"label": "Provider",
|
|
"help": "Embedding provider: openai, minimax, custom, or ollama"
|
|
},
|
|
"dbPath": {
|
|
"label": "Database Path",
|
|
"placeholder": "~/.clawdbot/memory/lancedb",
|
|
"advanced": true
|
|
},
|
|
"autoCapture": {
|
|
"label": "Auto-Capture",
|
|
"help": "Automatically capture important information from conversations"
|
|
},
|
|
"autoRecall": {
|
|
"label": "Auto-Recall",
|
|
"help": "Automatically inject relevant memories into context"
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"embedding": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"apiKey": {
|
|
"type": "string"
|
|
},
|
|
"model": {
|
|
"type": "string"
|
|
},
|
|
"baseUrl": {
|
|
"type": "string"
|
|
},
|
|
"provider": {
|
|
"type": "string",
|
|
"enum": ["openai", "minimax", "custom", "ollama"]
|
|
}
|
|
}
|
|
},
|
|
"dbPath": {
|
|
"type": "string"
|
|
},
|
|
"autoCapture": {
|
|
"type": "boolean"
|
|
},
|
|
"autoRecall": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": ["embedding"]
|
|
}
|
|
}
|