File size: 779 Bytes
7635174
 
 
 
 
 
 
 
 
 
90065a6
4869103
 
 
 
 
 
7635174
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
[project]
name = "pdfchat"
version = "0.1.0"
description = "Add your description here"
authors = [
    { name = "Peinan Zhang", email = "[email protected]" }
]
dependencies = [
    "gradio>=4.19.2",
    "gradio-pdf>=0.0.5",
    "loguru>=0.7.2",
    "pypdf>=4.0.2",
    "langchain>=0.1.9",
    "openai>=1.12.0",
    "tiktoken>=0.6.0",
    "qdrant-client>=1.7.3",
    "requests>=2.31.0",
]
readme = "README.md"
requires-python = ">= 3.8"

[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"

[tool.rye]
managed = true
dev-dependencies = [
    "icecream>=2.1.3",
    "ipython>=8.22.1",
]

[tool.rye.scripts]
server = "python src/pdfchat/app.py"

[tool.hatch.metadata]
allow-direct-references = true

[tool.hatch.build.targets.wheel]
packages = ["src/pdfchat"]