Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Validator: Improve Topic Relevance support

未关闭
#134 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 10 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
冷清
技术栈
python
领域
api, backend

调研方向

首先追踪标准 Topic Relevance validator 现有的配置 API 和创建流程,然后定位 Topic Relevance (LLM) 被拒绝为不受支持的位置。比较两条 validator 路径,并验证获取、创建、列出、检索和管理 LLM 配置时返回的数据与 frontend 工作流兼容。

由索引模型根据 Issue 内容生成。

描述

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.

主要语言
Python
星标
5
派生
3
平均合并
9 天 13 小时
30 天内合并 PR
2

环境准备

我们还没有检查这个项目的环境配置文件。先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

ProjectTech4DevAI/kaapi-guardrails 的其他 Issue

查看 ProjectTech4DevAI/kaapi-guardrails 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。