mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
chore(guardrails): regenerate the lazy OpenAPI snapshot and dashboard types for privaite
This commit is contained in:
parent
f4729027fd
commit
3cf366e7df
2 changed files with 80 additions and 0 deletions
|
|
@ -17183,6 +17183,24 @@
|
|||
"description": "Base URL for the IBM Guardrails server",
|
||||
"title": "Base Url"
|
||||
},
|
||||
"block_entities": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"description": "PII types to reject outright instead of masking: a list, or a comma-separated string, e.g. ['US_SSN', 'CREDIT_CARD']. A request containing any listed type is refused with a 400 and nothing is forwarded. Omitted (the default) masks everything and forwards it.",
|
||||
"title": "Block Entities"
|
||||
},
|
||||
"block_failures": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -17471,6 +17489,19 @@
|
|||
"description": "Python-like code containing the apply_guardrail function for custom guardrail logic",
|
||||
"title": "Custom Code"
|
||||
},
|
||||
"deanonymize": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": true,
|
||||
"description": "Restore the original PII values in the response.",
|
||||
"title": "Deanonymize"
|
||||
},
|
||||
"decision_model": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -17857,6 +17888,19 @@
|
|||
"description": "Tag to use for keyword redaction",
|
||||
"title": "Keyword Redaction Tag"
|
||||
},
|
||||
"languages": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": "en,fr",
|
||||
"description": "Comma-separated spaCy languages used for detection.",
|
||||
"title": "Languages"
|
||||
},
|
||||
"lasso_conversation_id": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
@ -18368,6 +18412,19 @@
|
|||
"description": "Pre-checkpoint ID for the Ovalix Tracker service.",
|
||||
"title": "Pre Checkpoint Id"
|
||||
},
|
||||
"preset": {
|
||||
"anyOf": [
|
||||
{
|
||||
"type": "string"
|
||||
},
|
||||
{
|
||||
"type": "null"
|
||||
}
|
||||
],
|
||||
"default": "onnx",
|
||||
"description": "Detection preset: 'onnx' (full suite, also detects secrets) or 'light' (faster, Presidio only).",
|
||||
"title": "Preset"
|
||||
},
|
||||
"presidio_ad_hoc_recognizers": {
|
||||
"anyOf": [
|
||||
{
|
||||
|
|
|
|||
23
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
23
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -36501,6 +36501,11 @@ export interface components {
|
|||
* @description Base URL for the IBM Guardrails server
|
||||
*/
|
||||
base_url?: string | null;
|
||||
/**
|
||||
* Block Entities
|
||||
* @description PII types to reject outright instead of masking: a list, or a comma-separated string, e.g. ['US_SSN', 'CREDIT_CARD']. A request containing any listed type is refused with a 400 and nothing is forwarded. Omitted (the default) masks everything and forwards it.
|
||||
*/
|
||||
block_entities?: string | string[] | null;
|
||||
/**
|
||||
* Block Failures
|
||||
* @description If True, blocks requests on API failures. Defaults to True if not provided
|
||||
|
|
@ -36617,6 +36622,12 @@ export interface components {
|
|||
* @description Python-like code containing the apply_guardrail function for custom guardrail logic
|
||||
*/
|
||||
custom_code?: string | null;
|
||||
/**
|
||||
* Deanonymize
|
||||
* @description Restore the original PII values in the response.
|
||||
* @default true
|
||||
*/
|
||||
deanonymize: boolean | null;
|
||||
/**
|
||||
* Decision Model
|
||||
* @description For guardrail='decision_model': the Decisions-API model that scores each check
|
||||
|
|
@ -36792,6 +36803,12 @@ export interface components {
|
|||
* @description Tag to use for keyword redaction
|
||||
*/
|
||||
keyword_redaction_tag?: string | null;
|
||||
/**
|
||||
* Languages
|
||||
* @description Comma-separated spaCy languages used for detection.
|
||||
* @default en,fr
|
||||
*/
|
||||
languages: string | null;
|
||||
/**
|
||||
* Lasso Conversation Id
|
||||
* @description Conversation ID for the Lasso guardrail
|
||||
|
|
@ -36993,6 +37010,12 @@ export interface components {
|
|||
* @description Pre-checkpoint ID for the Ovalix Tracker service.
|
||||
*/
|
||||
pre_checkpoint_id?: string | null;
|
||||
/**
|
||||
* Preset
|
||||
* @description Detection preset: 'onnx' (full suite, also detects secrets) or 'light' (faster, Presidio only).
|
||||
* @default onnx
|
||||
*/
|
||||
preset: string | null;
|
||||
/**
|
||||
* Presidio Ad Hoc Recognizers
|
||||
* @description Path to a JSON file containing ad-hoc recognizers for Presidio
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue