Files
talemate/docs/talemate-scene-schema.json
FInalWombat e6b21789d1 Prep 0.11.0 (#19)
* dolphin mistral template

* removate trailing \n before attaching the model response

* improve prompt and validator for generated human age

* fix issue where errors during character creation process would not be
communicated to the ux and the character creator would appear stuck

* add dolphin mistral to list

* add talemate_env

* poetry relock

* add json schema for talemate scene files

* fix issues with pydantic after version upgrade

* add json extrac util functions

* fix pydantic model

* use extract json function

* scene generator, better scene name prompt

* OpenHermes-2-Mistral

* alpaca base template
Amethyst 20B template

* character description is no longer part of the sheet and needs to be added separately

* fix pydantic validation

* fix issue where sometimes partial emote strings were kept at the end of dialogue

* no need to commit character name to memory

* dedupe prompts

* clean up extra linebreaks in prompts

* experimental editor agent
agent signals first progress

* take out hardcoded example

* amethyst llm prompt template

* editor agent disableable
agent edit modal tweaks

* world state agent
agent action config schema

* director agent disableable
remove automatic actions config from ux (deprecated)

* fix responsive update when toggling enable on or off in agent dialog

* prompt adjustments
fix divine intellect preset (mirostat values were way off)
fix world state regenerating every turn regardless of setting

* move templates for world state from summarizer to worldstate agent

* conversation agent generation lenght setting

* conversation agent jiggle attribute (randomize offset to certain inference parameters)

* relabel

* scene cover image set to cover as much space as it can

* add character sheet to dialogue example generate prompt

* character creator agent mixin use set_processing

* add <|im_end|> to stopping strings

* add random number gen to template functions

* SynthIA and Tiefighter

* create new persisted characters ouf of world state
natural flow option for conversation agent to help guide multi character conversations

* conversation agent natural flow improvements

* fix bug with 1h time passage option

* some templates

* poetry relock

* fix config validation

* fix issues when detemrining scene history context length to stay within budget

* fixes to world state json parsing
fixes to conversation context length

* remove unused import

* update windows install scripts

* zephyr

* </s> stopping string

* dialog cleanup utils improved

* add agents and clients key to the config example
2023-10-28 11:33:51 +03:00

187 lines
4.2 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"description": {
"type": "string"
},
"intro": {
"type": "string"
},
"name": {
"type": "string"
},
"history": {
"type": "array",
"items": {
"type": "object",
"properties": {
"message": {
"type": "string"
},
"id": {
"type": "integer"
},
"typ": {
"type": "string"
},
"source": {
"type": "string"
}
},
"required": ["message", "id", "typ", "source"]
}
},
"environment": {
"type": "string"
},
"archived_history": {
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string"
},
"ts": {
"type": "string"
}
},
"required": ["text", "ts"]
}
},
"character_states": {
"type": "object"
},
"characters": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"description": {
"type": "string"
},
"greeting_text": {
"type": "string"
},
"base_attributes": {
"type": "object",
"additionalProperties": {
"type": "string"
}
},
"details": {
"type": "object"
},
"gender": {
"type": "string"
},
"color": {
"type": "string"
},
"example_dialogue": {
"type": "array",
"items": {
"type": "string"
}
},
"history_events": {
"type": "array",
"items": {
"type": "object"
}
},
"is_player": {
"type": "boolean"
},
"cover_image": {
"type": ["string", "null"]
}
},
"required": ["name", "description", "greeting_text", "base_attributes", "details", "gender", "color", "example_dialogue", "history_events", "is_player", "cover_image"]
}
},
"goal": {
"type": ["string", "null"]
},
"goals": {
"type": "array",
"items": {
"type": "object"
}
},
"context": {
"type": "string"
},
"world_state": {
"type": "object",
"properties": {
"characters": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"snapshot": {
"type": ["string", "null"]
},
"emotion": {
"type": "string"
}
},
"required": ["snapshot", "emotion"]
}
},
"items": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"snapshot": {
"type": ["string", "null"]
}
},
"required": ["snapshot"]
}
},
"location": {
"type": ["string", "null"]
}
},
"required": ["characters", "items", "location"]
},
"assets": {
"type": "object",
"properties": {
"cover_image": {
"type": "string"
},
"assets": {
"type": "object",
"additionalProperties": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"file_type": {
"type": "string"
},
"media_type": {
"type": "string"
}
},
"required": ["id", "file_type", "media_type"]
}
}
},
"required": ["cover_image", "assets"]
},
"ts": {
"type": "string"
}
},
"required": ["description", "intro", "name", "history", "environment", "archived_history", "character_states", "characters", "context", "world_state", "assets", "ts"]
}