feat: Add enhanced prompts and resources by phernandez · Pull Request #15 · basicmachines-co/basic-memory · GitHub
Skip to content

feat: Add enhanced prompts and resources - #15

Merged
phernandez merged 9 commits into
mainfrom
prompts
Feb 28, 2025
Merged

feat: Add enhanced prompts and resources#15
phernandez merged 9 commits into
mainfrom
prompts

Conversation

@phernandez

@phernandez phernandez commented Feb 28, 2025

Copy link
Copy Markdown
Member

Summary

  • Add comprehensive documentation to all MCP prompt modules
  • Enhance search prompt with detailed contextual output formatting
  • Implement consistent logging and docstring patterns across prompt utilities
  • Fix type checking in prompt modules

Prompts Added/Enhanced

  • search.py: New formatted output with relevance scores, excerpts, and next steps
  • recent_activity.py: Enhanced with better metadata handling and documentation
  • continue_conversation.py: Improved context management

Resources Added/Enhanced

  • ai_assistant_guide: Resource with description to give to LLM to understand how to use the tools

Technical improvements

  • Added detailed docstrings to all prompt modules explaining their purpose and usage
  • Enhanced the search prompt with rich contextual output that helps LLMs understand results
  • Created a consistent pattern for formatting output across prompts
  • Improved error handling in metadata extraction
  • Standardized import organization and naming conventions
  • Fixed various type checking issues across the codebase

This PR is part of our ongoing effort to improve the MCP's interaction quality with LLMs, making the system more helpful and intuitive for AI assistants to navigate knowledge bases.

🤖 Generated with Claude Code

phernandez added 8 commits February 25, 2025 23:21
Introduced new prompts for recent activity and basic memory guides to improve user experience. Updated schemas and summaries with additional fields like `title`, `file_path`, and `created_at`. Enhanced CLI commands for tool usability, including options for continuing sessions and accessing guides.
    Introduces `guide` and `session` prompts for the Basic Memory MCP server, enabling user guidance and session continuation features. Adds comprehensive project documentation and corresponding tests to ensure prompt functionality.
@phernandez phernandez changed the title Enhance prompts with comprehensive documentation and contextual output feat: Add enhanced prompts and resources Feb 28, 2025
@phernandez
phernandez merged commit 093dab5 into main Feb 28, 2025
@phernandez
phernandez deleted the prompts branch February 28, 2025 02:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant