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): modify the summary info and enhance the request logic #147

Merged
merged 20 commits into from
Jan 2, 2025

Conversation

MrJs133
Copy link
Contributor

@MrJs133 MrJs133 commented Dec 25, 2024

  1. 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 } }

  2. 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 } }

  3. When a user simultaneously employs text and files, a log.error pops up.

  4. add doc_input_text into config_prompt.py to impl text in Doc(s) persistence

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Dec 25, 2024
@github-actions github-actions bot added the llm label Dec 25, 2024
@dosubot dosubot bot added the enhancement New feature or request label Dec 25, 2024
@dosubot 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
@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 Dec 27, 2024
Copy link
Member

@imbajin imbajin left a 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

@dosubot dosubot bot added the lgtm This PR has been approved by a maintainer label Jan 2, 2025
@imbajin imbajin merged commit 3ad572f into apache:main Jan 2, 2025
11 checks passed
@imbajin 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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants