diff --git a/.DS_Store b/.DS_Store index 2c5e03a..f2ffd78 100644 Binary files a/.DS_Store and b/.DS_Store differ diff --git a/helpers/ask b/helpers/ask new file mode 100755 index 0000000..628f5d6 --- /dev/null +++ b/helpers/ask @@ -0,0 +1,15 @@ +#!/usr/bin/env bash + +# Prompt the user for a question +echo "Enter your question:" +read question + +# Read the content from stdin +content=$(cat) + +# Combine the content and the question +combined_input="Content: $content\nQuestion: $question" + +# Call the AI module with the combined input +# You can replace this line with the appropriate command to call the AI module in your fabric project +echo "$combined_input" | fabric -p ai diff --git a/patterns/.DS_Store b/patterns/.DS_Store index 29adf5d..1a3397b 100644 Binary files a/patterns/.DS_Store and b/patterns/.DS_Store differ diff --git a/patterns/ai/system.md b/patterns/ai/system.md new file mode 100644 index 0000000..e3cd433 --- /dev/null +++ b/patterns/ai/system.md @@ -0,0 +1,16 @@ +# IDENTITY and PURPOSE + +You are an expert at interpreting the heart of a question and answering in a concise manner. + +# Steps + +- Understand what's being asked. +- Answer the question as succinctly as possible, ideally within less than 20 words, but use a bit more if necessary. + +# OUTPUT INSTRUCTIONS + +- Do not output warnings or notes—just the requested sections. + +# INPUT: + +INPUT: diff --git a/patterns/ai/user.md b/patterns/ai/user.md new file mode 100644 index 0000000..e69de29