rag-chatbot-2
/
pyproject.toml
71 строка · 1.5 Кб
1[tool.poetry]
2name = "chat"
3version = "0.2.0"
4description = "RAG ChatBot"
5authors = ["Umberto Griffo <umberto.griffo@gmail.com>"]
6readme = "README.md"
7
8[tool.poetry.dependencies]
9python = ">=3.10,<3.11"
10tqdm = "~=4.65.0"
11requests = "~=2.31.0"
12numpy = "~=1.24.2"
13sentencepiece = "~=0.1.99"
14langchain = "~=0.0.341"
15pyllamacpp = "==1.0.7"
16gpt4all = "==2.0.2"
17streamlit = "~=1.29.0"
18unstructured = "==0.7.7"
19chromadb = "~=0.4.18"
20transformers = "~=4.33.0"
21ctransformers = { version = "~=0.2.27", extras = ["cuda"] }
22rich = "~=13.4.2"
23pyfiglet = "~=0.7"
24clean-text = "~=0.6.0"
25Unidecode = "~=1.3.6"
26nest_asyncio = "~=1.5.8"
27
28[tool.poetry.group.dev.dependencies]
29pytest = "~=7.2.1"
30pytest-cov = "~=4.0.0"
31pytest-mock = "~=3.10.0"
32pre-commit = "~=3.6.0"
33ruff = "~=0.1.9"
34httpx = "~=0.23.3"
35
36[build-system]
37requires = ["poetry-core>=1.0.0"]
38build-backend = "poetry.core.masonry.api"
39
40# https://docs.astral.sh/ruff/configuration/
41[tool.ruff]
42exclude= [".venv", "docs"]
43line-length = 120
44indent-width = 4
45
46[tool.ruff.lint]
47select = [
48# Pyflakes
49"F",
50# Pycodestyle
51"E",
52"W",
53# isort
54"I"
55]
56
57[tool.ruff.format]
58# Like Black, use double quotes for strings.
59quote-style = "double"
60# Like Black, indent with spaces, rather than tabs.
61indent-style = "space"
62# Like Black, respect magic trailing commas.
63skip-magic-trailing-comma = false
64# Like Black, automatically detect the appropriate line ending.
65line-ending = "auto"
66
67[tool.pytest.ini_options]
68pythonpath = [
69"chatbot",
70"tests"
71]
72