File size: 1,929 Bytes
7c012de |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
[build-system]
requires = ["hatchling", "hatch-requirements-txt", "hatch-fancy-pypi-readme>=22.5.0"]
build-backend = "hatchling.build"
[project]
name = "gradio_kb_browser"
version = "0.1.0"
description = "Knowledge Base Browser - A Gradio Custom Component for RAG applications"
readme = "README.md"
license = "MIT"
requires-python = ">=3.8"
authors = [
{name = "Gradio Team", email = "hello@gradio.app"},
]
keywords = ["gradio", "component", "knowledge-base", "rag", "retrieval", "llama-index", "vector-search"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
"gradio>=4.0.0",
"llama-index-core>=0.10.0",
"llama-index-embeddings-openai",
"llama-index-llms-openai",
"llama-index-vector-stores-faiss",
"faiss-cpu",
"typing-extensions",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"pytest-asyncio",
"black",
"isort",
"flake8",
]
[project.urls]
Homepage = "https://github.com/gradio-app/gradio"
Repository = "https://github.com/gradio-app/gradio"
Documentation = "https://gradio.app/docs"
"Bug Reports" = "https://github.com/gradio-app/gradio/issues"
[tool.hatch.build]
artifacts = [
"/kb_browser/templates",
"*.py"
]
[tool.hatch.build.targets.wheel]
packages = ["kb_browser"]
[tool.hatch.metadata]
allow-direct-references = true
[tool.black]
line-length = 88
target-version = ['py38']
[tool.isort]
profile = "black"
multi_line_output = 3 |