Server Configuration
Describes the environment variables required to run the server.
Name | Required | Description | Default |
---|---|---|---|
LOG_LEVEL | No | Logging configuration - the log level | info |
MAX_RESULTS | No | Search configuration - the maximum number of search results to return | 10 |
DATABASE_PATH | No | Database configuration - path to the SQLite database file | ./data/design-patterns.db |
EMBEDDING_MODEL | No | Embedding configuration - the embedding model to use | sentence-transformers/all-MiniLM-L6-v2 |
EMBEDDING_DIMENSION | No | Embedding configuration - the dimension of the embeddings | 384 |
SIMILARITY_THRESHOLD | No | Search configuration - the similarity threshold for search results | 0.7 |
Schema
Prompts
Interactive templates invoked by user choice
Name | Description |
---|---|
No prompts |
Resources
Contextual data attached and managed by the client
Name | Description |
---|---|
Design Patterns | Complete catalog of design patterns |
Pattern Categories | All available pattern categories |
Server Information | Server status and configuration |
Tools
Functions exposed to the LLM to take actions
Name | Description |
---|---|
find_patterns | Find design patterns matching a problem description using semantic search |
search_patterns | Search patterns by keyword or semantic similarity |
get_pattern_details | Get detailed information about a specific pattern |
count_patterns | Get the total number of design patterns in the database |