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

Abierto
#155 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Área
ai, search

Línea de trabajo

No se nombran archivos ni pruebas. Empieza por seguir la integración de web-search del agent graph y el manejo existente del entorno o la configuración; después, aclara cómo interactúan las reglas de whitelist, blacklist y graylist. Se considera terminado cuando la política de dominios se puede configurar, se aplica durante la búsqueda y su estado de graylist se representa en la UI según lo solicitado.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Jupyter Notebook
Estrellas
18.4k
Forks
3.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

  • Incluye un Dockerfile o un archivo de Docker Compose
  • Sin plantilla de pull request
  • Sin guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de google-gemini/gemini-fullstack-langgraph-quickstart

Todos los issues de google-gemini/gemini-fullstack-langgraph-quickstart

Issues similares

Más issues de AI Infra & Agents

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.