Automático button in Conectar and model suggestions in Revisión

This commit is contained in:
Roberto Treviño
2026-12-03 10:42:17 -06:00
parent fe4dd55452
commit 682c100b67
10 changed files with 282 additions and 10 deletions
+113
View File
@@ -979,6 +979,48 @@
"title": "Join",
"type": "object"
},
"LanguageModel": {
"properties": {
"available": {
"title": "Available",
"type": "boolean"
},
"model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Model"
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Reason"
},
"vision": {
"title": "Vision",
"type": "boolean"
}
},
"required": [
"available",
"model",
"vision",
"reason"
],
"title": "LanguageModel",
"type": "object"
},
"Link": {
"additionalProperties": false,
"description": "Identity rows from every input, grouped into persons (Splink).\n\nTwo records are the same person when any rule holds (Splink's SQL rule syntax, `l.`\nand `r.` for the two records); persons are the connected groups. A person whose\nrecords disagree on birth date or sex is held for review as a whole. Pairs Splink\nscores above `review` that ended up apart are queued as possible matches.",
@@ -2967,6 +3009,28 @@
]
}
},
"/ingest/llm": {
"get": {
"description": "The site's language model (LLM_URL): whether it answers, which, and whether it\nreads images. Autom\u00e1tico needs it; extract nodes use their patterns without it.",
"operationId": "language_model",
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/LanguageModel"
}
}
},
"description": "Successful Response"
}
},
"summary": "Language Model",
"tags": [
"ingest"
]
}
},
"/ingest/pipelines": {
"get": {
"operationId": "pipelines",
@@ -3111,6 +3175,55 @@
]
}
},
"/ingest/pipelines/{pipeline_id}/draft": {
"post": {
"description": "Autom\u00e1tico: starts the `draft` job, which draws the whole pipeline from its saved\nsources (the only nodes it may hold), saves it as a new version and runs it; follow it\nat /runs/{run_id}.",
"operationId": "start_draft",
"parameters": [
{
"in": "path",
"name": "pipeline_id",
"required": true,
"schema": {
"maxLength": 40,
"pattern": "^[a-z][a-z0-9_]*$",
"title": "Pipeline Id",
"type": "string"
}
}
],
"responses": {
"200": {
"content": {
"application/json": {
"schema": {
"additionalProperties": {
"type": "string"
},
"title": "Response Start Draft",
"type": "object"
}
}
},
"description": "Successful Response"
},
"422": {
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/HTTPValidationError"
}
}
},
"description": "Validation Error"
}
},
"summary": "Start Draft",
"tags": [
"ingest"
]
}
},
"/ingest/pipelines/{pipeline_id}/nodes/{node_id}/rows": {
"get": {
"description": "What a node produced in the last run (empty if it produced nothing yet).",