Feature Request: Implement White, Gray, and Blacklist for Web Search Domains

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

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

評価

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

調査の方向性

ファイルやテストは指定されていません。まず agent graph の web-search 統合と、既存の環境または設定の処理をたどり、次に whitelist、blacklist、graylist のルールがどのように相互作用するかを明確にしてください。ドメインポリシーを設定可能にし、検索中に適用し、その graylist 状態が要求どおり UI に表示されれば完了です。

索引モデルが issue の本文から書いたものです。

説明

Description of the feature request:

I would like to request a feature that allows for tiered control over the web search domains used by the agent. This could be configured via environment variables or a configuration file. The system would include:

  • Whitelist: A list of mandatory domains. If this list is populated, the agent must exclusively use sources from these domains. All other domains are ignored.

  • Blacklist: A list of forbidden domains. The agent must never use sources from these domains, even if they appear in search results.

  • Graylist: A list of acceptable but not preferred domains. The agent can use these sources, but it should prioritize sources from the whitelist if possible. Results from graylisted sites could be flagged in the UI to indicate a lower trust level.

What problem are you trying to solve with this feature?

This tiered system provides nuanced control over the agent's information sources, which is critical for sophisticated applications.

  • Whitelist ensures the agent adheres to the highest-trust sources for critical queries.

  • Blacklist prevents the agent from accessing known unreliable sources, competitors' websites, or irrelevant content, improving answer safety and focus.

  • Graylist offers flexibility, allowing the agent to access a broader range of information while still acknowledging that these sources may not be as authoritative as those on the whitelist. This is useful for topics where primary sources are limited.

Any other information you'd like to share?

I've considered workarounds like trying to force the site: operator through prompt engineering or by modifying the agent's graph code directly. However, a built-in feature would be far more reliable and easier to configure for developers using this project.

主要言語
Jupyter Notebook
スター
18.4k
フォーク
3.1k
PR マージ指標
30日以内にマージされた PR はありません

環境構築

  • Dockerfile または Docker Compose ファイルあり
  • プルリクエストのテンプレートなし
  • コントリビューションガイドなし

はじめの一歩

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

google-gemini/gemini-fullstack-langgraph-quickstart のほかの issue

google-gemini/gemini-fullstack-langgraph-quickstart の issue をすべて見る

似ている issue

AI Infra & Agents の issue をもっと見る

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

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