22 lines
626 B
Go
22 lines
626 B
Go
package npcs
|
|
|
|
import "gitea.maximumdirect.net/eric/notarius/internal/framework/llm"
|
|
|
|
const (
|
|
PromptID = "dnd.npcs"
|
|
ResponseSchemaKey = llm.ResponseSchemaKey("dnd_npcs_llm")
|
|
ResponseSchemaID = "notarius.dnd.npcs.llm"
|
|
ResponseSchemaName = "notarius_dnd_npcs_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_npcs_llm.v1.json",
|
|
})
|
|
}
|