2023-02-16 02:02:30 +01:00
|
|
|
[build-system]
|
2023-02-18 00:08:05 +01:00
|
|
|
requires = ["hatchling", "hatch-vcs"]
|
2023-02-16 02:02:30 +01:00
|
|
|
build-backend = "hatchling.build"
|
|
|
|
|
|
|
|
[project]
|
|
|
|
name = "khoj-assistant"
|
|
|
|
description = "A natural language search engine for your personal notes, transactions and images"
|
|
|
|
readme = "README.md"
|
|
|
|
license = "GPL-3.0-or-later"
|
|
|
|
requires-python = ">=3.8, <3.11"
|
|
|
|
authors = [
|
2023-02-16 10:12:04 +01:00
|
|
|
{ name = "Debanjum Singh Solanky, Saba Imran" },
|
2023-02-16 02:02:30 +01:00
|
|
|
]
|
|
|
|
keywords = [
|
|
|
|
"search",
|
|
|
|
"semantic-search",
|
|
|
|
"productivity",
|
|
|
|
"NLP",
|
|
|
|
"AI",
|
|
|
|
"org-mode",
|
|
|
|
"markdown",
|
|
|
|
"beancount",
|
|
|
|
"images",
|
|
|
|
]
|
|
|
|
classifiers = [
|
|
|
|
"Development Status :: 4 - Beta",
|
|
|
|
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
|
|
|
|
"Operating System :: OS Independent",
|
|
|
|
"Programming Language :: Python :: 3",
|
|
|
|
"Programming Language :: Python :: 3.8",
|
|
|
|
"Programming Language :: Python :: 3.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
|
|
|
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
|
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
|
|
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
|
|
|
|
"Topic :: Text Processing :: Linguistic",
|
|
|
|
]
|
|
|
|
dependencies = [
|
|
|
|
"dateparser == 1.1.1",
|
|
|
|
"defusedxml == 0.7.1",
|
|
|
|
"fastapi == 0.77.1",
|
|
|
|
"jinja2 == 3.1.2",
|
2023-03-04 18:01:49 +01:00
|
|
|
"openai >= 0.27.0",
|
2023-03-24 22:37:55 +01:00
|
|
|
"tiktoken >= 0.3.0",
|
2023-03-25 06:36:51 +01:00
|
|
|
"tenacity >= 8.2.2",
|
2023-02-16 02:02:30 +01:00
|
|
|
"pillow == 9.3.0",
|
|
|
|
"pydantic == 1.9.1",
|
|
|
|
"pyqt6 == 6.3.1",
|
|
|
|
"pyyaml == 6.0",
|
|
|
|
"rich >= 13.3.1",
|
|
|
|
"schedule == 1.1.0",
|
|
|
|
"sentence-transformers == 2.2.2",
|
|
|
|
"torch == 1.13.1",
|
|
|
|
"uvicorn == 0.17.6",
|
2023-03-25 23:10:53 +01:00
|
|
|
"aiohttp == 3.8.4",
|
2023-05-28 14:15:31 +02:00
|
|
|
"langchain >= 0.0.187",
|
2023-02-16 02:02:30 +01:00
|
|
|
]
|
2023-02-18 00:08:05 +01:00
|
|
|
dynamic = ["version"]
|
2023-02-16 02:02:30 +01:00
|
|
|
|
|
|
|
[project.urls]
|
2023-02-16 10:12:04 +01:00
|
|
|
Homepage = "https://github.com/debanjum/khoj#readme"
|
2023-02-16 02:02:30 +01:00
|
|
|
Issues = "https://github.com/debanjum/khoj/issues"
|
|
|
|
Discussions = "https://github.com/debanjum/khoj/discussions"
|
|
|
|
Releases = "https://github.com/debanjum/khoj/releases"
|
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
khoj = "khoj.main:run"
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
test = [
|
2023-02-17 19:07:59 +01:00
|
|
|
"pytest >= 7.1.2",
|
|
|
|
]
|
|
|
|
dev = [
|
|
|
|
"khoj-assistant[test]",
|
|
|
|
"mypy >= 1.0.1",
|
|
|
|
"black >= 23.1.0",
|
|
|
|
"pre-commit >= 3.0.4",
|
2023-03-15 21:52:59 +01:00
|
|
|
"freezegun >= 1.2.0",
|
2023-02-16 02:02:30 +01:00
|
|
|
]
|
|
|
|
|
2023-02-18 00:08:05 +01:00
|
|
|
[tool.hatch.version]
|
|
|
|
source = "vcs"
|
|
|
|
raw-options.local_scheme = "no-local-version" # PEP440 compliant version for PyPi
|
|
|
|
|
2023-02-16 02:02:30 +01:00
|
|
|
[tool.hatch.build.targets.sdist]
|
|
|
|
include = ["src/khoj"]
|
|
|
|
|
|
|
|
[tool.hatch.build.targets.wheel]
|
2023-02-16 10:33:08 +01:00
|
|
|
packages = ["src/khoj"]
|
|
|
|
|
|
|
|
[tool.mypy]
|
|
|
|
files = "src/khoj"
|
|
|
|
pretty = true
|
|
|
|
strict_optional = false
|
|
|
|
install_types = true
|
2023-02-17 19:07:59 +01:00
|
|
|
ignore_missing_imports = true
|
2023-02-16 10:33:08 +01:00
|
|
|
non_interactive = true
|
|
|
|
show_error_codes = true
|
2023-02-17 23:11:17 +01:00
|
|
|
warn_unused_ignores = false
|
2023-02-17 17:04:26 +01:00
|
|
|
|
|
|
|
[tool.black]
|
2023-02-17 19:07:59 +01:00
|
|
|
line-length = 120
|
2023-03-15 01:56:14 +01:00
|
|
|
|
|
|
|
[tool.pytest.ini_options]
|
|
|
|
addopts = "--strict-markers"
|
|
|
|
markers = [
|
|
|
|
"chatquality: Evaluate chatbot capabilities and quality",
|
|
|
|
]
|