pinsmart_prototype / pyproject.toml
Reynaldy Hardiyanto
feat: add property search, intent routing, and intent summarization
9012b52
[tool.poetry]
name = "property-knowledge-qa-chatbot"
version = "0.1.0"
description = ""
authors = ["Alvin Prayuda <alvin.prayuda@pinhome.id>"]
readme = "README.md"
packages = []
[tool.poetry.dependencies]
python = "^3.10"
gradio = { version = "3.44.3", source = "pypi" }
langchain = {version = "^0.1.7", source = "pypi"}
langchain-openai = {version = "^0.0.6", source = "pypi"}
tiktoken = {version = "^0.6.0", source = "pypi"}
elasticsearch = {version = "^8.12.0", source = "pypi"}
fuzzywuzzy = {version = "^0.18.0", source = "pypi"}
python-levenshtein = {version = "^0.25.1", source = "pypi"}
standard-logger = {path = "local_dists/standard_logger-1.1.0-py3-none-any.whl"}
data-model = {path = "local_dists/data_model-2.9.0-py3-none-any.whl"}
backend-clients = {path = "local_dists/backend_clients-4.5.0-py3-none-any.whl"}
[tool.ruff]
# Enable the pycodestyle (`E`) and Pyflakes (`F`) rules by default.
# Unlike Flake8, Ruff doesn't enable pycodestyle warnings (`W`) or
# McCabe complexity (`C901`) by default.
select = [
"E", # pycodestyle
"F", # pyflakes
"UP", # pyupgrade,
"I", # isort
]
ignore = []
# Allow autofix for all enabled rules (when `--fix`) is provided.
fixable = ["ALL"]
unfixable = []
# Exclude a variety of commonly ignored directories.
exclude = [
".bzr",
".direnv",
".eggs",
".git",
".git-rewrite",
".hg",
".mypy_cache",
".nox",
".pants.d",
".pytype",
".ruff_cache",
".svn",
".tox",
".venv",
"__pypackages__",
"_build",
"buck-out",
"build",
"dist",
"node_modules",
"venv",
]
per-file-ignores = {}
# Same as Black.
line-length = 79
# Allow unused variables when underscore-prefixed.
dummy-variable-rgx = "^(_+|(_+[a-zA-Z0-9_]*[a-zA-Z0-9]+?))$"
# Assume Python 3.8
target-version = "py310"
[tool.black]
line-length = 79
include = '\.pyi?$'
exclude = '''
/(
\.git
| \.hg
| \.mypy_cache
| \.tox
| \.venv
| _build
| buck-out
| build
| dist
)/
'''
[tool.poetry.group.dev.dependencies]
pre-commit = { version = "^3.4.0", source = "pypi" }
black = { version = "^23.7.0", source = "pypi" }
ruff = { version = "^0.0.289", source = "pypi" }
[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"