Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Validator: Improve Topic Relevance support

Aperta
#134 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
python
Ambito
api, backend

Direzione di ricerca

Inizia tracciando l’API di configurazione esistente e il workflow di creazione del validator standard Topic Relevance, quindi individua il punto in cui Topic Relevance (LLM) viene rifiutato perché non supportato. Confronta i due percorsi dei validator e verifica che il recupero, la creazione, l’elenco, l’ottenimento e la gestione delle configurazioni LLM restituiscano dati compatibili con i workflow del frontend.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
5
Fork
4
Merge medio
11g 19h
PR unite (30g)
1

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di ProjectTech4DevAI/kaapi-guardrails

Tutte le issue di ProjectTech4DevAI/kaapi-guardrails

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.