feat: create memgpt server with postgres DB with docker compose up (#1183)

This commit is contained in:
Sarah Wooders
2024-03-25 22:32:26 -07:00
committed by GitHub
parent 7c80e800c3
commit c8297f53e4
11 changed files with 184 additions and 60 deletions

View File

@@ -0,0 +1,38 @@
[defaults]
preset = memgpt_chat
persona = sam_pov
human = basic
[model]
model = gpt-4
model_endpoint = https://api.openai.com/v1
model_endpoint_type = openai
context_window = 8192
[embedding]
embedding_endpoint_type = openai
embedding_endpoint = https://api.openai.com/v1
embedding_model = text-embedding-ada-002
embedding_dim = 1536
embedding_chunk_size = 300
[archival_storage]
type = postgres
path = /root/.memgpt/chroma
uri = postgresql://memgpt:memgpt@pgvector_db:5432/memgpt
[recall_storage]
type = postgres
path = /root/.memgpt
uri = postgresql://memgpt:memgpt@pgvector_db:5432/memgpt
[metadata_storage]
type = postgres
path = /root/.memgpt
uri = postgresql://memgpt:memgpt@pgvector_db:5432/memgpt
[version]
memgpt_version = 0.3.7
[client]
anon_clientid = 00000000-0000-0000-0000-000000000000