Evaluation: Improve guardrails awareness
Maintainer thường phản hồi trong vòng 1 ngà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
- 15/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- ai, backend-api-design
Hướng nghiên cứu
The issue says the evaluation job's v2 path and GET /api/v1/evaluations/{id} results are involved; start by tracing that evaluation path and the execute_llm_call path. Check how guardrail data passes through retries, merging, scoring, and traces. Done means fast/v2 evaluations apply input and output guardrails and expose the requested per-row fields without recording eval traffic as llm_call rows; the issue reports this work as implemented in #1208.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your feature request related to a problem?
Text evaluations (fast run mode / v2) currently ignore the stored input and output guardrails. This leads to eval scores that don't accurately reflect the system's behavior in production.
Describe the solution you'd like
- Make fast/v2 evaluations guardrails-aware: check each dataset query against
input_guardrailsbefore the LLM call and the response againstoutput_guardrailsafter. - Use the
execute_llm_callpath instead of a separate eval-only path, avoiding the recording of eval traffic asllm_callrows. - Include per-row
guardrailstatus,input_to_llm, andoutput_from_llminGET /api/v1/evaluations/{id}results. - Carry guardrail data through retry, merge, scoring, and traces.
Original issue
Is your feature request related to a problem?
Text evaluations (fast run mode / v2) ignore the input and output guardrails stored on the config. The golden dataset query is sent straight to the LLM and the generated response is never checked by output guardrails, so eval scores don't reflect how the config actually behaves in production via /llm/call.
Describe the solution you'd like
- Make the fast/v2 evaluation run guardrails-aware: run each dataset query through the config's
input_guardrailsbefore the LLM call, and the response throughoutput_guardrailsafter. - Reuse the
execute_llm_callpath instead of a separate eval-only LLM path, without recording eval traffic asllm_callrows / production metrics. - Surface per-row
guardrailstatus,input_to_llmandoutput_from_llminGET /api/v1/evaluations/{id}results. - Carry guardrail data through retry, merge, scoring and traces.
Original issue
Earlier doing text evals v2 used not to take into account the stored input and output validators ids and instead sending the input / output straight to openAI. Now the evaluation job (v2) is guardrails aware; meaning the query in the golden dataset is passed through input guardrails if they are stored; similar functionality for responses generated (if o/p guardrails are configured).
Comments: Implemented in #1208.
- Ngôn ngữ chính
- Python
- Star
- 18
- Fork
- 11
- Merge trung bình
- 3 ngày 11 giờ
- Pull request đã merge (30 ngày)
- 8
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của ProjectTech4DevAI/kaapi-backend
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
ProjectTech4DevAI/kaapi-backend#889 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Logging: Reduce INFO log noiseCó thể đã có người làm @vprashrex đã nhận 3 ngày trước. Đang mởmaintenance
ProjectTech4DevAI/kaapi-backend#1243 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sentry Integration: Dynamic release taggingCó thể đã có người làm @vprashrex đã nhận 3 ngày trước. Đang mởenhancement parent
ProjectTech4DevAI/kaapi-backend#1242 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sentry Integration: Track staging commitsCó thể đã có người làm @vprashrex đã nhận 3 ngày trước. Đang mởenhancement
ProjectTech4DevAI/kaapi-backend#1241 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Sentry release tracking for production (git sha + deploy markers)Có thể đã có người làm @vprashrex đã nhận 3 ngày trước. Đang mởenhancement
ProjectTech4DevAI/kaapi-backend#1240 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của ProjectTech4DevAI/kaapi-backend
Issue tương tự
-
[Bug]: LangGraph Store sync put bypasses namespace validationCó thể đã có người làm @ktz03 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
volcengine/OpenViking#6050 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Bug]: Streamed /v1/chat/completions sends unredacted agent error text (keys) in the final chunkCó thể đã có người làm @rodricksz4h5 đã nhận hôm nay. Đang mởarea/streaming comp/gateway P2 type/security
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
NousResearch/hermes-agent#138245 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[oblt-aw][autodoc] Update user onboarding guide for mandatory trigger CODEOWNERS stepCó thể đã có người làm @github-actions đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
Maintainer thường phản hồi trong vòng 1 ngày
-
correction metadata
Độ khó 2/5 Dưới một giờ Mức phù hợp với người mới 68/100
acl-org/acl-anthology#10378 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cloudtrail_multi_region_enabled_logging_management_events fails when the advanced event selector has a custom nameCó thể đã có người làm @12YYCCYY16 đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
prowler-cloud/prowler#13033 ·
Maintainer thường phản hồi trong vòng 1 ngày