Tanner Davis commited on
Commit
d83775b
·
1 Parent(s): ea9fc22

add cli entrypoints to llama server and app

Browse files
Files changed (1) hide show
  1. pyproject.toml +6 -0
pyproject.toml CHANGED
@@ -17,6 +17,8 @@ dependencies = [
17
  "pandas",
18
  "numpy",
19
  "huggingface_hub",
 
 
20
  ]
21
 
22
  [project.optional-dependencies]
@@ -49,6 +51,10 @@ dev = [
49
  "pytest-asyncio",
50
  ]
51
 
 
 
 
 
52
  [build-system]
53
  requires = ["hatchling"]
54
  build-backend = "hatchling.build"
 
17
  "pandas",
18
  "numpy",
19
  "huggingface_hub",
20
+ # OpenAI-compatible client for the llama-server endpoint
21
+ "openai",
22
  ]
23
 
24
  [project.optional-dependencies]
 
51
  "pytest-asyncio",
52
  ]
53
 
54
+ [project.scripts]
55
+ papertrail-serve-app = "papertrail.app.main:main"
56
+ papertrail-serve-llm = "papertrail.inference.server.server:main"
57
+
58
  [build-system]
59
  requires = ["hatchling"]
60
  build-backend = "hatchling.build"