NPCvector/schema.sql
type-two 07a0db6b61 NPCvector v1: pgvector corpus → original NPC voice lines (GABGOD)
Distill pattern: embedded forum corpus (style reference only, never shipped
verbatim) → persona line banks with human review gate → SFT export for LoRA.
First deployment: PROCITY shopkeepers from Soulstrut/VGplus on ultra.
Includes the abliterated writer toggle and the earned-gotchas writeup.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-18 21:19:31 +10:00

20 lines
818 B
SQL

-- GABGOD line bank — distilled, ORIGINAL NPC lines (never verbatim corpus text).
-- Lives in discogs_full next to game_corpus (the source it distills from).
create schema if not exists gabgod;
create table if not exists gabgod.line_bank (
id bigserial primary key,
persona text not null,
situation text not null,
line text not null,
writer_model text,
source_post_ids bigint[] default '{}', -- retrieval provenance (style refs, not text source)
source_forum text,
approved boolean, -- null = unreviewed; John's eyeball gate
created_at timestamptz default now(),
unique (persona, situation, line)
);
create index if not exists line_bank_persona_idx
on gabgod.line_bank (persona, situation);