docs(readme): added stats database

This commit is contained in:
Stan Girard 2023-05-17 20:36:57 +02:00
parent 5463bb3185
commit a0ea793ff3

View File

@ -131,6 +131,23 @@ anthropic_api_key = "ANTHROPIC_API_KEY" # Optional
$$;
```
and
```sql
create table
stats (
-- A column called "time" with data type "timestamp"
time timestamp,
-- A column called "details" with data type "text"
chat boolean,
embedding boolean,
details text,
metadata jsonb,
-- An "integer" primary key column called "id" that is generated always as identity
id integer primary key generated always as identity
);
```
- Run the app
```bash