mirror of
https://github.com/QuivrHQ/quivr.git
synced 2024-09-11 14:36:35 +03:00
docs(readme): added stats database
This commit is contained in:
parent
5463bb3185
commit
a0ea793ff3
17
README.md
17
README.md
@ -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
|
- Run the app
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
Loading…
Reference in New Issue
Block a user