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

Đang mở
#155 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Lĩnh vực
ai, search

Hướng nghiên cứu

Không có tệp hoặc bài kiểm thử nào được nêu tên. Hãy bắt đầu bằng cách lần theo tích hợp web-search của agent graph và cách xử lý môi trường hoặc cấu hình hiện có, sau đó làm rõ cách các quy tắc whitelist, blacklist và graylist tương tác với nhau. Công việc được xem là hoàn tất khi chính sách miền có thể cấu hình, được thực thi trong quá trình tìm kiếm và trạng thái graylist của chính sách được biểu thị trong UI như yêu cầu.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Jupyter Notebook
Star
18.4k
Fork
3.1k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của google-gemini/gemini-fullstack-langgraph-quickstart

Tất cả issue của google-gemini/gemini-fullstack-langgraph-quickstart

Issue tương tự

Thêm issue về AI Infra & Agents

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.