Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fabric: add page #14926

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 37 additions & 0 deletions pages/common/fabric.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# fabric

> An open-source framework for augmenting humans using AI.
> Provides a modular framework for solving specific problems using a crowdsourced set of AI prompts.
> More information: <https://github.com/danielmiessler/fabric>.
- Run setup to configure fabric:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Run setup to configure fabric:
- Run the setup to configure fabric:


`fabric --setup`

- List all available patterns:

`fabric --listpatterns`

- Run a pattern with input from a file:

`fabric --pattern {{pattern_name}} < {{path/to/input_file}}`

- Run a pattern on a YouTube video URL:

`fabric --youtube "{{https://www.youtube.com/watch?v=video_id}}" --pattern {{pattern_name}}`

- Chain patterns together by piping output from one to another:

`fabric --pattern {{pattern1}} | fabric --pattern {{pattern2}}`

- Run a custom user-defined pattern:

`fabric --pattern {{custom_pattern_name}}`

- Run a pattern and save the output to a file:

`fabric --pattern {{pattern_name}} --output {{path/to/output_file}}`

- Run a pattern with specified variables:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Run a pattern with specified variables:
- Run a pattern with the specified variables:


`fabric --pattern {{pattern_name}} --variable "{{variable_name}}:{{value}}"`