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"
|
2023-10-14 05:22:33 +02:00
|
|
|
description = "An AI copilot for your Second Brain"
|
2023-02-16 02:02:30 +01:00
|
|
|
readme = "README.md"
|
|
|
|
license = "GPL-3.0-or-later"
|
2023-06-29 23:54:51 +02:00
|
|
|
requires-python = ">=3.8"
|
2023-02-16 02:02:30 +01:00
|
|
|
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",
|
|
|
|
"images",
|
2023-06-01 06:25:48 +02:00
|
|
|
"pdf",
|
2023-02-16 02:02:30 +01:00
|
|
|
]
|
|
|
|
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.9",
|
|
|
|
"Programming Language :: Python :: 3.10",
|
2023-06-29 23:54:51 +02:00
|
|
|
"Programming Language :: Python :: 3.11",
|
2023-02-16 02:02:30 +01:00
|
|
|
"Topic :: Internet :: WWW/HTTP :: Indexing/Search",
|
|
|
|
"Topic :: Scientific/Engineering :: Artificial Intelligence",
|
|
|
|
"Topic :: Scientific/Engineering :: Human Machine Interfaces",
|
|
|
|
"Topic :: Text Processing :: Linguistic",
|
|
|
|
]
|
|
|
|
dependencies = [
|
2023-08-27 20:24:30 +02:00
|
|
|
"bs4 >= 0.0.1",
|
2023-08-07 07:48:40 +02:00
|
|
|
"dateparser >= 1.1.1",
|
2023-02-16 02:02:30 +01:00
|
|
|
"defusedxml == 0.7.1",
|
|
|
|
"fastapi == 0.77.1",
|
2023-10-12 02:14:15 +02:00
|
|
|
"python-multipart >= 0.0.5",
|
2023-02-16 02:02:30 +01:00
|
|
|
"jinja2 == 3.1.2",
|
2023-10-10 04:30:58 +02:00
|
|
|
"openai >= 0.27.0, < 1.0.0",
|
2023-08-09 08:00:40 +02:00
|
|
|
"tiktoken >= 0.3.2",
|
2023-03-25 06:36:51 +01:00
|
|
|
"tenacity >= 8.2.2",
|
2023-02-16 02:02:30 +01:00
|
|
|
"pillow == 9.3.0",
|
2023-07-03 21:22:56 +02:00
|
|
|
"pydantic >= 1.10.10",
|
2023-02-16 02:02:30 +01:00
|
|
|
"pyyaml == 6.0",
|
|
|
|
"rich >= 13.3.1",
|
|
|
|
"schedule == 1.1.0",
|
|
|
|
"sentence-transformers == 2.2.2",
|
2023-08-02 18:10:14 +02:00
|
|
|
"transformers >= 4.28.0",
|
2023-10-26 22:15:31 +02:00
|
|
|
"torch == 2.0.1",
|
2023-02-16 02:02:30 +01:00
|
|
|
"uvicorn == 0.17.6",
|
2023-08-28 23:12:04 +02:00
|
|
|
"aiohttp == 3.8.5",
|
2023-11-07 06:58:33 +01:00
|
|
|
"langchain >= 0.0.331",
|
2023-06-17 10:39:57 +02:00
|
|
|
"requests >= 2.26.0",
|
2023-06-24 00:10:09 +02:00
|
|
|
"bs4 >= 0.0.1",
|
2023-08-31 23:14:13 +02:00
|
|
|
"anyio == 3.7.1",
|
2023-10-26 18:42:29 +02:00
|
|
|
"pymupdf >= 1.23.5",
|
2023-10-15 04:39:13 +02:00
|
|
|
"django == 4.2.5",
|
|
|
|
"authlib == 1.2.1",
|
2023-10-23 03:16:02 +02:00
|
|
|
"gpt4all >= 2.0.0; platform_system == 'Linux' and platform_machine == 'x86_64'",
|
|
|
|
"gpt4all >= 2.0.0; platform_system == 'Windows' or platform_system == 'Darwin'",
|
2023-10-15 04:39:13 +02:00
|
|
|
"itsdangerous == 2.1.2",
|
|
|
|
"httpx == 0.25.0",
|
2023-10-26 18:42:29 +02:00
|
|
|
"pgvector == 0.2.3",
|
|
|
|
"psycopg2-binary == 2.9.9",
|
2023-10-26 19:17:29 +02:00
|
|
|
"google-auth == 2.23.3",
|
|
|
|
"python-multipart == 0.0.6",
|
2023-10-26 22:15:31 +02:00
|
|
|
"gunicorn == 21.2.0",
|
2023-11-01 01:59:53 +01:00
|
|
|
"lxml == 4.9.3",
|
2023-11-03 07:02:38 +01:00
|
|
|
"tzdata == 2023.3",
|
2023-11-07 19:15:21 +01:00
|
|
|
"rapidocr-onnxruntime == 1.3.8",
|
|
|
|
"stripe == 7.3.0",
|
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-06-21 09:13:21 +02:00
|
|
|
Homepage = "https://github.com/khoj-ai/khoj#readme"
|
|
|
|
Issues = "https://github.com/khoj-ai/khoj/issues"
|
|
|
|
Discussions = "https://github.com/khoj-ai/khoj/discussions"
|
|
|
|
Releases = "https://github.com/khoj-ai/khoj/releases"
|
2023-02-16 02:02:30 +01:00
|
|
|
|
|
|
|
[project.scripts]
|
|
|
|
khoj = "khoj.main:run"
|
|
|
|
|
|
|
|
[project.optional-dependencies]
|
|
|
|
test = [
|
2023-02-17 19:07:59 +01:00
|
|
|
"pytest >= 7.1.2",
|
2023-06-29 07:04:34 +02:00
|
|
|
"freezegun >= 1.2.0",
|
|
|
|
"factory-boy >= 3.2.1",
|
|
|
|
"trio >= 0.22.0",
|
2023-10-13 01:19:48 +02:00
|
|
|
"pytest-xdist",
|
2023-11-05 12:32:29 +01:00
|
|
|
"psutil >= 5.8.0",
|
2023-02-17 19:07:59 +01:00
|
|
|
]
|
|
|
|
dev = [
|
|
|
|
"khoj-assistant[test]",
|
|
|
|
"mypy >= 1.0.1",
|
|
|
|
"black >= 23.1.0",
|
|
|
|
"pre-commit >= 3.0.4",
|
2023-10-26 18:42:29 +02:00
|
|
|
"pytest-django == 4.5.2",
|
|
|
|
"pytest-asyncio == 0.21.1",
|
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",
|
|
|
|
]
|