Validation: Improve topic relevance checks
まだ誰も着手していません。
評価
- 難易度
- 3/5
- 見積もり時間
- 1〜2日
- 初心者へのやさしさ
- 52/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- python
調査の方向性
run guardrails endpoint から開始し、トピック関連性、語彙的な侮辱、PII 除去の validator がどの順序で実行されるかを追跡します。タグを伏せた状態でケースを再現し、残りのコンテキストがトピックの範囲に一致する場合に、修正済みテキストに対してトピック関連性が実行されないことを確認します。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
if along with topic relevance validator we send some other validator such as lexical slur match or PII remover to the run guardrails endpoint, then if the input text has slur words or some PII, then respectively those validators will replace the specific words with [REDACTED_SLUR] or the pii entity tag such as [PHONE_NUMBER], after the words are detected and tagged, when the fixed input text goes to topic relevance validator, it will fail even if the rest of the context of the input still contained something related to the topic scope only.
Expected behavior
The fixed input text with redacted slur and pii entity tags should not be going to the topic relevance validator, because even if the main context is accurate to the scope, it will fail.
- 主要言語
- Python
- スター
- 5
- フォーク
- 3
- 平均マージ
- 9日 13時間
- マージ済み PR(30日)
- 2
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ProjectTech4DevAI/kaapi-guardrails のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
難易度 1/5 1時間未満 初心者へのやさしさ 65/100
-
ProjectTech4DevAI/kaapi-guardrails#158 · 担当者 1 名 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 55/100
ProjectTech4DevAI/kaapi-guardrails の issue をすべて見る
似ている issue
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
stephrobert/dsoxlab#238 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
sublimehq/package_control#1780 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 65/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 70/100
nwg-piotr/nwg-displays#145 ·