Skip to content

Commit

Permalink
Update schema with cog, refs #610
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Nov 20, 2024
1 parent 80956da commit 3306f3a
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion docs/logging.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,10 @@ CREATE TABLE [responses] (
[response_json] TEXT,
[conversation_id] TEXT REFERENCES [conversations]([id]),
[duration_ms] INTEGER,
[datetime_utc] TEXT
[datetime_utc] TEXT,
[input_tokens] INTEGER,
[output_tokens] INTEGER,
[token_details] TEXT
);
CREATE VIRTUAL TABLE [responses_fts] USING FTS5 (
[prompt],
Expand Down

0 comments on commit 3306f3a

Please sign in to comment.