imbajin commented on code in PR #226:
URL:
https://github.com/apache/incubator-hugegraph-ai/pull/226#discussion_r2097887681
##########
hugegraph-llm/pyproject.toml:
##########
@@ -29,60 +29,62 @@ maintainers = [
{ name = "Apache HugeGraph Contributors", email =
"[email protected]" },
]
+
+dependencies = [
+ "openai~=1.61.0",
+ "ollama~=0.2.1",
+ "qianfan~=0.3.18",
+ "retry~=0.9.2",
+ "tiktoken>=0.7.0",
+ "nltk~=3.9.1",
+ "gradio>5.0.0",
+ "jieba>=0.42.1",
+ "numpy~=1.24.4",
+ "python-docx~=1.1.2",
+ "langchain-text-splitters~=0.2.2",
+ "faiss-cpu~=1.8.0",
+ "python-dotenv>=1.0.1",
+ "pyarrow~=17.0.0",
+ "pandas<2.2.2",
+ "openpyxl~=3.1.5",
+ "pydantic-settings~=2.6.1",
+ "decorator~=5.1.1",
+ "requests~=2.32.0",
+ "setuptools~=70.0.0",
+ "urllib3~=2.2.2",
+ "rich~=13.9.4",
+ "apscheduler~=3.10.4",
+ "litellm~=1.61.13",
+ "hugegraph-python"
+]
[project.urls]
homepage = "https://hugegraph.apache.org/"
repository = "https://github.com/apache/incubator-hugegraph-ai"
documentation = "https://hugegraph.apache.org/docs/quickstart/hugegraph-ai/"
"Bug Tracker" = "https://github.com/apache/incubator-hugegraph-ai/issues"
-
-[tool.poetry.dependencies]
-python = "^3.10,<3.12"
-openai = "~1.61.0"
-ollama = "~0.2.1"
-qianfan = "~0.3.18"
-retry = "~0.9.2"
-tiktoken = ">=0.7.0"
-nltk = "~3.9.1"
-gradio = ">5.0.0"
-jieba = ">=0.42.1"
-numpy = "~1.24.4"
-python-docx = "~1.1.2"
-langchain-text-splitters = "~0.2.2"
-faiss-cpu = "~1.8.0"
-python-dotenv = ">=1.0.1"
-pyarrow = "~17.0.0"
-pandas = "<2.2.2"
-openpyxl = "~3.1.5"
-pydantic-settings = "~2.6.1"
-decorator = "~5.1.1"
-requests = "~2.32.0"
-setuptools = "~70.0.0"
-urllib3 = "~2.2.2"
-rich = "~13.9.4"
-apscheduler= "~3.10.4"
-litellm = "~1.61.13"
-hugegraph-python = { path = "../hugegraph-python-client/", develop = true }
-
[build-system]
-requires = ["poetry-core"]
-build-backend = "poetry.core.masonry.api"
+requires = ["hatchling"]
+build-backend = "hatchling.build"
+
+#If you want to modify the network configuration file of the project, then you
can modify this part
+[[tool.uv.index]]
+url = "https://pypi.tuna.tsinghua.edu.cn/simple"
+default = true
-[[tool.poetry.source]]
-name = "pypi"
-priority = "primary"
+[tool.hatch.build.targets.wheel]
+packages = ["src/hugegraph_llm"]
-[[tool.poetry.source]]
-name = "aliyun"
-url = "https://mirrors.aliyun.com/pypi/simple/"
-priority = "supplemental"
+[tool.hatch.build.targets.sdist]
+include = [
+ "src/hugegraph_llm",
+ "README.md",
+ "LICENSE",
Review Comment:
LICENSE & NOTICE?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]