-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
85 lines (80 loc) · 2.27 KB
/
pyproject.toml
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
82
83
84
85
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "semantic-qa-gen"
version = "0.1.0"
description = "A Python library for generating high-quality question-answer pairs from PDF, DOCX, MD, and TXT files"
readme = "README.md"
authors = [
{name = "Stephen Genusa", email = "[email protected]"},
]
license = {text = "MIT"}
classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Text Processing :: Linguistic",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Intended Audience :: Education",
]
keywords = ["nlp", "question-generation", "ai", "llm", "question-answering", "semantic-analysis", "qa-pairs", "fine-tuning"]
dependencies = [
"pyyaml>=6.0,<7.0",
"httpx>=0.23.0,<0.25.0",
"pydantic>=1.10.0,<2.0.0",
"tqdm>=4.65.0,<5.0.0",
"python-magic>=0.4.27,<0.5.0",
"commonmark>=0.9.1,<0.10.0",
"tiktoken>=0.4.0",
"openai>=0.27.0",
"llama-index"
]
requires-python = ">=3.10"
[project.urls]
Documentation = "https://github.com/stephengenusa/semantic-qa-gen#readme"
Issues = "https://github.com/stephengenusa/semantic-qa-gen/issues"
Source = "https://github.com/stephengenusa/semantic-qa-gen"
[project.optional-dependencies]
pdf = [
"pymupdf>=1.22.3",
]
docs = [
"pymupdf>=1.22.3",
"python-docx>=0.8.11",
]
rag = [
"nltk>=3.8.1",
"transformers>=4.28.0",
"sentence-transformers>=2.2.2",
"llama-index"
]
full = [
"pymupdf>=1.22.3",
"python-docx>=0.8.11",
"nltk>=3.8.1",
"transformers>=4.28.0",
"sentence-transformers>=2.2.2",
"rich>=13.3.5",
"llama-index"
]
dev = [
"pytest>=7.3.1,<8.0.0",
"pytest-asyncio>=0.21.0,<0.22.0",
"pytest-cov>=4.1.0,<5.0.0",
"black>=23.3.0",
"isort>=5.12.0",
"flake8>=6.0.0",
"mypy>=1.3.0",
"mkdocs>=1.4.3",
"mkdocs-material>=9.1.15",
]
[project.scripts]
semantic-qa-gen = "semantic_qa_gen.cli:main"
[tool.hatch.build.targets.wheel]
packages = ["semantic_qa_gen"]