-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
81 lines (65 loc) · 1.48 KB
/
pyproject.toml
File metadata and controls
81 lines (65 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "lettuce-engine"
version = "1.1.0"
description = "Hyperrealistic AI character engine — identity, not roleplay"
license = "AGPL-3.0-or-later"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
# LLM backends
"anthropic>=0.40.0",
"openai>=1.50.0",
# Discord
"discord.py>=2.4.0",
# NLP & ML
"spacy>=3.7.0",
"sentence-transformers>=3.0.0",
"transformers>=4.40.0",
"torch>=2.2.0",
"scikit-learn>=1.4.0",
"rank-bm25>=0.2.2",
"numpy>=1.26.0",
# Knowledge graph
"networkx>=3.2.0",
# Vector store
"chromadb>=0.5.0",
# Database
"aiosqlite>=0.20.0",
# Web scraping / research
"aiohttp>=3.9.0",
"beautifulsoup4>=4.12.0",
"trafilatura>=1.8.0",
"wikipedia-api>=0.6.0",
# Scheduling
"apscheduler>=4.0.0a5",
# API
"fastapi>=0.115.0",
"uvicorn[standard]>=0.30.0",
# Config & CLI
"pydantic>=2.6.0",
"pydantic-settings>=2.2.0",
"pyyaml>=6.0.0",
"click>=8.1.0",
"python-dotenv>=1.0.0",
# Logging
"structlog>=24.1.0",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0.0",
"pytest-asyncio>=0.23.0",
"ruff>=0.5.0",
]
[project.scripts]
lettuce = "lettuce.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["src/lettuce"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
[tool.ruff]
target-version = "py311"
line-length = 100