This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a change to tag 1.5.0
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
*** WARNING: tag 1.5.0 was modified! ***
from 1a72aa4 (commit)
to ef56263 (commit)
from 1a72aa4 chore(dist): exclude binary files when exporting source
package (#109)
add 0f609ba feat(ml): graph learning algorithm impl (10+) (#102)
add e3d25fd refact(client): use rich handle for log (#111)
add 6a8a379 refactor: optimize the process of graph rag (#101)
add 4c85aa9 chore: clean LICENSE for source code package (#104)
add 9f8ba3d fix(ml): handle pylint warning (#113)
add 41412a6 feat(llm): support log_block in RAG platform & rest-api (#110)
add aeb25bd fix(rag): rag api critical bug & rename some params (#114)
add 943e750 fix: null value detection on vid attributes (#115)
add 153d7f4 fix(llm): answer prompt None value effect (#116)
add f8b4582 fix(llm): correct e_cache type (#117)
add 265d43c feat(llm): separate multi llm configs/models (#112)
add df9adf8 chore(dist): add license header for files under style
directory (#118)
add 2d8e6c8 chore: enable allow-license & exclude style dir (#119)
add ef56263 refactor(llm): merge & update keyword extraction logic/prompt
(#120)
No new revisions were added by this update.
Summary of changes:
.gitattributes | 1 +
.github/workflows/check-dependencies.yml | 12 +-
.licenserc.yaml | 1 -
LICENSE | 38 -
hugegraph-llm/README.md | 5 +-
hugegraph-llm/requirements.txt | 2 +-
.../{exceptions/rag_exceptions.py => admin_api.py} | 31 +-
.../src/hugegraph_llm/api/models/rag_requests.py | 26 +-
hugegraph-llm/src/hugegraph_llm/api/rag_api.py | 21 +-
hugegraph-llm/src/hugegraph_llm/config/config.py | 31 +-
.../src/hugegraph_llm/config/config_data.py | 121 ++-
hugegraph-llm/src/hugegraph_llm/config/generate.py | 2 +-
.../demo/gremlin_generate_web_demo.py | 76 +-
.../src/hugegraph_llm/demo/rag_demo/admin_block.py | 153 ++++
.../src/hugegraph_llm/demo/rag_demo/app.py | 42 +-
.../hugegraph_llm/demo/rag_demo/configs_block.py | 190 +++--
.../src/hugegraph_llm/demo/rag_demo/other_block.py | 2 +-
.../src/hugegraph_llm/demo/rag_demo/rag_block.py | 51 +-
.../demo/rag_demo/vector_graph_block.py | 2 +-
.../src/hugegraph_llm/indices/vector_index.py | 3 +-
.../models/embeddings/init_embedding.py | 10 +-
.../src/hugegraph_llm/models/llms/init_llm.py | 80 +-
.../src/hugegraph_llm/models/llms/ollama.py | 2 +-
.../operators/common_op/nltk_helper.py | 2 +-
.../operators/document_op/chunk_split.py | 12 +-
.../operators/document_op/word_extract.py | 10 +-
.../src/hugegraph_llm/operators/graph_rag_task.py | 14 +-
.../operators/hugegraph_op/graph_rag_query.py | 91 ++-
.../operators/index_op/semantic_id_query.py | 35 +-
.../operators/index_op/vector_index_query.py | 9 +-
.../operators/llm_op/answer_synthesize.py | 50 +-
.../operators/llm_op/keyword_extract.py | 97 +--
.../src/hugegraph_llm/utils/graph_index_utils.py | 8 +-
hugegraph-llm/src/hugegraph_llm/utils/log.py | 50 +-
.../src/hugegraph_llm/utils/vector_index_utils.py | 2 +-
hugegraph-ml/README.md | 56 +-
.../src/hugegraph_ml/data/hugegraph2dgl.py | 295 +++++++-
.../examples/{jknet_example.py => agnn_example.py} | 15 +-
.../{jknet_example.py => appnp_example.py} | 19 +-
.../examples/{jknet_example.py => arma_example.py} | 18 +-
.../src/hugegraph_ml/examples/bgnn_example.py | 67 ++
.../examples/{grace_example.py => bgrl_example.py} | 15 +-
.../{gin_example.py => care_gnn_example.py} | 38 +-
.../{jknet_example.py => cluster_gcn_example.py} | 17 +-
...et_example.py => correct_and_smooth_example.py} | 16 +-
.../{jknet_example.py => dagnn_example.py} | 15 +-
.../{jknet_example.py => deepergcn_example.py} | 24 +-
.../examples/{gin_example.py => gatne_example.py} | 33 +-
.../examples/{grand_example.py => pgnn_example.py} | 19 +-
.../{diffpool_example.py => seal_example.py} | 38 +-
hugegraph-ml/src/hugegraph_ml/models/agnn.py | 64 ++
hugegraph-ml/src/hugegraph_ml/models/appnp.py | 84 +++
hugegraph-ml/src/hugegraph_ml/models/arma.py | 177 +++++
hugegraph-ml/src/hugegraph_ml/models/bgnn.py | 714 ++++++++++++++++++
hugegraph-ml/src/hugegraph_ml/models/bgrl.py | 260 +++++++
hugegraph-ml/src/hugegraph_ml/models/care_gnn.py | 234 ++++++
.../src/hugegraph_ml/models/cluster_gcn.py | 56 ++
.../src/hugegraph_ml/models/correct_and_smooth.py | 261 +++++++
hugegraph-ml/src/hugegraph_ml/models/dagnn.py | 145 ++++
hugegraph-ml/src/hugegraph_ml/models/deepergcn.py | 276 +++++++
hugegraph-ml/src/hugegraph_ml/models/gatne.py | 275 +++++++
hugegraph-ml/src/hugegraph_ml/models/pgnn.py | 464 ++++++++++++
hugegraph-ml/src/hugegraph_ml/models/seal.py | 828 +++++++++++++++++++++
.../hugegraph_ml/tasks/fraud_detector_caregnn.py | 123 +++
.../tasks/hetero_sample_embed_gatne.py | 122 +++
.../src/hugegraph_ml/tasks/link_prediction_pgnn.py | 94 +++
.../src/hugegraph_ml/tasks/link_prediction_seal.py | 172 +++++
...node_classify.py => node_classify_with_edge.py} | 50 +-
.../tasks/node_classify_with_sample.py | 156 ++++
.../src/hugegraph_ml/utils/dgl2hugegraph_utils.py | 745 +++++++++++++++++-
.../src/tests/test_examples/test_examples.py | 85 ++-
hugegraph-python-client/requirements.txt | 9 +-
.../src/pyhugegraph/utils/log.py | 248 ++++--
style/code_format_and_analysis.sh | 16 +
style/pylint.conf | 17 +
75 files changed, 6968 insertions(+), 674 deletions(-)
copy hugegraph-llm/src/hugegraph_llm/api/{exceptions/rag_exceptions.py =>
admin_api.py} (51%)
create mode 100644 hugegraph-llm/src/hugegraph_llm/demo/rag_demo/admin_block.py
copy hugegraph-ml/src/hugegraph_ml/examples/{jknet_example.py =>
agnn_example.py} (81%)
copy hugegraph-ml/src/hugegraph_ml/examples/{jknet_example.py =>
appnp_example.py} (76%)
copy hugegraph-ml/src/hugegraph_ml/examples/{jknet_example.py =>
arma_example.py} (77%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/examples/bgnn_example.py
copy hugegraph-ml/src/hugegraph_ml/examples/{grace_example.py =>
bgrl_example.py} (80%)
copy hugegraph-ml/src/hugegraph_ml/examples/{gin_example.py =>
care_gnn_example.py} (52%)
copy hugegraph-ml/src/hugegraph_ml/examples/{jknet_example.py =>
cluster_gcn_example.py} (73%)
copy hugegraph-ml/src/hugegraph_ml/examples/{jknet_example.py =>
correct_and_smooth_example.py} (79%)
copy hugegraph-ml/src/hugegraph_ml/examples/{jknet_example.py =>
dagnn_example.py} (81%)
copy hugegraph-ml/src/hugegraph_ml/examples/{jknet_example.py =>
deepergcn_example.py} (63%)
copy hugegraph-ml/src/hugegraph_ml/examples/{gin_example.py =>
gatne_example.py} (59%)
copy hugegraph-ml/src/hugegraph_ml/examples/{grand_example.py =>
pgnn_example.py} (63%)
copy hugegraph-ml/src/hugegraph_ml/examples/{diffpool_example.py =>
seal_example.py} (50%)
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/agnn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/appnp.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/arma.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/bgnn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/bgrl.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/care_gnn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/cluster_gcn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/correct_and_smooth.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/dagnn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/deepergcn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/gatne.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/pgnn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/models/seal.py
create mode 100644
hugegraph-ml/src/hugegraph_ml/tasks/fraud_detector_caregnn.py
create mode 100644
hugegraph-ml/src/hugegraph_ml/tasks/hetero_sample_embed_gatne.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/tasks/link_prediction_pgnn.py
create mode 100644 hugegraph-ml/src/hugegraph_ml/tasks/link_prediction_seal.py
copy hugegraph-ml/src/hugegraph_ml/tasks/{node_classify.py =>
node_classify_with_edge.py} (67%)
create mode 100644
hugegraph-ml/src/hugegraph_ml/tasks/node_classify_with_sample.py
mode change 100755 => 100644
hugegraph-python-client/src/pyhugegraph/utils/log.py