xiaozhi-esp32-server/xiaozhi-memory/pyproject.toml
mkp 9d0a1f7a13 feat: 添加 aipet 记忆模块和 xiaozhi-memory 框架
- 新增 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>
2026-05-25 18:43:33 +08:00

43 lines
845 B
TOML
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.

[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