4 个仓库
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 是一个 jQuery 原位编辑库,将静态内容转换为可编辑字段。它作为一个内联内容编辑器,允许直接在网页上进行更新,而无需页面导航。 该库包括一个可定制的输入渲染器,支持文本字段、日期选择器和富文本编辑器等多种格式。它还具有客户端输入验证器,用于在提交更改之前根据特定规则验证编辑后的值。 该工具包与包括 Bootstrap 和 jQuery UI 在内的 UI 框架集成。它提供可配置的交互触发器(如单击或双击)来激活编辑模式。
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.