Open zjjzyl opened 1 month ago
I will propose a PR to resolve this.
This issue has been marked stale due to inactivity after repo maintainer or community member responses that request more information or suggest a solution. It will be closed after five additional days.
Describe the issue
I have encountered an issue with the configuration of the
local_search.max_tokens
parameter in thesettings.yaml
file. Currently, this parameter does not seem to influence the local search functionality as expected. Thelocal_search.max_tokens
parameter is not being utilized when executing a local search task. Upon investigation, I found that the actual parameter being used to build thellm_params
for an instance ofLocalSearch
isllm_max_tokens
, as defined in the source code here. To ensure that thesettings.yaml
configuration is respected, I recommend adding thellm_max_tokens
parameter to theinit_content.py
file. This would allow thesettings.yaml
to include thellm_max_tokens
parameter, enabling customization of the local search as intended.Steps to reproduce
GraphRAG Config Used
No response
Logs and screenshots
No response
Additional Information