1
0
Fork 0
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:
Matt Herich 2024-11-24 05:50:31 -08:00 committed by GitHub
parent c19c7b7665
commit 76494c2d1e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

37
pages/common/fabric.md Normal file
View 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}}"`