From 4e82b27424cf529c038360feb0b10fc14479a4eb Mon Sep 17 00:00:00 2001 From: NerdyPunkDad <141609208+NerdyPunkDad@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:07:02 -0700 Subject: [PATCH 1/3] Describe CLI changes / Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 07a3417..7f3e50f 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,13 @@ > [!NOTE] August 20, 2024 — We have migrated to Go, and the transition has been pretty smooth! The biggest thing to know is that **the previous installation instructions in the various Fabric videos out there will no longer work** because they were for the legacy (Python) version. Check the new [install instructions](#Installation) below. +> +> **There were several important changes to the command line interface during the rewrite:** +> * You now need to use the -c option instead of -C to copy the result to the clipboard. +> * You now need to use the -s option instead of -S to stream results in realtime. +> * The --agents (-a), --gui, --clearsession, --remoteOllamaServer, and --sessionlog options **have been removed** +> * You can now use --Setup (-S) to cofigure your Ollama server. +> * **Please be patient while our developers rewrite the gui in go** ## Intro videos From 44d47395ccacd2f8528a9ac2663aae8c74bfb892 Mon Sep 17 00:00:00 2001 From: NerdyPunkDad <141609208+NerdyPunkDad@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:20:18 -0700 Subject: [PATCH 2/3] Update README.md --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7f3e50f..d82d59f 100644 --- a/README.md +++ b/README.md @@ -49,11 +49,12 @@ > [!NOTE] August 20, 2024 — We have migrated to Go, and the transition has been pretty smooth! The biggest thing to know is that **the previous installation instructions in the various Fabric videos out there will no longer work** because they were for the legacy (Python) version. Check the new [install instructions](#Installation) below. > -> **There were several important changes to the command line interface during the rewrite:** +> +> **The following command line options were changed during the migration to Go:** > * You now need to use the -c option instead of -C to copy the result to the clipboard. > * You now need to use the -s option instead of -S to stream results in realtime. -> * The --agents (-a), --gui, --clearsession, --remoteOllamaServer, and --sessionlog options **have been removed** -> * You can now use --Setup (-S) to cofigure your Ollama server. +> * The following command line options have been removed --agents (-a), --gui, --clearsession, --remoteOllamaServer, and --sessionlog options +> * You can now use --Setup (-S) to cofigure an Ollama server. > * **Please be patient while our developers rewrite the gui in go** ## Intro videos From 731e800177af47fb8031ee39f58b22a0df5cc858 Mon Sep 17 00:00:00 2001 From: NerdyPunkDad <141609208+NerdyPunkDad@users.noreply.github.com> Date: Tue, 3 Sep 2024 18:39:59 -0700 Subject: [PATCH 3/3] Update user.md to match current CLI Update this pattern to match the current fabric command line options Remove --agents, add -S as an alternative to --setup, and replace -c with -C to align with the current cli interface. --- patterns/suggest_pattern/user.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/patterns/suggest_pattern/user.md b/patterns/suggest_pattern/user.md index 07be4bd..33c8394 100644 --- a/patterns/suggest_pattern/user.md +++ b/patterns/suggest_pattern/user.md @@ -15,7 +15,6 @@ Most Common Syntax: The most common usage involves executing Fabric commands in For Summarizing Content: `fabric --pattern summarize` For Analyzing Claims: `fabric --pattern analyze_claims` For Extracting Wisdom from Videos: `fabric --pattern extract_wisdom` -For Creating AI Agents: `echo "" | fabric --agents` For creating custom patterns: `fabric --pattern create_pattern` - One possible place to store them is ~/.config/custom-fabric-patterns. - Then when you want to use them, simply copy them into ~/.config/fabric/patterns. @@ -27,19 +26,17 @@ For creating custom patterns: `fabric --pattern create_pattern` - **--pattern PATTERN, -p PATTERN**: Specifies the pattern (prompt) to use. Useful for applying specific AI prompts to your input. -- **--agents, -a**: Creates an AI agent to perform a task based on the input. Great for automating complex tasks with AI. - - **--stream, -s**: Streams results in real-time. Ideal for getting immediate feedback from AI operations. - **--update, -u**: Updates patterns. Ensures you're using the latest AI prompts for your tasks. - **--model MODEL, -m MODEL**: Selects the AI model to use. Allows customization of the AI backend for different tasks. -- **--setup**: Sets up your Fabric instance. Essential for first-time users to configure Fabric correctly. +- **--setup, -S**: Sets up your Fabric instance. Essential for first-time users to configure Fabric correctly. - **--list, -l**: Lists available patterns. Helps users discover new AI prompts for various applications. -- **--context, -c**: Uses a Context file to add context to your pattern. Enhances the relevance of AI responses by providing additional background information. +- **--context, -C**: Uses a Context file to add context to your pattern. Enhances the relevance of AI responses by providing additional background information. # PATTERNS