|
[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 |