[FR] Improve AI search, avoid hitting maximum context length
まだ誰も着手していません。
評価
- 難易度
- 5/5
- 見積もり時間
- 1週間以上
- 初心者へのやさしさ
- 25/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- typescript
調査の方向性
No files, tests, or implementation entry points are named. Start by locating the Ask/global search implementation and how it builds model context, then determine how repository selection and context-limit failures are handled. Done would require a defined strategy that lets global searches answer file-location questions without exceeding the model context limit.
索引モデルが issue の本文から書いたものです。
説明
I think the AI search ("Ask") feature could be improved a lot. Right now, you can quickly select one repository or do a global search with one click. It's quite tedious to select individual repos and if you have a global question it's often unclear which repositories you should select in the first place. Sourcebot' most powerful feature is to be able to search globally.
nfortunately, it's too easy to hit the maximum context size of a model. I think the AI feature should be a bit more intelligent on what it does. For example, one of the most frequent questions we have is: "Where do I find...."? For example: "Where do I find the arrow icon image file?" etc.
In this case, it should perhaps first find out which files might be affected at all (PNG, JPEG, SVG). Then it should search over filenames and paths only and see whether it could answer the question that way. Perhaps it should even automatically try to segment the search and search iteratively over chunks of e.g. 16 repositories. I think a lot more stuff could be done to make this feature work better. Right now most global searches end without an answer due to context limits.
- 主要言語
- TypeScript
- スター
- 3.9k
- フォーク
- 374
- 平均マージ
- 21時間 18分
- マージ済み PR(30日)
- 39
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
sourcebot-dev/sourcebot のほかの issue
-
bug triage needed
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
sourcebot-dev/sourcebot#1681 · コメント 1 件 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
sourcebot-dev/sourcebot#1633 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
sourcebot-dev/sourcebot#1384 · コメント 4 件 ·
-
ask_sb bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
sourcebot-dev/sourcebot#1137 · コメント 4 件 ·
-
bug triage needed
難易度 3/5 1〜2日 初心者へのやさしさ 48/100
sourcebot-dev/sourcebot#1661 · コメント 1 件 ·
sourcebot-dev/sourcebot の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
safetrustcr/dApp-SafeTrust#426 ·
-
area:workflow bug ready-for-agent
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
fil-donadoni/tolaria#4409 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
Fission-AI/OpenSpec#1960 ·
-
Add dependabot オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
corsairdev/corsair#1764 ·