-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
66 lines (61 loc) · 2.6 KB
/
Copy pathpyproject.toml
File metadata and controls
66 lines (61 loc) · 2.6 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
[build-system]
requires = ["setuptools>=77,<82", "wheel>=0.42,<1"]
build-backend = "setuptools.build_meta"
[project]
name = "personagent"
version = "0.3.0"
description = "A self-evolving persona LLM agent for group chat: learns to sound like a person from real user reactions, not from a bigger prompt."
readme = "README.md"
requires-python = ">=3.10"
license = "MIT"
license-files = ["LICENSE"]
authors = [{ name = "Qiankang Wang" }]
keywords = [
"llm", "agent", "persona", "chatbot", "group-chat", "onebot",
"prompt-engineering", "self-evolution", "few-shot", "rag",
]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Communications :: Chat",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"fastapi>=0.115,<1",
"uvicorn[standard]>=0.34,<1",
"python-dotenv>=1.0,<2",
"httpx>=0.27,<1",
# Direct: ingestion.py imports the private `httpcore._backends.auto` for
# the SSRF guard's per-hop DNS pinning. See requirements.txt.
"httpcore>=1.0,<2",
"Pillow>=10,<13",
"ddgs>=9,<10",
]
[project.optional-dependencies]
# The agent speaks only the OpenAI-compatible /v1 endpoint over httpx and needs no
# vendor SDK. This extra exists for the two optional dev tools that deliberately
# reach a DIFFERENT vendor than the one under test — tools/prompt_lab.py and
# `tools/evolution_benchmark.py --judge anthropic` — so the learning signal and
# the measurement never share a model.
judge = ["anthropic>=0.103,<1"]
# What CI installs on top of the runtime deps. The gate is
# `ruff --select F401,F811,F821,F841`: the split that produced this package
# left 114 dead imports behind across six modules, and nothing was watching.
dev = ["pytest>=8,<10", "ruff>=0.6,<1"]
[project.urls]
Homepage = "https://github.com/wangkant/personagent"
Issues = "https://github.com/wangkant/personagent/issues"
Changelog = "https://github.com/wangkant/personagent/blob/master/CHANGELOG.md"
[tool.setuptools]
# personagent is an application you deploy from a checkout, not a PyPI library:
# main.py / try_chat.py / quickstart.py are repo-root entry points, the seed
# datasets live in data/, and runtime state is written next to them (paths.ROOT,
# overridable with AGENT_HOME). `pip install -e .` is for importing and testing
# the pipeline; to run a bot, clone the repo.
packages = ["persona_agent"]
[tool.setuptools.package-data]
persona_agent = ["py.typed"]