代码拉取完成,页面将自动刷新
[build-system]
build-backend = "poetry.core.masonry.api"
requires = ["poetry-core"]
[tool.codespell]
check-filenames = true
check-hidden = true
ignore-words-list = "astroid,gallary,momento,narl,ot,rouge"
# Feel free to un-skip examples, and experimental, you will just need to
# work through many typos (--write-changes and --interactive will help)
skip = "./llama_index/core/_static,./examples,./experimental,*.csv,*.html,*.json,*.jsonl,*.pdf,*.txt,*.ipynb"
[tool.mypy]
disallow_untyped_defs = true
# Remove venv skip when integrated with pre-commit
exclude = ["_static", "build", "examples", "llama_index/ingestion/client", "notebooks", "venv"]
explicit_package_bases = true
ignore_missing_imports = true
mypy_path = "llama_index"
namespace_packages = true
python_version = "3.8"
[tool.poetry]
authors = ["Jerry Liu <jerry@llamaindex.ai>"]
classifiers = [
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Application Frameworks",
"Topic :: Software Development :: Libraries :: Python Modules",
]
description = "Interface between LLMs and your data"
documentation = "https://docs.llamaindex.ai/en/stable/"
homepage = "https://llamaindex.ai"
keywords = ["LLM", "NLP", "RAG", "data", "devtools", "index", "retrieval"]
license = "MIT"
maintainers = [
"Andrei Fajardo <andrei@runllama.ai>",
"Haotian Zhang <ht@runllama.ai>",
"Jerry Liu <jerry@llamaindex.ai>",
"Logan Markewich <logan@llamaindex.ai>",
"Simon Suo <simon@llamaindex.ai>",
"Sourabh Desai <sourabh@llamaindex.ai>",
]
name = "llama-index"
packages = [{from = "_llama-index", include = "llama_index"}]
readme = "README.md"
repository = "https://github.com/run-llama/llama_index"
version = "0.10.59"
[tool.poetry.dependencies]
python = ">=3.8.1,<4.0"
llama-index-legacy = "^0.9.48"
llama-index-llms-openai = "^0.1.27"
llama-index-embeddings-openai = "^0.1.5"
llama-index-program-openai = "^0.1.3"
llama-index-question-gen-openai = "^0.1.2"
llama-index-agent-openai = ">=0.1.4,<0.3.0"
llama-index-readers-file = "^0.1.4"
llama-index-readers-llama-parse = ">=0.1.2"
llama-index-indices-managed-llama-cloud = ">=0.2.0"
llama-index-core = "0.10.59"
llama-index-multi-modal-llms-openai = "^0.1.3"
llama-index-cli = "^0.1.2"
[tool.poetry.group.dev.dependencies]
black = {extras = ["jupyter"], version = ">=23.7.0,<=24.3.0"}
codespell = {extras = ["toml"], version = ">=v2.2.6"}
mypy = "0.991"
pre-commit = "3.2.0"
pylint = "2.15.10"
pytest = ">=8.2.1"
pytest-asyncio = ">=0.23.7"
pytest-mock = ">=3.14.0"
ruff = "0.0.292"
types-Deprecated = ">=0.1.0"
types-PyYAML = "^6.0.12.12"
types-protobuf = "^4.24.0.4"
types-redis = "4.5.5.0"
types-requests = "2.28.11.8" # TODO: unpin when mypy>0.991
types-setuptools = "67.1.0.0"
[tool.poetry.group.docs]
optional = true
[tool.poetry.group.docs.dependencies]
mkdocs = "^1.6.0"
mkdocs-include-dir-to-nav = "^1.2.0"
mkdocs-jupyter = "^0.24.7"
mkdocs-material = "^9.5.25"
mkdocs-redirects = "^1.2.1"
mkdocstrings = {extras = ["python"], version = "^0.25.1"}
[tool.poetry.scripts]
llamaindex-cli = 'llama_index.cli.command_line:main'
[[tool.poetry.source]]
name = "nvidia-pypi"
priority = "supplemental"
url = "https://pypi.nvidia.com"
[tool.ruff]
exclude = [
"_static",
"examples",
"llama_index/ingestion/client",
"notebooks",
]
ignore = [
"COM812", # Too aggressive
"D212", # Using D213
"D417", # Too aggressive
"F541", # Messes with prompts.py
"TCH002",
"UP006", # Messes with pydantic
"UP007", # Wants | over Union, which breaks 3.8
]
# Feel free to add more here
select = [
"ANN204",
"B009",
"B010",
"B011",
"B013",
"B014",
"C4",
"COM812",
"COM819",
"D201",
"D202",
"D203",
"D204",
"D207",
"D208",
"D209",
"D211",
"D213",
"D214",
"D215",
"D3",
"D4",
"E7",
"EXE004",
"F401",
"F504",
"F541",
"F632",
"FLY",
"G010",
"I002",
"PERF1",
"PIE790",
"PIE794",
"PIE808",
"PIE810",
"PLC0414",
"PLE2510",
"PLE2512",
"PLE2513",
"PLE2514",
"PLE2515",
"PLR1701",
"PLR1711",
"PT001",
"PT003",
"PT006",
"PT02",
"PTH201",
"PYI",
"Q",
"RET501",
"RET502",
"RET503",
"RET504",
"RSE",
"RUF005",
"RUF010",
"RUF015",
"RUF1",
"SIM101",
"SIM103",
"SIM109",
"SIM118",
"SIM2",
"SIM300",
"SIM9",
"TCH005",
"TD006",
"TID",
"TRY201",
"UP",
"W",
]
target-version = "py38"
unfixable = [
"ERA001",
]
[tool.ruff.flake8-annotations]
mypy-init-return = true
[tool.ruff.pydocstyle]
convention = "google"
[tool.tomlsort]
all = true
in_place = true
spaces_before_inline_comment = 2 # Match Python PEP 8
spaces_indent_inline_array = 4 # Match Python PEP 8
trailing_comma_inline_array = true
[tool.tomlsort.overrides."tool.poetry.dependencies"]
table_keys = false
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。