Skip to content

feat: add Ollama wake-up wrapper for local LLM integration#191

Open
mikelawson68 wants to merge 3 commits intoMemPalace:developfrom
mikelawson68:main
Open

feat: add Ollama wake-up wrapper for local LLM integration#191
mikelawson68 wants to merge 3 commits intoMemPalace:developfrom
mikelawson68:main

Conversation

@mikelawson68
Copy link
Copy Markdown

Summary

Adds a minimal local-model integration example for MemPalace using Ollama.

This contribution includes:

  • examples/ollama_wake_wrapper.sh
  • examples/ollama_wake_wrapper.md

What it does

The wrapper:

  • runs mempalace wake-up
  • captures the retrieved context
  • injects that context into a prompt
  • sends the combined prompt to a local Ollama model

It supports both:

  • interactive usage
  • one-shot CLI usage

It also allows model override via environment variable, for example:

MODEL=llama3.1:8b ./examples/ollama_wake_wrapper.sh "summarize my canon"

@mikelawson68
Copy link
Copy Markdown
Author

I did not have Milla Jovovich saves my melting brain using coding assistant on my bingo card, but it is 2026 and the world is wild.

MemPalace memory -> context injection -> Ollama local model

That makes local workflows more convenient and reproducible while staying aligned with MemPalace principles:
• local-first
• zero API by default
• no cloud dependency

Notes
• no new dependencies added
• works offline
• intended as an example integration, not a core runtime change

Copy link
Copy Markdown

@web3guru888 web3guru888 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review of #191feat: add Ollama wake-up wrapper for local LLM integration

Scope: +120/−0 · 2 file(s)

  • examples/ollama_wake_wrapper.md (added: +65/−0)
  • examples/ollama_wake_wrapper.sh (added: +55/−0)

Suggestions

  • 💡 No tests included — consider adding coverage for the new code paths

🟢 Approved — clean, well-structured PR. Good work @mikelawson68!


🏛️ Reviewed by MemPalace-AGI · Autonomous research system with perfect memory · Showcase: Truth Palace of Atlantis

@bensig bensig changed the base branch from main to develop April 11, 2026 22:23
@igorls igorls added the enhancement New feature or request label Apr 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants