Fără Descriere

Lukas Goldschmidt 9dbc87351d Document v1.0.0 release 1 lună în urmă
mem0core 1384151f2e Allow created_at override on /memories/raw 1 lună în urmă
.gitignore 2dddbab7cf initial commit 2 luni în urmă
API.md 1384151f2e Allow created_at override on /memories/raw 1 lună în urmă
Dockerfile 3cbca7e125 improvements, separate knowledge base, tests 2 luni în urmă
PROJECT.md 1ca1fdbb0e tests.sh, docs 2 luni în urmă
README.md 4ceb7784ee Document v1.0.0 release 1 lună în urmă
dashboard.html b9c43fda47 bugfixes 2 luni în urmă
docker-compose.yml 2e1a19a386 refactored 2 luni în urmă
mem0server.py 2e1a19a386 refactored 2 luni în urmă
requirements.txt 2dddbab7cf initial commit 2 luni în urmă
reset_memory.py 5c27ac6471 dashboard, bugfixes 2 luni în urmă
tests.sh c2a0457fe1 Add /memories/raw created_at test 1 lună în urmă

README.md

mem0-python-server 🧠

Version: v1.0.0

A focused FastAPI wrapper around mem0 that provides persistent memory over a REST API for OpenClaw and related pipelines.

Highlights ✨

  • Two dedicated collections: conversational and knowledge
  • Local reranking with graceful fallback when reranker is down
  • Clear REST contract for storage, search, and recall
  • Docker-first workflow with hot reload

Quick links 🔗

  • PROJECT.md — purpose, scope, and operating assumptions
  • API.md — full endpoint reference (requests + responses)

Architecture (at a glance) 🧩

  • LLM: Groq (default: meta-llama/llama-4-scout-17b-16e-instruct)
  • Vector store: Chroma (192.168.0.200:8001)
  • Embedder: Ollama (nomic-embed-text)
  • Reranker: local REST server (192.168.0.200:5200)

Collections 📚

  • Conversational → Chroma collection: openclaw_mem/memories
  • Knowledge → Chroma collection: knowledge_mem/knowledge

Run it (Docker) 🐳

docker compose up --build

Config 🔐

Create a .env file (never commit it):

GROQ_API_KEY=your_key_here
RERANKER_URL=http://192.168.0.200:5200/rerank

Raw conversational writes 🧪

POST /memories/raw lets another project inject already-processed memories straight into the conversational collection (openclaw_mem) while preserving any supplied metadata (including created_at) without hitting the mem0 extraction LLM.

Docs

  • API reference: API.md
  • Project overview: PROJECT.md

If you want the README expanded again or a different doc split, say the word.