Open DanCharousek opened 1 month ago
@DanCharousek
Package that could suit us (and kinda only package that I found for this feature): github.com/goombaio/namegenerator
.
Example output:
old-shape
delicate-paper
withered-dawn
frosty-wave
But I'm thinking about creating separate package for it. Something that would be more configurable (e.g. : choosing your separator, choosing just nouns...).
add
- name already existsHow should the program behave if we provide (or generate 🫠 ) name that already exits in a dir structure? RN the data will be overwritten.
Should we check the dir; if exits throw an error?
b2 add [name]
(mostly done)~/b2/[name]
[x] Creates file
metadata.yaml
in the newly created directory with following structure:b2 find [query]
[ ] Checks
~/b2/.history.yaml
(structure bellow), if the hash is present, spawns new shell in thetarget
directorydescription
field from all~/b2/**/metadata.yaml
files and prompts a LLM (ChatGPT - but eventually should be flexible enough to use any other platform) to suggest topn
best matching results (dirname - description
)~/b2/[dirname]/metadata.yaml
undermatching_quries
field~/b2/.history.yaml
fileb2 summarize
matching_queries
from~/b2/**/metadata.yaml
and prompts AI to summarize those and the originaldescription
into concise summary stored in theai_summary
field in themetadata.yaml
file