Skip to content

Commit

Permalink
Merge pull request #634 from dzcode-io/feat/cache-ai-prompt
Browse files Browse the repository at this point in the history
Feat: cache ai prompt
  • Loading branch information
ZibanPirate authored Jan 13, 2025
2 parents a893a2e + f88e3a4 commit b1c8acc
Show file tree
Hide file tree
Showing 9 changed files with 621 additions and 10 deletions.
6 changes: 6 additions & 0 deletions api/db/migrations/0007_rich_trauma.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
CREATE TABLE IF NOT EXISTS "ai_prompts" (
"hash" text PRIMARY KEY NOT NULL,
"prompt" text NOT NULL,
"response" text NOT NULL,
"record_imported_at" text DEFAULT CURRENT_TIMESTAMP NOT NULL
);
Loading

0 comments on commit b1c8acc

Please sign in to comment.