TabbyML / tabby

Self-hosted AI coding assistant
https://tabbyml.com
Other
21.89k stars 997 forks source link

include directory tree context provider to inject directory information to prompt, so it can answer questions like: which file is implementing the embedding model inferences? #3123

Open wsxiaoys opened 2 months ago

umialpha commented 1 month ago

@wsxiaoys , i am interested in this issue, but have no idea how to start. Could u share more informations either about rough ideas or any related learning materials. I have some questions.

  1. do we need include tree context for every question? If not, when to decide to include.
  2. Other than tree context, what else context should be included together?
umialpha commented 1 month ago

@wsxiaoys , i've read answer relevant code. IIUC, tabby wraps relevant code, doc to construct prompt request to llmasever. If so, do you mean we wrap new contexts named tree structure to construct prompt?