Add grounded NPC interaction extractor
This commit is contained in:
21
internal/modules/dnd/extract/npcinteractions/schema.go
Normal file
21
internal/modules/dnd/extract/npcinteractions/schema.go
Normal 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",
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user