muellerberndt / mini-agi

MiniAGI is a simple general-purpose autonomous agent based on the OpenAI API.
MIT License
2.81k stars 294 forks source link

allow use of postgres for memory #9

Closed estiens closed 1 year ago

estiens commented 1 year ago

This adds a postgres memory type since pinecone can be rather expensive and some people might want to have their database on localhost - I didn't test the pinecone implemention but it's the same code - I did test the postgres implementation and it works as expected (bonus easy to see the embeddings)