Added examples.

pull/2/head
Daniel Miessler 9 months ago
parent 8221af57b3
commit d9aa120252

@ -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 <a href="https://github.com/danielmiessler/fabric/tree/main/extract-wisdom/dmiessler/extract-wisdom-1.0.0">`extractwisdom`</a> pattern (limited to only 10 items per section).

@ -8,9 +8,8 @@
[Description](#description) •
[Functionality](#functionality) •
[Installation](#installation) •
[Usage](#usage) •
[Examples](#examples) •
[Output](#output) •
[Meta](#meta)
</div>
@ -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).

Loading…
Cancel
Save