This is an automated email from the ASF dual-hosted git repository.
jin pushed a change to branch graphspace
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph-ai.git
omit c04ebf9 chore: update gitignore files
omit 12476fc feat(llm): support graphspace & unify the port to str
omit f0b1732 Merge branch 'main' into main2
omit e6e9264 fix ollama test api connection and fix invoking graph rag
twice
omit dae9a59 Merge remote-tracking branch 'refs/remotes/origin1/main' into
test
omit 3702a8e feat: Add word segmentation extraction component and multiple
file import adaptation
add d1b5814 feat(llm): support word segmt extraction component &
multi-files uploading (#69)
add 0168b85 feat(llm): support user-defined search template (#71)
add deced7e Add progress bars and print information for building vector
indexes (#74)
add aac82c0 feat(llm): record token cost & qps (#72)
add c399b3b feat(llm): support record QPS by decorator (#76)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (c04ebf9)
\
N -- N -- N refs/heads/graphspace (c399b3b)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omit" are not gone; other references still
refer to them. Any revisions marked "discard" are gone forever.
No new revisions were added by this update.
Summary of changes:
.../hugegraph_llm/api/exceptions/rag_exceptions.py | 2 +-
.../src/hugegraph_llm/api/models/rag_requests.py | 4 +-
hugegraph-llm/src/hugegraph_llm/api/rag_api.py | 2 +-
.../src/hugegraph_llm/demo/rag_web_demo.py | 36 +++--
.../src/hugegraph_llm/{ => middleware}/__init__.py | 0
.../src/hugegraph_llm/middleware/middleware.py | 45 ++++++
.../src/hugegraph_llm/models/llms/ollama.py | 16 ++-
.../src/hugegraph_llm/models/llms/openai.py | 7 +-
.../src/hugegraph_llm/models/llms/qianfan.py | 4 +
.../operators/common_op/merge_dedup_rerank.py | 8 +-
.../src/hugegraph_llm/operators/graph_rag_task.py | 158 +++++++++++++++------
.../operators/gremlin_generate_task.py | 17 ++-
.../operators/index_op/build_semantic_index.py | 3 +-
.../operators/index_op/build_vector_index.py | 5 +-
.../operators/kg_construction_task.py | 27 ++--
.../operators/llm_op/answer_synthesize.py | 39 +++--
.../operators/llm_op/disambiguate_data.py | 2 +
.../operators/llm_op/gremlin_generate.py | 2 +
.../hugegraph_llm/operators/llm_op/info_extract.py | 14 +-
.../operators/llm_op/keyword_extract.py | 2 +
.../operators/llm_op/property_graph_extract.py | 12 +-
.../src/hugegraph_llm/utils/decorators.py | 93 ++++++++++++
22 files changed, 384 insertions(+), 114 deletions(-)
copy hugegraph-llm/src/hugegraph_llm/{ => middleware}/__init__.py (100%)
create mode 100644 hugegraph-llm/src/hugegraph_llm/middleware/middleware.py
create mode 100644 hugegraph-llm/src/hugegraph_llm/utils/decorators.py