File size: 2,167 Bytes
e6d5b30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25a7357
 
 
 
 
7aed237
25a7357
e6d5b30
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[build-system]
requires = ["setuptools>=64", "wheel"]
build-backend = "setuptools.backends._legacy:_Backend"

[project]
name = "document-classification-env"
version = "1.0.0"
description = "A real-world document classification and routing environment for AI agent training via the OpenEnv framework."
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.10"
authors = [
    {name = "OpenEnv Community"}
]
keywords = ["openenv", "reinforcement-learning", "document-classification", "gymnasium"]
classifiers = [
    "Development Status :: 4 - Beta",
    "Intended Audience :: Developers",
    "License :: OSI Approved :: MIT License",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.11",
    "Topic :: Scientific/Engineering :: Artificial Intelligence",
]

dependencies = [
    "openai",
    "scikit-learn<1.6.0",
    "numpy",
    "gymnasium",
    "pandas",
    "pydantic>=2.0",
    "huggingface_hub<1.0.0",
    "fastapi",
    "uvicorn[standard]",
    "websockets>=15.0.1",
    "httpx>=0.28.1",
    "gradio",
    "flask",
    "datasets",
    "transformers",
    "torch",
    "openenv-core>=0.2.1",
    "pydantic>=2.0",
]

[project.urls]
Homepage = "https://huggingface.co/spaces/TanujInsane/document-classification-env"
Repository = "https://huggingface.co/spaces/TanujInsane/document-classification-env"

# Include all top-level modules so `pip install git+...` makes them importable.
# This gives judges:  from document_classification_env import DocEnv, DocAction
[tool.setuptools.packages.find]
where = ["."]
include = ["document_classification_env*"]

# Also explicitly include individual modules at the package root
[tool.setuptools.package-data]
"*" = ["*.pkl", "*.yaml", "*.md"]

[project.scripts]
server = "server.app:main"

# Map the package name (document-classification-env) to what gets imported.
# Because the repo root IS the package (has __init__.py), setuptools needs
# to know the import name = directory name on disk.
[tool.setuptools]
py-modules = [
    "environment",
    "tasks",
    "models",
    "client",
    "agent",
    "grading",
    "inference",
    "baseline_inference",
    "startup",
]