-
Notifications
You must be signed in to change notification settings - Fork 29
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): modify the summary info and enhance the request logic #147
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dosubot
bot
added
the
size:S
This PR changes 10-29 lines, ignoring generated files.
label
Dec 25, 2024
imbajin
reviewed
Dec 26, 2024
hugegraph-llm/src/hugegraph_llm/operators/hugegraph_op/fetch_graph_data.py
Outdated
Show resolved
Hide resolved
imbajin
reviewed
Dec 26, 2024
dosubot
bot
added
size:M
This PR changes 30-99 lines, ignoring generated files.
and removed
size:S
This PR changes 10-29 lines, ignoring generated files.
labels
Dec 26, 2024
imbajin
reviewed
Dec 27, 2024
hugegraph-llm/src/hugegraph_llm/demo/rag_demo/vector_graph_block.py
Outdated
Show resolved
Hide resolved
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
Dec 27, 2024
imbajin
approved these changes
Jan 2, 2025
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TODO: separate the timer out of app.py
imbajin
changed the title
feat(llm): Modify the return messages of Get Vector Index Info and Get Graph Index Info
feat(llm): modify the summary info and enhance the request logic
Jan 2, 2025
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
lgtm
This PR has been approved by a maintainer
llm
size:L
This PR changes 100-499 lines, ignoring generated files.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Modify the return messages of
Get Vector Index Info
. Display the number of elements in "chunk vector" and "graph vid vector" separately.{ "embed_dim": 1024, "vector_info": { "chunk_vector_num": 8, "graph_vid_vector_num": 483, "graph_properties_vector_num": 8 } }
Modify the return messages of
Get Graph Index Info
. Display the number of vertices and edges. Display the first 100 edges.{ "num_vertices": [ 483 ], "num_edges": [ 692 ], "vertices": [ "12:James", "12:Sarah" ....], "edges": [ "S9:徐起>12>12>>S10:冀RM78Y7!小型轿车!徐起", "S9:刘雪峰>11>11>>S11:未与前车保持足以采取紧急制动措施的安全距离", ....], "vid_index": { "embed_dim": 1024, "num_vectors": 483, "num_vids": 483 } }
When a user simultaneously employs text and files, a
log.error
pops up.add doc_input_text into config_prompt.py to impl text in Doc(s) persistence