4 Repos
Custom listeners that trigger specific actions when an API response fails to meet expected criteria.
Distinct from Response Validation: Focuses on the observer pattern for validation failures rather than the general validation logic.
Explore 4 awesome GitHub repositories matching web development · Validation Failure Callbacks. Refine with filters or upvote what's useful.
Rest-assured is a Java-based REST API testing framework and HTTP client library designed for automating web service tests. It provides a fluent domain-specific language and assertion library to send HTTP requests and validate response metadata, including status codes, headers, cookies, and bodies. The framework is distinguished by a method-chaining DSL that creates readable specifications for API interactions. It features a filter-based request interception pipeline, object-mapping serialization for converting Java objects to JSON or XML, and a path-based parsing system to isolate specific fi
Allows registration of custom listeners to execute callbacks when response validation fails.
Guardrails is a Python SDK that wraps calls to large language models with configurable validation pipelines, corrective actions, and structured output generation. It provides a unified API layer that connects to over 100 language models, applying consistent validation, streaming, and error-handling across providers. The framework validates and corrects model responses against safety and quality rules, detecting and mitigating risks in both inputs and outputs using pre-built and custom validators. The project distinguishes itself through a validator-pipeline architecture that sequentially appl
Retries the LLM prompt or fixes the output automatically when a validation check fails.
x-editable ist eine jQuery-Bibliothek für In-Place-Editing, die statische Inhalte in editierbare Felder umwandelt. Sie fungiert als Inline-Content-Editor, der Aktualisierungen direkt auf einer Webseite ermöglicht, ohne dass eine Seitennavigation erforderlich ist. Die Bibliothek enthält einen anpassbaren Input-Renderer, der diverse Formate wie Textfelder, Date-Picker und Rich-Text-Editoren unterstützt. Zudem verfügt sie über einen clientseitigen Input-Validator, um bearbeitete Werte anhand spezifischer Regeln zu verifizieren, bevor Änderungen committet werden. Das Toolkit integriert sich in UI-Frameworks wie Bootstrap und jQuery UI. Es bietet konfigurierbare Interaktions-Trigger, wie z. B. einfache oder doppelte Klicks, um den Bearbeitungsmodus zu aktivieren.
Implements callback-based logic to verify user input before committing changes to the data source.
PraisonAI is an autonomous AI agent platform that coordinates multiple LLM-powered agents for research, planning, and execution of complex workflows. It functions as a multi-agent orchestration framework, a workflow builder, and a Model Context Protocol server, while also providing retrieval-augmented generation through vector knowledge bases. Agents can interact via CLI, web, or standardized protocols with sandboxed code execution. The platform distinguishes itself with a rich set of agent communication protocols, including A2A, REST, WebSocket, voice and telephony integration, and MCP, allo
Automatically retries tasks when guardrail validation fails, up to a configurable maximum number of attempts.