feat: score ingest facet suggestions with Jev
CI / quality (push) Canceled after 0s

This commit is contained in:
vasily committed 2026-10-14 20:43:09 +08:00
1 parent 7b2c43ddaf
commit 0e1a2ad008
8 files changed
+191 -27

No files matched your search

+49
View File
@@ -1215,6 +1215,15 @@
"title": "Extraction Id",
"type": "string"
},
"jev_facet_scores": {
"default": [],
"items": {
"$ref": "#/components/schemas/JevFacetScore"
},
"maxItems": 20,
"title": "Jev Facet Scores",
"type": "array"
},
"jev_lens": {
"anyOf": [
{
@@ -1392,6 +1401,46 @@
"title": "IssuedCredential",
"type": "object"
},
"JevFacetScore": {
"additionalProperties": false,
"properties": {
"facet": {
"enum": [
"tags",
"audience",
"use_for",
"domain"
],
"title": "Facet",
"type": "string"
},
"probability": {
"maximum": 1.0,
"minimum": 0.0,
"title": "Probability",
"type": "number"
},
"schema_version": {
"const": 1,
"default": 1,
"title": "Schema Version",
"type": "integer"
},
"value": {
"maxLength": 100,
"minLength": 1,
"title": "Value",
"type": "string"
}
},
"required": [
"facet",
"value",
"probability"
],
"title": "JevFacetScore",
"type": "object"
},
"KnowledgeNode": {
"additionalProperties": false,
"properties": {