Fabric Framework - Augment yourself
https://github.com/danielmiessler/fabric
"Fabric is an open-source framework for augmenting humans using AI. It provides a modular framework for solving specific problems using a crowdsourced set of AI prompts that can be used anywhere."
"So what?"
Well, if you've gone beyond the "hey, I can setup and access an LLM and now I'm a genius" phase, you will have hit the valley of disillusionment (is that even a word?), decided that LLMs are crap, attempted to do "stuff" with them & then mentally accepted that they are not smart at all, it's all an illusion to "appear to be intelligent", but really it's just word pattern matching and spewing out garbage in response to your questions, or just plain bollox.
Then you thought, "hmmm... I'm going to write myself some prompts, that'll make life better", then you wrote about 5 very long and convoluted one's that you think are great & will be used for pretty much everything - except they work "okay-ish", but as you vary for different types of questioning, they don't really cut the mustard. sigh.
So, what do you do now?
Well, that's where Fabric comes in.
It is an open-source collection of prompt patterns all pre-made for you that cover a LOAD of subject areas already & you can add your own, yes, you can take a dip into the ./config/fabric/patterns folder & take a look at the system.md files and see how the prompts were written & then write and make your own, but make them good, make them awesome, make them, many. Well, just make more, better & specific to what you want, but being able to see the stuff that does work well, you can lift & shift more into your prompts and get the LLM tools to do a better job, than before.
Maybe that "shine" will come back & you'll start to use the LLM technology in better ways?
"What's involved then?"
Well, of course you'll have UBuntu linux running, if not, why not? If you're a Windoze-phile, you can use WSL you know and get UBuntu running on your laptop too, y'know! anyway, you can just read the github repo, but "pfhhh! no-one got time for that"
Just paste the following:
curl -L https://github.com/danielmiessler/fabric/releases/latest/download/fabric-linux-amd64 > fabric && chmod +x fabric && ./fabric --version
That has then done all that is needed into 1 line! then all you need to do is set it up:
$ ./fabric --setup
As you'll have access to Ollama Engine running locally (I assume?) you can then select the option to pick that from the list and provide the http://localhost:11434 value
Then pick the number towards the end, to download the prompt patterns, select to use all the default values.
Then, well, then it's all ready to use!
The repo has reference to pbpaste etc.. that is Mac specific, you can do similar with UBuntu:
$ sudo apt update
$ sudo apt install xclip -y
and then create an alias to xclip and call it pbpaste & all the examples will work for you:
Add the following to ./bashrc
alias pbpaste='xclip -selection clipboard -o'
Or, as it says here, just get stuck in & use the prompt patterns:
https://github.com/danielmiessler/fabric?tab=readme-ov-file#just-use-the-patterns
If you want a LOT LONGER explanation, this guy has a great YouTube video that takes you through more details & has the author or the repo talking too:
UPDATE:
It literally is this simple:
Then select [10] to pick the default Ollama model to use (you can change the model to use in the CLI calls, this just sets the default)
Then select [11] to download the Prompt Patterns
That's it - you're ready to get going now!
Transcribe that YouTube video, analyse that PDF document or choice, get a prompt pattern to assess 5 PDF documents and advise which one you should look at first based upon what it is you actually want to know.... the world is now your oyster.
Augment yourself.
Comments
Post a Comment