From d9aa12025295a3c4e1088380c345ca336514b9a9 Mon Sep 17 00:00:00 2001 From: Daniel Miessler Date: Sat, 6 Jan 2024 12:12:32 -0800 Subject: [PATCH] Added examples. --- README.md | 14 ++++++++++++ .../dmiessler/extract-wisdom-1.0.0/README.md | 22 +++++++++---------- 2 files changed, 25 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 64ae8bf..7b302d0 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,20 @@ Here are the three `fabric` ecosystem pieces, and how they work together. - **Patterns** are the actual AI use cases. - **Looms** are the modular, client-side apps that call a specific **Pattern\* hosted by a **Mill\*\*. +## Usage + +One key feature of `fabric` and its Markdown-based format is the ability to reference (and edit) individual [patterns](https://github.com/danielmiessler/fabric/tree/main#naming) directly—on their own—without surrounding code. + +As an example, heres how to call _the direct location_ of the **system** prompt for the `extractwisdom` pattern. + +```sh +https://github.com/danielmiessler/fabric/blob/main/extract-wisdom/dmiessler/extract-wisdom-1.0.0/system.md +``` + +This means you can cleanly, and directly reference any pattern within `fabric`, for use in a web-based AI app, your own programming, or wherever! + +Even better, you can also have your [Mill](https://github.com/danielmiessler/fabric/tree/main#naming) functionality directly call **system** and **user** prompts from `fabric`, meaning you can have your personal AI ecosystem automatically kept up to date with the latest version of your favorite [Patterns](https://github.com/danielmiessler/fabric/tree/main#naming). + ## Examples Here's an abridged ouptut example from the `extractwisdom` pattern (limited to only 10 items per section). diff --git a/extract-wisdom/dmiessler/extract-wisdom-1.0.0/README.md b/extract-wisdom/dmiessler/extract-wisdom-1.0.0/README.md index 4584740..d80f220 100644 --- a/extract-wisdom/dmiessler/extract-wisdom-1.0.0/README.md +++ b/extract-wisdom/dmiessler/extract-wisdom-1.0.0/README.md @@ -8,9 +8,8 @@ [Description](#description) • [Functionality](#functionality) • -[Installation](#installation) • [Usage](#usage) • -[Examples](#examples) • +[Output](#output) • [Meta](#meta) @@ -48,7 +47,7 @@ When you use `extractwisdom`, it pulls the following content from the input. - `RECOMMENDATIONS` - A list of things that the content recommends Habits of the speakers. -## Use cases +### Use cases `extractwisdom` output can help you in multiple ways, including: @@ -59,19 +58,20 @@ When you use `extractwisdom`, it pulls the following content from the input. ## Usage -One key feature of `fabric` and its Markdown-based format is the ability to reference (and edit) individual [patterns](https://github.com/danielmiessler/fabric/tree/main#naming) directly—on their own—without surrounding code. +You can reference the `extractwisdom` **system** and **user** content directly like so. -As an example, heres how to call _the direct location_ of the **system** prompt for the `extractwisdom` pattern. +### System -```sh -https://github.com/danielmiessler/fabric/blob/main/extract-wisdom/dmiessler/extract-wisdom-1.0.0/system.md -``` +````sh +curl -sS https://github.com/danielmiessler/fabric/blob/main/extract-wisdom/dmiessler/extract-wisdom-1.0.0/system.md -This means you can cleanly, and directly reference any pattern within `fabric`, for use in a web-based AI app, your own programming, or wherever! +### System -Even better, you can also have your [Mill](https://github.com/danielmiessler/fabric/tree/main#naming) functionality directly call **system** and **user** prompts from `fabric`, meaning you can have your personal AI ecosystem automatically kept up to date with the latest version of your favorite [Patterns](https://github.com/danielmiessler/fabric/tree/main#naming). +```sh +curl -sS https://github.com/danielmiessler/fabric/blob/main/extract-wisdom/dmiessler/extract-wisdom-1.0.0/user.md +```` -## Examples +## Output Here's an abridged ouptut example from `extractwisdom` (limited to only 10 items per section).