- Create
/config.inifollowingconfig.ini.templateas example.
- #TBD
python -m src
- Create
Projects Index.- Iterate over every project folder in
/02_projects. - Extract the project's name from folder name into
project_name: str, making sure:- Project name is lower cased.
- White spaces in project name are replaced by underscore.
- Project name is url safe.
- Read in all
.mdfiles, excluding content within code blocks, e.g.abc. - Concatenate all non-excluded content into a single temp text file.
- Pass temp text file content to LLM (GPT4).
- Generate summary description of the project.
- Generate list of main topics, concepts, named entities, and events contained in the project material.
- Generate content index.
- Infer state of project. -> Requires Auditing Projects component.
- If
f"/02_projects/<project_name>/00_<project_name>_meta.md"doesn't exist already, create it. - Append LLM-generated content into created
.mdfile. - Concatenate into a
semantic_summary:- Project name.
- LLM-generated project summary description
- LLM-generated project list of main topics, concepts, named entities, and events.
- Create project entry
{<project_name>: <semantic_summary>}: dict. - Update project entry in
04_memory/project_memory.jsonby:- Update
<semantic_summary>data for key<project_name>for an existing project. - Create new key
<project_name>and insert<semantic_summary>data for non-existant project (i.e. the<project_name>key does not exist in the index).
- Update
- Iterate over every project folder in
- Create
References Index- #TODO: (Relatively similar process as for
Projects Index)
- #TODO: (Relatively similar process as for
- Process captured items
- Iterate over every
.mdfile in folder/00_capture. - Read in
.mdfile excluding content within code blocks, e.g.abc. - Pass content to LLM.
- Create short summary description of the captured item.
- Classify if the captured item corresponds to an
actionor areference. - Infer related project/s. -> Project Memory
- Infer association to existing reference material. -> Reference Memory
- Identify tagged action items (i.e. TODO).
- For every action item:
- Generate short 3-5 word title (to use as future filename).
- Generate detailed action item description.
- For every action item:
- Generate
## Item Metadatasection below the item title (i.e. below H1):Description: ...Item Type: [action, reference]Action Items: [action_1, action_2, ...]Associated Projects: [project_1, project_2, ...]Associated References: [reference_1, reference_2, ...]
- For every action item in
Action Items:- Create an individual
.mdfile for it. - #TODO
- Create an individual
- Iterate over every
- #TODO
-
Heuristics:
- Read only
.mdfiles. - Skip content within code blocks, e.g.
abc.
- Read only
-
Process:
- Ignore
03_reference
- Ignore
- #TODO
- #TODO
- #TODO
- #TODO
- #TODO
- #TODO
- #TODO
- #TODO
- Create
config.inifile for project configuration variables, such as second brain's filepath in local system. #DONE - Create
config.ini.templatefor sharing, while keepingconfig.iniignored in.gitignore. #DONE - Add MIT license. #DONE
- Create
pyproject.tomlfor setting up basic packaging. #DONE