fix(chore): Dockerfile to add pyproject.toml anchor file (#266)

This PR fixes both Dockerfile.llm and Dockerfile.nk by adding the
missing step to copy pyproject.toml into the runtime image.

Details:

- Added COPY command to include /build/hugegraph-llm/pyproject.toml (or
/home/work/hugegraph-llm/pyproject.toml) in the final image.
- Ensures that pyproject.toml is available in the runtime environment
for get_project_path() api in anchor.py
- Improves image completeness.

---------

Co-authored-by: imbajin <jin@apache.org>
2 files changed
tree: 16502ce152651285af8b682243437d82beb71ae7
  1. .github/
  2. docker/
  3. hugegraph-llm/
  4. hugegraph-ml/
  5. hugegraph-python-client/
  6. scripts/
  7. style/
  8. .asf.yaml
  9. .gitattributes
  10. .gitignore
  11. .licenserc.yaml
  12. DISCLAIMER
  13. LICENSE
  14. NOTICE
  15. README.md
README.md

hugegraph-ai

License Ask DeepWiki

hugegraph-ai aims to explore the integration of HugeGraph with artificial intelligence (AI) and provide comprehensive support for developers to leverage HugeGraph's AI capabilities in their projects.

Modules

  • hugegraph-llm: The hugegraph-llm will house the implementation and research related to large language models. It will include runnable demos and can also be used as a third-party library, reducing the cost of using graph systems and the complexity of building knowledge graphs. Graph systems can help large models address challenges like timeliness and hallucination, while large models can help graph systems with cost-related issues. Therefore, this module will explore more applications and integration solutions for graph systems and large language models. (GraphRAG/Agent)
  • hugegraph-ml: The hugegraph-ml will focus on integrating HugeGraph with graph machine learning, graph neural networks, and graph embeddings libraries. It will build an efficient and versatile intermediate layer to seamlessly connect with third-party graph-related ML frameworks.
  • hugegraph-python-client: The hugegraph-python-client is a Python client for HugeGraph. It is used to define graph structures and perform CRUD operations on graph data. Both the hugegraph-llm and hugegraph-ml modules will depend on this foundational library.

Learn More

The project homepage contains more information about hugegraph-ai.

And here are links of other repositories:

  1. hugegraph (graph's core component - Graph server + PD + Store)
  2. hugegraph-toolchain (graph tools loader/dashboard/tool/client)
  3. hugegraph-computer (integrated graph computing system)
  4. hugegraph-website (doc & website code)

Contributing

  • Welcome to contribute to HugeGraph, please see Guidelines for more information.
  • Note: It's recommended to use GitHub Desktop to greatly simplify the PR and commit process.
  • Code format: Please run ./style/code_format_and_analysis.sh to format your code before submitting a PR. (Use pylint to check code style)
  • Thank you to all the people who already contributed to HugeGraph!

contributors graph

License

hugegraph-ai is licensed under Apache 2.0 License.

Contact Us