package combatturns

import "gitea.maximumdirect.net/eric/notarius/internal/framework/llm"

const (
	PromptID           = "dnd.combat_turns"
	ResponseSchemaKey  = llm.ResponseSchemaKey("dnd_combat_turns_llm")
	ResponseSchemaID   = "notarius.dnd.combat_turns.llm"
	ResponseSchemaName = "notarius_dnd_combat_turns_llm_v1"
	SchemaVersion      = "v1"
)

func loadResponseSchema() (llm.ResponseSchema, error) {
	assets, err := moduleAssetFS()
	if err != nil {
		return llm.ResponseSchema{}, err
	}
	return llm.LoadResponseSchema(assets, llm.ResponseSchemaDefinition{
		Key:       ResponseSchemaKey,
		ID:        ResponseSchemaID,
		Version:   SchemaVersion,
		Name:      ResponseSchemaName,
		AssetPath: "schemas/dnd_combat_turns_llm.v1.json",
	})
}
