Files
memory-gateway/config.example.yaml

33 lines
753 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# 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"