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): handle 'island nodes' extraction in 2-step graph queries and add asynchronous methods to the four types of generation functions in the rag web demo. #58

Merged
merged 13 commits into from
Aug 12, 2024

Conversation

vichayturen
Copy link
Contributor

@vichayturen vichayturen commented Jul 30, 2024

  1. Fix some bugs and prompts.
  2. Add two-stage query to get more information in graph rag query.
  3. Add optional parameters for keyword matching vid.
  4. Add asynchronous methods to the four types of generation functions in the rag web demo.

Provide clearer feedback to the llm when no paragraphs or subgraphs are
related to the query by adding specific messages in the synthesis response.
# Conflicts:
#	hugegraph-llm/src/hugegraph_llm/operators/llm_op/answer_synthesize.py
@dosubot dosubot bot added the size:M This PR changes 30-99 lines, ignoring generated files. label Jul 30, 2024
@github-actions github-actions bot added the llm label Jul 30, 2024
@dosubot dosubot bot added bug Something isn't working enhancement New feature or request labels Jul 30, 2024
@imbajin imbajin changed the title fix: Add knowledge of "island nodes" to subgraph query extraction using two-stage queries. fix(llm): handle 'island nodes' extraction in 2-step graph queries Aug 1, 2024
@dosubot dosubot bot added size:L This PR changes 100-499 lines, ignoring generated files. and removed size:M This PR changes 30-99 lines, ignoring generated files. labels Aug 6, 2024
@vichayturen vichayturen changed the title fix(llm): handle 'island nodes' extraction in 2-step graph queries feat(llm): handle 'island nodes' extraction in 2-step graph queries and add asynchronous methods to the four types of generation functions in the rag web demo. Aug 6, 2024
@imbajin
Copy link
Member

imbajin commented Aug 11, 2024

Some modification about options:
image

@imbajin imbajin merged commit d6d7990 into apache:main Aug 12, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working 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.

2 participants