Documentation
¶
Overview ¶
Command basic is a runnable end-to-end dogfood of the mneme library against a real OpenAI-compatible endpoint. It constructs a Memory purely from MNEME_* environment variables, ingests a short conversation, then searches, gets and deletes — exercising the whole public surface a consumer touches.
export MNEME_LLM_BASE_URL=https://openrouter.ai/api/v1 export MNEME_LLM_API_KEY=$OPENROUTER_API_KEY export MNEME_LLM_MODEL=openai/gpt-4o-mini export MNEME_EMBED_MODEL=text-embedding-3-small export MNEME_DB_PATH=/tmp/mneme-demo.db go run ./examples/basic
Click to show internal directories.
Click to hide internal directories.