Feat: read json sysprompt cards

This commit is contained in:
Grail Finder
2024-12-23 19:02:36 +03:00
parent 923c96b73d
commit 4db8aea43d
6 changed files with 44 additions and 18 deletions

View File

@@ -34,8 +34,8 @@ func (c *CharCardSpec) Simplify(userName, fpath string) *CharCard {
}
type CharCard struct {
SysPrompt string
FirstMsg string
Role string
FilePath string
SysPrompt string `json:"sys_prompt"`
FirstMsg string `json:"first_msg"`
Role string `json:"role"`
FilePath string `json:"filepath"`
}