-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #88 from SylphAI-Inc/li
[Improve doc deployment]
- Loading branch information
Showing
15 changed files
with
1,763 additions
and
2,743 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Dummy file to make this directory a package.""" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"""Dummy file to make this directory a package.""" |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,106 +1,27 @@ | ||
# [tool.poetry] | ||
# name = "lightrag" | ||
|
||
# packages = [ | ||
# { include = "core", from = "." }, | ||
# { include = "components", from = "." }, | ||
# { include = "prompts", from = "." }, | ||
# { include = "eval", from = "." }, | ||
# { include = "utils", from = "." }, | ||
# { include = "tracing", from = "." }, | ||
# ] | ||
# version = "0.1.0" | ||
# description = "The 'PyTorch' library for LLM applications. RAG=Retriever-Agent-Generator." | ||
# authors = ["Li Yin <[email protected]>"] | ||
# readme = "README.md" | ||
# license = "MIT" | ||
# classifiers = [ | ||
# "Topic :: Software Development :: Build Tools", | ||
# "Topic :: Software Development :: Libraries :: Python Modules", | ||
# ] | ||
|
||
# # [[tool.poetry.packages]] | ||
# # include = "lightrag" | ||
|
||
# [tool.poetry.dependencies] | ||
# python = ">=3.11, <4.0" | ||
# python-dotenv = "^1.0.1" | ||
# backoff = "^2.2.1" | ||
# jinja2 = "^3.1.3" | ||
# # TODO: decide if we need people to install faiss, or openai, or groq separately | ||
# openai = "^1.12.0" | ||
# groq = "^0.5.0" # should only be installed if groq client is used | ||
# faiss-cpu = "^1.8.0" | ||
# torchviz = "^0.0.2" | ||
# matplotlib = "^3.8.4" | ||
# colorama = "^0.4.6" | ||
# jsonlines = "^4.0.0" | ||
|
||
|
||
# [tool.poetry.group.test.dependencies] | ||
# pytest = "^8.1.1" | ||
# pytest-mock = "^3.14.0" | ||
|
||
# [tool.poetry.group.typing.dependencies] | ||
# mypy = "^1" | ||
|
||
# [tool.poetry.group.doc.dependencies] | ||
# datasets = ">=2.14.6, <=2.19.1" | ||
# sphinx = "^7.3.7" | ||
# sphinx-rtd-theme = "^2.0.0" | ||
# pydata-sphinx-theme = "0.15.2" | ||
# sphinx-design = "^0.6.0" | ||
|
||
|
||
# [tool.poetry.group.dev.dependencies] | ||
# langchain = "^0.1.16" | ||
# llama-index = "^0.10.30" | ||
# pre-commit = "^3.7.0" | ||
# litellm = "^1.35.34" | ||
# haystack-ai = "^2.0.1" | ||
# torchvision = "^0.18.0" | ||
# torch = "^2.3.0" | ||
# langsmith = "^0.1.56" | ||
# langchain-openai = "^0.1.6" | ||
# pyvis = "^0.3.2" | ||
# llama-index-llms-ollama = "^0.1.3" | ||
# anthropic = "^0.26.0" | ||
# google-generativeai = "^0.5.4" | ||
# transformers = "^4.41.0" | ||
# torchmetrics = "^1.4.0.post0" | ||
# lightning = "^2.2.4" | ||
# dspy-ai = "^2.4.9" | ||
# jupyter = "^1.0.0" | ||
# ipykernel = "^6.29.4" | ||
# colorama = "^0.4.6" | ||
|
||
|
||
# [tool.ruff] | ||
# exclude = ["images"] | ||
|
||
|
||
# [build-system] | ||
# requires = ["poetry-core"] | ||
# build-backend = "poetry.core.masonry.api" | ||
|
||
[tool.poetry] | ||
name = "lightrag-docs" | ||
version = "0.1.0" | ||
description = "A project to develop and test the lightrag library" | ||
description = "Documentation for the lightrag project" | ||
authors = ["Your Name <[email protected]>"] | ||
license = "MIT" | ||
|
||
packages = [{ include = "../docs", from = "." }] | ||
|
||
packages = [{ from = "_dummy", include = "dummy" }] # empty packages | ||
|
||
[tool.poetry.dependencies] | ||
python = ">=3.11, <4.0" | ||
lightrag = { path = "../lightrag", develop = true } | ||
|
||
|
||
[tool.poetry.group.dev.dependencies] | ||
torch = "^2.3.0" | ||
|
||
lightrag = "^0.0.0a13" # Assuming this is the main library you are developing | ||
|
||
|
||
[tool.poetry.group.doc.dependencies] | ||
pydata-sphinx-theme = "^0.15.3" | ||
sphinx-design = "^0.6.0" | ||
sphinx-copybutton = "^0.5.2" | ||
sphinx = "^7.3.7" | ||
nbsphinx = "^0.9.4" | ||
nbconvert = "^7.16.4" | ||
pandoc = "^2.3" | ||
readthedocs-sphinx-search = "^0.3.2" | ||
sqlalchemy = "^2.0.31" | ||
google-generativeai = "^0.7.1" | ||
|
||
[build-system] | ||
requires = ["poetry-core>=1.0.0"] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.