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): added the process of intelligent generated gremlin for retrieval before subgraph retrieval #105

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

Conversation

vichayturen
Copy link
Contributor

@vichayturen vichayturen commented Nov 5, 2024

address #10

  1. added the process of intelligent generated gremlin retrivecal
  2. added text2gremlin block in rag app

@dosubot dosubot bot added the size:L This PR changes 100-499 lines, ignoring generated files. label Nov 5, 2024
@github-actions github-actions bot added the llm label Nov 5, 2024
@dosubot dosubot bot added the enhancement New feature or request label Nov 5, 2024
@simon824
Copy link
Member

After implementing text2gremlin here, can gremlin_generate_web_demo.py be removed?

@imbajin imbajin self-assigned this Nov 12, 2024
# Conflicts:
#	hugegraph-llm/src/hugegraph_llm/operators/hugegraph_op/graph_rag_query.py
@vichayturen
Copy link
Contributor Author

After implementing text2gremlin here, can gremlin_generate_web_demo.py be removed?

Yes, and it has been removed in new commit.

@dosubot dosubot bot added size:XL This PR changes 500-999 lines, ignoring generated files. and removed size:L This PR changes 100-499 lines, ignoring generated files. labels Nov 17, 2024
@imbajin
Copy link
Member

imbajin commented Nov 21, 2024

We should add a flag value under the interface of graph query rag/graph:

  • 1 represents text2gql accurate matching success
  • 0 represents (k-neighbor) generalization matching success
  • -1 represents no relevant graph info

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:XL This PR changes 500-999 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants