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.44k stars 2.48k forks source link

[Feature request]: UI to use service + ability to community rank/ submit/ remix patterns via UI #582

Open petruut opened 3 months ago

petruut commented 3 months ago

What do you need?

It's a great idea to have a library of patterns - however, in a long list without any qualification, it's difficult to find the right use cases.

A UI to use and identify the right patterns would solve this. We need to simplify the heuristics.

gmorain commented 3 months ago

not for everyone, but this macOS app seems to embed fabric in a nicely integrated app https://alterhq.com/demos

patonw commented 2 months ago

What if we generate a table with pattern descriptions and feed that into a pattern to suggest which one to use? We could generate the descriptions via LLM using a summarize pattern pattern.

Pseudocode:

foreach pattern:
  cat {pattern} | fabric summarize-pattern >> pattern-descriptions.csv

echo "You are a XYZ, suggest a pattern from the following table:" >> {patterns-dir}/select-pattern/system.md
cat pattern-descriptions.csv >> {patterns-dir}/select-pattern/sytem.md

Then fabric suggest-pattern -t "I want to summarize last quarter's report as a series of cat memes"