Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

[FR] Improve AI search, avoid hitting maximum context length

オープン
#776 コメント 2 件 リアクション 1 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
説明が足りない
活発さ
停滞
技術スタック
typescript
領域
ai, search

調査の方向性

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 の本文から書いたものです。

説明

ask_sb Feature

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

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

sourcebot-dev/sourcebot のほかの issue

sourcebot-dev/sourcebot の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。