Add D&D location extractor

This commit is contained in:
2026-08-04 00:02:18 +00:00
parent c51934d5c6
commit bb4855f0c6
15 changed files with 762 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
package locations
type extractionResponse struct {
Locations []locationResponse `json:"locations"`
}
type locationResponse struct {
Name string `json:"name"`
SourceRefs []locationSourceRefResponse `json:"source_refs"`
}
type locationSourceRefResponse struct {
StartUnitID int `json:"start_unit_id"`
EndUnitID int `json:"end_unit_id"`
}