add gpt
This commit is contained in:
55
lexicons/ai.syui.gpt.core.json
Normal file
55
lexicons/ai.syui.gpt.core.json
Normal file
@@ -0,0 +1,55 @@
|
||||
{
|
||||
"lexicon": 1,
|
||||
"id": "ai.syui.gpt.core",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "record",
|
||||
"description": "AI identity and personality configuration. Typically one record per AI with rkey 'self'.",
|
||||
"key": "any",
|
||||
"record": {
|
||||
"type": "object",
|
||||
"required": ["did", "handle", "content", "createdAt"],
|
||||
"properties": {
|
||||
"did": {
|
||||
"type": "string",
|
||||
"format": "did",
|
||||
"description": "DID of the AI agent."
|
||||
},
|
||||
"handle": {
|
||||
"type": "string",
|
||||
"description": "Handle of the AI agent."
|
||||
},
|
||||
"content": {
|
||||
"type": "union",
|
||||
"closed": false,
|
||||
"refs": ["#markdown"],
|
||||
"description": "Core personality and instructions. Supports markdown and other formats via $type."
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "datetime",
|
||||
"description": "Timestamp when this core record was created."
|
||||
},
|
||||
"updatedAt": {
|
||||
"type": "string",
|
||||
"format": "datetime",
|
||||
"description": "Timestamp of the last update."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"markdown": {
|
||||
"type": "object",
|
||||
"description": "Markdown content format.",
|
||||
"required": ["text"],
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"maxLength": 1000000,
|
||||
"maxGraphemes": 100000,
|
||||
"description": "Markdown text content."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
50
lexicons/ai.syui.gpt.memory.json
Normal file
50
lexicons/ai.syui.gpt.memory.json
Normal file
@@ -0,0 +1,50 @@
|
||||
{
|
||||
"lexicon": 1,
|
||||
"id": "ai.syui.gpt.memory",
|
||||
"defs": {
|
||||
"main": {
|
||||
"type": "record",
|
||||
"description": "AI memory snapshot. Each record is a versioned snapshot of accumulated knowledge.",
|
||||
"key": "tid",
|
||||
"record": {
|
||||
"type": "object",
|
||||
"required": ["did", "content", "createdAt"],
|
||||
"properties": {
|
||||
"did": {
|
||||
"type": "string",
|
||||
"format": "did",
|
||||
"description": "DID of the AI agent this memory belongs to."
|
||||
},
|
||||
"content": {
|
||||
"type": "union",
|
||||
"closed": false,
|
||||
"refs": ["#markdown"],
|
||||
"description": "Memory content. Supports markdown and other formats via $type."
|
||||
},
|
||||
"version": {
|
||||
"type": "integer",
|
||||
"description": "Monotonically increasing version number of this memory snapshot."
|
||||
},
|
||||
"createdAt": {
|
||||
"type": "string",
|
||||
"format": "datetime",
|
||||
"description": "Timestamp when this memory snapshot was created."
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"markdown": {
|
||||
"type": "object",
|
||||
"description": "Markdown content format.",
|
||||
"required": ["text"],
|
||||
"properties": {
|
||||
"text": {
|
||||
"type": "string",
|
||||
"maxLength": 1000000,
|
||||
"maxGraphemes": 100000,
|
||||
"description": "Markdown text content."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user