- CPA to Cybersecurity
- Posts
- Add Your Personal Context to Fabric: Early Glimpse of AI "Soul File"?
Add Your Personal Context to Fabric: Early Glimpse of AI "Soul File"?
Your AI Digital Assistant
Table of Contents
Today’s Terminal Rookie “Breakthrough”
Today I made a “breakthrough” (relative term) in providing my own personal context to Fabric: I got the new —context switch working at home, which was demoed in Unsupervised Learning (UL) newsletter #420. That demo assumed a very basic level of capabilities to navigate in a terminal that I just didn’t have at the time, but I was able to acquire in the past week by asking the UL community.
While it turned out to be a simple matter of finding a text file in a hidden folder with a naming convention I wasn’t familiar with, it was a breakthrough for me and I’m making this blog for other terminal rookies that might be in the same boat.
What’s a Personal Context File and Why Should I Care?
As a starting point we’re hearing that nearly all industries will be disrupted because:
AI is the new electricity
Then as experts make predictions of what that means to our lives, the #1 “stochastic prediction” in the following article is that AI Digital Assistants will know everything about us, which unlocks some pretty interesting opportunities (and risks) to humanity, for which for which pros could far outweigh the cons.
Last time I demoed how providing a few sentences of context to Chat GPT had a remarkable impact on my experience with it as an AI Tutor. Today I’ll outline a step-by-step procedure to do the same with all of your fabric patterns, by calling on your personal “Context.md" file.
Here’s a view of the fabric patterns by “Send Brain” Forte Labs stages in the creative process. I got AI to produce this which will be a blog for another day.
Step 1a: Check If You Have The Context Switch Available
fabric -h
If you see —context, head to Step 2. If you don’t, head to Step 1b.
Step 1b: Install the Latest Fabric Client
On my Mac mini I made a:
New User called “Sandbox1”
New folder for the fabric source code called “day5”
Then I walked through the Quick Start procedure in GItHub.
Overcoming an issue with Quick Start Step 6 by updating Poetry
I hit a snag with Step #6 “Run the setup.sh
" which the following conversation with Chat GPT helped me resolve by updating Poetry.
Based on this error message, Chat GPT recommended that I try this command:
curl -sSL https://install.python-poetry.org | python3 -
The command yielded an error message that included this part at the end:
urllib.error.URLError: <urlopen error [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: unable to get local issuer certificate (_ssl.c:1000)>
To get over that hurdle, Chat GPT recommended:
sudo /Applications/Python\ 3.12/Install\ Certificates.command
And then retrying
curl -sSL https://install.python-poetry.org | python3 -
Here’s the rest of the conversation I had with Chat GPT:
Quick Install Step #6 for /.setup.sh It worked! I then completed the rest of the install steps.
Step 2 Update Your Context.md file
Default from GitHub, before you modify:
After you add your mission or other context:
I added this content to the context.md file outside the Terminal. In step 3 copied it to the the ~/.config/fabric folder
Step 3 Enter These Terminal Commands and Run a Pattern with Personal Context!
#Check the fabric help menu to ensure that the --context switch is available
fabric -h
#copy your revised context.md file to the ~/.config/fabric folder
cp day5/fabric/installer/client/cli/context.md ~/.config/fabric
#run a pattern with personal context
echo "what strategies do you recommend for advancing my mission?" | fabric --context --pattern ai
It worked! Thank you UL community!