Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(llm): optimize the main process of graph rag so that text2gql and subgraph query are in two different workflows #136

Open
wants to merge 43 commits into
base: main
Choose a base branch
from

Conversation

vichayturen
Copy link
Contributor

  1. use GremlinGenerator in rag_answer function to get gremlin generate answer.
  2. use one context to link two task_runners.

vichayturen and others added 30 commits November 1, 2024 21:48
# Conflicts:
#	hugegraph-llm/src/hugegraph_llm/operators/hugegraph_op/graph_rag_query.py
# Conflicts:
#	hugegraph-llm/src/hugegraph_llm/demo/rag_demo/app.py
#	hugegraph-llm/src/hugegraph_llm/demo/rag_demo/other_block.py
# Conflicts:
#	hugegraph-llm/src/hugegraph_llm/operators/hugegraph_op/graph_rag_query.py
# Conflicts:
#	hugegraph-llm/src/hugegraph_llm/demo/gremlin_generate_web_demo.py
HJ-Young and others added 12 commits December 4, 2024 16:50
…d subgraph query are in two different branches
# Conflicts:
#	hugegraph-llm/README.md
#	hugegraph-llm/src/hugegraph_llm/config/__init__.py
#	hugegraph-llm/src/hugegraph_llm/config/prompt_config.py
#	hugegraph-llm/src/hugegraph_llm/demo/rag_demo/app.py
#	hugegraph-llm/src/hugegraph_llm/demo/rag_demo/rag_block.py
#	hugegraph-llm/src/hugegraph_llm/demo/rag_demo/text2gremlin_block.py
#	hugegraph-llm/src/hugegraph_llm/operators/graph_rag_task.py
#	hugegraph-llm/src/hugegraph_llm/operators/gremlin_generate_task.py
#	hugegraph-llm/src/hugegraph_llm/operators/hugegraph_op/graph_rag_query.py
#	hugegraph-llm/src/hugegraph_llm/operators/llm_op/gremlin_generate.py
#	hugegraph-python-client/src/pyhugegraph/utils/util.py
…iguration items in the subgraph query and migrate to the new gremlin query
@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Dec 18, 2024
@github-actions github-actions bot added the llm label Dec 18, 2024
@dosubot dosubot bot added the enhancement New feature or request label Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request llm size:L This PR changes 100-499 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants