Allow to display HUD/character informations to the LLM

This commit is contained in:
mudler
2024-04-01 18:27:09 +02:00
parent fdb0585dcb
commit 2ebbf1007f
4 changed files with 80 additions and 31 deletions

View File

@@ -8,6 +8,13 @@ import (
"github.com/mudler/local-agent-framework/llm"
)
// PromptHUD contains
// all information that should be displayed to the LLM
// in the prompts
type PromptHUD struct {
Character Character `json:"character"`
}
type Character struct {
Name string `json:"name"`
Age int `json:"age"`