rag-chatbot-2

Форк
0
/
pyproject.toml 
71 строка · 1.5 Кб
1
[tool.poetry]
2
name = "chat"
3
version = "0.2.0"
4
description = "RAG ChatBot"
5
authors = ["Umberto Griffo <umberto.griffo@gmail.com>"]
6
readme = "README.md"
7

8
[tool.poetry.dependencies]
9
python = ">=3.10,<3.11"
10
tqdm = "~=4.65.0"
11
requests = "~=2.31.0"
12
numpy = "~=1.24.2"
13
sentencepiece = "~=0.1.99"
14
langchain = "~=0.0.341"
15
pyllamacpp = "==1.0.7"
16
gpt4all = "==2.0.2"
17
streamlit = "~=1.29.0"
18
unstructured = "==0.7.7"
19
chromadb = "~=0.4.18"
20
transformers = "~=4.33.0"
21
ctransformers = { version = "~=0.2.27", extras = ["cuda"] }
22
rich = "~=13.4.2"
23
pyfiglet = "~=0.7"
24
clean-text = "~=0.6.0"
25
Unidecode = "~=1.3.6"
26
nest_asyncio = "~=1.5.8"
27

28
[tool.poetry.group.dev.dependencies]
29
pytest = "~=7.2.1"
30
pytest-cov = "~=4.0.0"
31
pytest-mock = "~=3.10.0"
32
pre-commit = "~=3.6.0"
33
ruff = "~=0.1.9"
34
httpx = "~=0.23.3"
35

36
[build-system]
37
requires = ["poetry-core>=1.0.0"]
38
build-backend = "poetry.core.masonry.api"
39

40
# https://docs.astral.sh/ruff/configuration/
41
[tool.ruff]
42
exclude= [".venv", "docs"]
43
line-length = 120
44
indent-width = 4
45

46
[tool.ruff.lint]
47
select = [
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.
59
quote-style = "double"
60
# Like Black, indent with spaces, rather than tabs.
61
indent-style = "space"
62
# Like Black, respect magic trailing commas.
63
skip-magic-trailing-comma = false
64
# Like Black, automatically detect the appropriate line ending.
65
line-ending = "auto"
66

67
[tool.pytest.ini_options]
68
pythonpath = [
69
  "chatbot",
70
  "tests"
71
]
72

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.