mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-28 04:59:52 +01:00
- 新增 xiaozhi-memory 轻量级记忆框架 - 支持 SQLite + FTS5 全文检索 - 支持中文分词 (jieba) - 支持多种记忆类型:事实、意图、偏好、用户画像 - 支持时间解析和计划管理 - 新增 aipet MemoryProvider - 集成 xiaozhi-memory 到 xiaozhi-esp32-server - 支持本地存储,无需外部服务 - 添加分析文档 - mem0ai vs PowerMem 对比分析 - AI 记忆系统对比 - 小智记忆设计方案 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
43 lines
845 B
TOML
43 lines
845 B
TOML
[project]
|
||
name = "xiaozhi-memory"
|
||
version = "0.1.0"
|
||
description = "轻量级AI记忆系统,支持多种检索模式"
|
||
readme = "README.md"
|
||
requires-python = ">=3.10"
|
||
dependencies = [
|
||
"jieba>=0.42.1",
|
||
"pydantic>=2.0.0",
|
||
]
|
||
|
||
[project.optional-dependencies]
|
||
embedding = [
|
||
"chromadb>=0.4.0",
|
||
"sentence-transformers>=2.2.0",
|
||
]
|
||
llm = [
|
||
"openai>=1.0.0",
|
||
"ollama>=0.1.0",
|
||
]
|
||
dev = [
|
||
"pytest>=7.0.0",
|
||
"pytest-asyncio>=0.21.0",
|
||
"black>=23.0.0",
|
||
"mypy>=1.0.0",
|
||
]
|
||
|
||
[build-system]
|
||
requires = ["hatchling"]
|
||
build-backend = "hatchling.build"
|
||
|
||
[tool.hatch.build.targets.wheel]
|
||
packages = ["core", "memories", "stores", "utils", "prompts", "api"]
|
||
|
||
[tool.black]
|
||
line-length = 100
|
||
target-version = ['py310']
|
||
|
||
[tool.mypy]
|
||
python_version = "3.10"
|
||
warn_return_any = true
|
||
warn_unused_configs = true
|
||
disallow_untyped_defs = false
|