Added some additional documentation, but the real stuff will come with a usage GIF of the universal client.

This commit is contained in:
Daniel Miessler 2024-02-01 20:16:14 -08:00
parent 8c6aa767ad
commit 0608e3d660

View File

@ -9,6 +9,7 @@
<h4><code>fabric</code> is an open-source framework for augmenting humans using AI.</h4> <h4><code>fabric</code> is an open-source framework for augmenting humans using AI.</h4>
[Description](#description) • [Description](#description) •
[CLI-Native](#cli-native) •
[Naming](#naming) • [Naming](#naming) •
[Structure](#structure) • [Structure](#structure) •
[Functionality](#functionality) • [Functionality](#functionality) •
@ -52,6 +53,17 @@ One of <code>fabric</code>'s main features is helping people collect and integra
- Create social media posts from any content input - Create social media posts from any content input
- And a million more… - And a million more…
## CLI-native
One of the coolest parts of `fabric` is that it's command-line native!
Each `fabric` pattern (prompt) you see in the `/patterns` directory can be used in any AI application you use, but you can also set up your own server using the `/infrastructure/server` code and then call APIs directly!
```bash
# Take any idea from `stdin` and send it to the `/essay` API!
cat "An idea that coding is like speaking with rules." | essay
```
## Naming ## Naming
`fabric` is themed off of, um…_fabric_. So, think blankets, quilts, patterns, etc. Here's the structure: `fabric` is themed off of, um…_fabric_. So, think blankets, quilts, patterns, etc. Here's the structure:
@ -94,6 +106,11 @@ Even better, you can also have your [Mill](https://github.com/danielmiessler/fab
Here's an abridged output example from the <a href="https://github.com/danielmiessler/fabric/blob/main/patterns/extract_wisdom/system.md">`extractwisdom`</a> pattern (limited to only 10 items per section). Here's an abridged output example from the <a href="https://github.com/danielmiessler/fabric/blob/main/patterns/extract_wisdom/system.md">`extractwisdom`</a> pattern (limited to only 10 items per section).
```bash
# Paste in the transcript of a YouTube video of Riva Tez on David Perrel's podcast
pbpaste | extract_wisdom
```
```markdown ```markdown
## SUMMARY: ## SUMMARY: