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.
https://danielmiessler.com/p/fabric-origin-story
MIT License
23.85k stars 2.55k forks source link

[Question]: #853

Open chrisurf opened 1 month ago

chrisurf commented 1 month ago

What is your question?

@danielmiessler , first of all big thanks for this exciting and powerful project.

After reading the documentation, I am still not clear how to ask a specific question against context within my clipboard. I am aware of how to use pbpaste and pipe the context into fabric. My questions is to understand which pattern can I use to send one or more questions to the context and have fabric return me the answers? Thanks again 👍🏽

charlie-romeo commented 1 month ago

sounds like a workflow question I have had myself. Fabric doesn't have that natural chat like workflow from the CLI.
I do the following if I want to use a Fabric Pattern instead of going to a chat: I have a chat file in my working directory. I echo my questions into it and then cat chat | fabric... it's not as smooth as a chat interface but it does get questions into the input. make and alias ccf :)