feat: added local LLM API, changed the config displayed in the initial gradio demo, and added openai's apibase configuration. (#41)

* add api_bot

* add local qwen api
change initial gradio_demo config shown
add apibase config on openai

* fix some questions

* fix some questions

* fix dependency

* go through ./style/code_format_and_analysis.sh and check some warnings

* 1. fixed dependencies of local llm api
2. provide some usage examples of local llm api in README

* fix the argument's descriptions

* 1. Removed unused function.
2. Added one configurable arguments max_new_tokens to command line argumnents.
3. Fixed some code style issues.

* fix some style issues

* 1. fix import error when python version > 3.12
11 files changed
tree: 5913300a0c484ac5956f6d7f8467f9d3297e7b4a
  1. .github/
  2. hugegraph-llm/
  3. hugegraph-ml/
  4. hugegraph-python-client/
  5. scripts/
  6. style/
  7. .asf.yaml
  8. .gitignore
  9. .licenserc.yaml
  10. DISCLAIMER
  11. LICENSE
  12. NOTICE
  13. README.md
README.md

hugegraph-ai

License

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 assist graph systems with cost-related issues. Therefore, this module will explore more applications and integration solutions for graph systems and large language models.
  • 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.

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.
  • 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