You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
Fails to insert embeddings into postgres
Please describe your setup
How did you install memgpt?
git clone
Describe your setup
Windows
CLI
Screenshots
(.venv) PS C:\Users\...\pythonProject1> memgpt load directory --name test --input-dir C:\src\test--recursive --extensions .txt,.md,.pdf,.html
Loading config from C:\Users\...
Loading files: 100%|███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████| 1752/1752 [00:00<00:00, 1819.13file/s]
Failed to load data from provided information.
(pg8000.dbapi.ProgrammingError) {'S': 'ERROR', 'V': 'ERROR', 'C': '21000', 'M': 'ON CONFLICT DO UPDATE command cannot affect row a second time', 'H': 'Ensure that no rows proposed for insertion within the same command have duplicate constrained values.', 'F': 'nodeModifyTable.c', 'L': '2570', 'R': 'ExecOnConflictUpdate'}
Additional context
Add any other context about the problem here.
MemGPT Config
Please attach your ~/.memgpt/config file or copy past it below.
[defaults]
preset = memgpt_chat
persona = sam_pov
human = cs_phd
[model]
model = gpt-4-1106-preview
model_endpoint = https://.....openai.azure.com
model_endpoint_type = azure
context_window = 128000
[embedding]
embedding_endpoint_type = azure
embedding_endpoint = https://......openai.azure.com
embedding_model = text-embedding-ada-002
embedding_dim = 1536
embedding_chunk_size = 300
[archival_storage]
type = postgres
path = C:\Users\...
uri = postgresql+pg8000://postgres:postgres@localhost:5432/postgres
[recall_storage]
type = postgres
path = C:\Users\...
uri = postgresql+pg8000://postgres:postgres@localhost:5432/postgres
[metadata_storage]
type = postgres
path = C:\Users\...
uri = postgresql+pg8000://postgres:postgres@localhost:5432/postgres
[version]
memgpt_version = 0.3.7
[client]
anon_clientid = 00000000-0000-0000-0000-000000000000
The text was updated successfully, but these errors were encountered:
Describe the bug
Fails to insert embeddings into postgres
Please describe your setup
git clone
Screenshots
Additional context
Add any other context about the problem here.
MemGPT Config
Please attach your
~/.memgpt/config
file or copy past it below.The text was updated successfully, but these errors were encountered: