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

Aperta
#155 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Ambito
ai, search

Direzione di ricerca

Non vengono indicati file o test. Inizia tracciando l’integrazione di web-search nell’agent graph e la gestione esistente dell’ambiente o della configurazione, quindi chiarisci come interagiscono le regole di whitelist, blacklist e graylist. Il lavoro è completo quando la policy del dominio è configurabile, viene applicata durante la ricerca e il suo stato graylist è rappresentato nella UI come richiesto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Jupyter Notebook
Stelle
18.4k
Fork
3.1k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di google-gemini/gemini-fullstack-langgraph-quickstart

Tutte le issue di google-gemini/gemini-fullstack-langgraph-quickstart

Issue simili

Altre issue su AI Infra & Agents

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.