Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Validator: Improve Topic Relevance support

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

Maintainer thường phản hồi trong vòng 10 ngày

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

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
python
Lĩnh vực
api, backend

Hướng nghiên cứu

Bắt đầu bằng cách lần theo API cấu hình hiện có và quy trình tạo validator Topic Relevance tiêu chuẩn, sau đó xác định nơi Topic Relevance (LLM) bị từ chối vì không được hỗ trợ. So sánh hai luồng validator và xác minh rằng việc lấy, tạo, liệt kê, truy xuất và quản lý các cấu hình LLM trả về dữ liệu tương thích với các workflow của frontend.

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

Mô tả

Describe the current behavior
The frontend currently supports the Topic Relevance (LLM) validator, but there are a couple of backend limitations:

1. Configuration dropdown support

  • The existing API used to fetch configurations for the Topic Relevance validator does not support the Topic Relevance (LLM) validator.
  • When attempting to fetch configurations for Topic Relevance (LLM), the API returns a “validator not supported” error.
  • As a result, users cannot select from existing configurations through a dropdown, unlike the standard Topic Relevance validator.

2. Create new configuration support

  • The workflow for creating a new configuration is currently supported for the Topic Relevance validator only.
  • Topic Relevance (LLM) configurations cannot be created, managed, or selected through the existing backend APIs.

Describe the enhancement you'd like
Add backend support for Topic Relevance (LLM) configuration management, including:

  1. Support fetching available configurations for the Topic Relevance (LLM) validator through the configuration API.
  2. Support creating new Topic Relevance (LLM) configurations.
  3. Support listing, retrieving, and managing Topic Relevance (LLM) configurations in the same way as the existing Topic Relevance validator.
  4. Ensure the APIs return data in a format compatible with the existing frontend configuration dropdown and creation workflows.

Additional context
The frontend implementation for the Guardrails UI updates assumes that Topic Relevance (LLM) behaves similarly to the existing Topic Relevance validator.

Current blockers observed:

  • Fetching configurations for Topic Relevance (LLM) returns a “validator not supported” error.
  • Creating new configurations for Topic Relevance (LLM) is not currently supported by the backend APIs.

The goal is to bring Topic Relevance (LLM) to feature parity with the existing Topic Relevance validator from a configuration management perspective.

Ngôn ngữ chính
Python
Star
5
Fork
3
Merge trung bình
9 ngày 13 giờ
Pull request đã merge (30 ngày)
2

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

Chúng tôi chưa kiểm tra các tệp thiết lập môi trường của dự án này. Hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 ProjectTech4DevAI/kaapi-guardrails

Tất cả issue của ProjectTech4DevAI/kaapi-guardrails

Issue tương tự

Thêm issue về Python

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.