Add grounded NPC interaction extractor

This commit is contained in:
2026-07-23 13:26:27 +00:00
parent 61016671ab
commit 2b9d2eaeaa
15 changed files with 1149 additions and 3 deletions

View File

@@ -0,0 +1,21 @@
package npcinteractions
import "gitea.maximumdirect.net/eric/notarius/internal/framework/llm"
const (
PromptID = "dnd.npc_interactions"
ResponseSchemaKey = llm.ResponseSchemaKey("dnd_npc_interactions_llm")
ResponseSchemaID = "notarius.dnd.npc_interactions.llm"
ResponseSchemaName = "notarius_dnd_npc_interactions_llm_v1"
SchemaVersion = "v1"
)
func loadResponseSchema() (llm.ResponseSchema, error) {
return llm.LoadResponseSchema(embeddedAssets, llm.ResponseSchemaDefinition{
Key: ResponseSchemaKey,
ID: ResponseSchemaID,
Version: SchemaVersion,
Name: ResponseSchemaName,
AssetPath: "assets/schemas/dnd_npc_interactions_llm.v1.json",
})
}