basic

command
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: MIT Imports: 4 Imported by: 0

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL