-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathse.ecms.genai.json
More file actions
97 lines (97 loc) · 2.23 KB
/
se.ecms.genai.json
File metadata and controls
97 lines (97 loc) · 2.23 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
{
"version": 1,
"name": "se.ecms.genai",
"documents": [
{
"name": "Generative AI prompt",
"description": "A document describing a prompt",
"declares": "core/prompt",
"meta": [
{
"ref": "core://genai/prompt",
"count": 1
}
],
"links": [
{
"ref":"core://genai/model",
"count": 1
}
],
"content": [
{"ref":"core://genai/prompt-text"},
{"ref":"core://genai/prompt-snippet"}
]
},
{
"name": "Generative AI snippet",
"description": "A document describing a prompt snippet",
"declares": "core/prompt-snippet",
"content": [
{"ref":"core://genai/prompt-text"}
]
}
],
"links": [
{
"id": "core://genai/model",
"block": {
"name": "Model link",
"description": "A link to a generative AI model.",
"declares": {"rel":"model"},
"attributes": {
"uri": {}
}
}
}
],
"meta": [
{
"id": "core://genai/prompt",
"block": {
"name": "Prompt metadata",
"description": "Metadata describing a generative AI prompt.",
"declares": {"type":"core/prompt"},
"attributes": {
"role": {
"enum": ["document", "feedback", "text"]
}
},
"data": {
"doc_type": {
"description": "The document type that the prompt generates, if any.",
"optional":true
},
"text_format": {
"enum": ["plain", "html", "markdown"],
"optional":true
}
}
}
}
],
"content": [
{
"id": "core://genai/prompt-text",
"block": {
"name": "Prompt text",
"description": "A block of text content for a prompt.",
"declares": {"type":"core/prompt-text"},
"data": {
"text": {"allowEmpty":true}
}
}
},
{
"id": "core://genai/prompt-snippet",
"block": {
"name": "Prompt snippet",
"description": "A reusable snippet reference within a prompt.",
"declares": {"type":"core/prompt-snippet"},
"attributes": {
"uuid": {}
}
}
}
]
}