You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Answer Engine]For code references, when the file content is reasonble(e.g <200 LoC), include whole file content directly, instead of only including the chunk.
#3096
Currently, only the chunk being matched (CodeSearchHit.doc.body) is being inserted in LLM context, we might consider insert the whole file if there're multiple file from same file and the whole file is <= K lines.
The text was updated successfully, but these errors were encountered:
wsxiaoys
changed the title
For code references, when the file content is reasonble(e.g <200 LoC), include whole file content directly, instead of only including the chunk.
[Answer Engine]For code references, when the file content is reasonble(e.g <200 LoC), include whole file content directly, instead of only including the chunk.
Sep 6, 2024
Code Location: https://demo.tabbyml.com/files/github/TabbyML/tabby/-/blob/abde89bf8178713b8def3db081597ea01c8183b9/ee/tabby-webserver/src/service/answer.rs#L178
Currently, only the chunk being matched (CodeSearchHit.doc.body) is being inserted in LLM context, we might consider insert the whole file if there're multiple file from same file and the whole file is <= K lines.
The text was updated successfully, but these errors were encountered: