Skip to content

Prompt

Imagine that everything you may wish to know about a person could be compacted into a single folder on a computer.

Within that folder would be files, and each file would have a descriptive name.

Examples :

career-goals.md life-mission.md

They should fit the biography of this individual:

Name: David Rosen Place of birth: Cork, Ireland Place of residence: Jerusalem, Israel
Year of birth: 1989
Job; communications consultant
Hobbies: technology, learning about LLMs, AI, languages, socialising, travel, languages

Write a Python script

It should have a variable base_dir setting the base directory which the user can configure by hard-coding.

The script will create a list of context files (all with the extension.md) within /data relative to the base directory.

The list of files should be chosen according to the instructions above.

In the script, explicitly provide the list of filenames to be generated.