mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 16:13:31 +02:00
fabric: add page (#14926)
Co-authored-by: Wiktor Perskawiec <git@spageektti.cc> Co-authored-by: Juri Dispan <juri.dispan@posteo.net>
This commit is contained in:
parent
c19c7b7665
commit
76494c2d1e
1 changed files with 37 additions and 0 deletions
37
pages/common/fabric.md
Normal file
37
pages/common/fabric.md
Normal file
|
@ -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 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 the specified variables:
|
||||
|
||||
`fabric --pattern {{pattern_name}} --variable "{{variable_name}}:{{value}}"`
|
Loading…
Add table
Reference in a new issue