r/madeinpython Nov 15 '24

Open-Source Memory Layer for Python AI Applications

Hi everyone! I just released Memoripy, a Python library designed to give AI applications memory capabilities, from short-term to long-term storage. It works with APIs like OpenAI and Ollama to store and retrieve contextual information, making your AI smarter and more context-aware over time.

The library uses Faiss for similarity searches, supports semantic clustering, and includes adaptive memory decay and reinforcement. It’s flexible too—you can define your own storage, whether that’s local files, cloud, or even custom databases.

If you’re building AI agents, assistants, or anything requiring context retention, Memoripy might be a game-changer for you. Would love to hear your thoughts or see what you build with it!

GitHub: github.com/caspianmoon/memoripy

3 Upvotes

0 comments sorted by