Files
notarius/internal/modules/dnd/extract/npcinteractions/schema.go

26 lines
769 B
Go
Raw Normal View History

2026-07-23 13:26:27 +00:00
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) {
2026-08-05 00:40:47 +00:00
assets, err := moduleAssetFS()
if err != nil {
return llm.ResponseSchema{}, err
}
return llm.LoadResponseSchema(assets, llm.ResponseSchemaDefinition{
2026-07-23 13:26:27 +00:00
Key: ResponseSchemaKey,
ID: ResponseSchemaID,
Version: SchemaVersion,
Name: ResponseSchemaName,
2026-08-05 00:40:47 +00:00
AssetPath: "schemas/dnd_npc_interactions_llm.v1.json",
2026-07-23 13:26:27 +00:00
})
}