jkomoros / prompt-garden

A framework for gardening LLM prompts
Apache License 2.0
13 stars 1 forks source link

Allowed `dotted name` nested var and store retrieval #50

Open jkomoros opened 1 year ago

jkomoros commented 1 year ago

Allow passing . in names to mean create and override sub-objects.

Do this for both var/let/let-multi and store/retrieve, as well as property

Note that this makes environment overlaying more complex and need a special helper.

Once this is done, perhaps have secrets be the place secrets are stored?

The simplest place to do this is property, where it doesn't even have to be that hard, and then it can be used for #45