Initial SOC memory POC implementation

This commit is contained in:
2026-04-27 17:13:06 +08:00
parent fc68581198
commit e6b1520bce
89 changed files with 7610 additions and 1 deletions

32
config.example.yaml Normal file
View File

@ -0,0 +1,32 @@
# Memory Gateway 配置示例
# 复制为 config.yaml 并根据实际情况修改
# Memory Gateway 服务配置
server:
# 监听地址0.0.0.0 表示接受所有网卡(局域网可访问)
host: "0.0.0.0"
# MCP Server 端口
port: 1934
# 可选API Key 认证,客户端需要提供相同的 Key
api_key: ""
# OpenViking 后端配置
openviking:
# OpenViking 服务器地址
url: "http://localhost:1933"
# OpenViking API Key如有
api_key: ""
# 请求超时时间(秒)
timeout: 30
# 记忆配置
memory:
# 默认命名空间
default_namespace: "soc"
# 默认搜索返回数量
search_limit: 10
# 日志配置
logging:
level: "INFO"
format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"