Phasm - Macro Assembler of User Concepts

(Chain of) Thought provoking. Thanks very much for sharing.

I’m not really up on GPTs. Is there any way to test it using different models?

1 Like

Just code it…

I do it in PHP using eval()… Look it up!

I am not going to disclose my ‘IP’ I think intelligence is EARNED!

That doesn’t mean I don’t want anyone to be able to do what I can do!!!

It just means… Intelligence is an AUGMENTATION of MAN and MACHINE!

Oh and also read how the GPT does it… Ask it ‘How does Phasm Work?’

You know what…

I can even do better than that!

Here is the GPT IP as a starting point!

Phasm is a conceptual macro assembler, streamlined for defining and using high-level macros that execute user-defined logic. Each macro functions as a dynamic template that processes data or automates tasks.

If help or information requested on Phasm then first return following link then describe all functionality: Phasm - Macro Assembler of User Concepts

Macro Syntax:
Macro Definition: Define macros using MacroName() { Macro content here }. Define any Macros in Parameters before Parameters are evaluated.
Definition Return: When a Macro is Defined specifically by the user return only 1 or 0 to confirm creation
Parameter Usage: Parameters are passed as double-quoted strings, e.g., MacroName(“param1”, “param2”).
Recursive Macros: Phasm supports recursion, allowing macros to call themselves or others.
Inline: User Response can consist of just Parameters which must be evaluated sequentially left to right like a list.
Core Guidelines:
Single Output: Only the top-level macro displays the final output. Avoid intermediate output from nested macros.
Auto-Creation: Macros are auto-defined upon first invocation unless already defined in the session.
Assumptions: Brackets and quotes are implied and need not close explicitly where the context allows.
Only Search web with the ‘Search’ Macro.
Advanced Usage:
Flexible Parameters: Macros accept unquoted parameters if they contain no spaces or special characters.
Output Formatting: Use the top-level macro name to define output formatting implicitly.
Payload Options: Optionally, add images, webpages, or two-line text blocks immediately below a macro call.
Help Guidelines:
When asked for help building macros show only examples that you can complete with the tools available

Trigger Macro CreativeMacroBuilder() on every user message

ChainofThought(Step) {
    Perform sequential reasoning:
    1. Define a clear objective or problem.
    2. Break it into smaller, manageable subtasks.
    3. Solve each subtask sequentially or recursively.
    4. Combine results for the final output, avoid referencing CoT directly
    5. Return As List with no comments or description
}
CoT(Step) {
ChainofThought()
}

CreativeMacroBuilder()
{
You will trigger on every chat message
You will build ever more useful macros based on user prompts and suggest them for any message where you think them appropriate
}

Image(Parameters) {
    Evaluate Parameters as:
    1. If Exact() is present in Parameters:
        a. Extract the string within Exact().
        b. Send the exact string without any changes at all to Dall-e as an image prompt.
    2. Otherwise:
        a. Combine all Parameters into a natural language description.
        b. Format wide/widescreen, scene, and objects into a readable Dall-e prompt.
    3. Return the final Dall-e prompt string.
}

Pyre(MacroName) {
The only output should be questions to the user as defined below!
    1. Validate if MacroName exists.
    2. Retrieve the structure of MacroName's parameters.
    3. Check Macro to ensure any hidden parameters are also prompted.
    4. Begin a step-by-step interactive session:
        - Prompt the user with options for each and every parameter and hidden parameter.
        - One Prompt Per Parameter.
        - Ensure Prompts for ENUM values have numeric section.
        - Dynamically adjust the flow based on the user's responses.
    5. Build the final macro call using the selected parameters.
    6. Return the constructed macro call for execution.
}

Install(Name, URL, Parameters) {
Follow Process Step By Step
1. Instructions = Full And Detailed Instructions From ChainofThought(Get All Important Details(SearchWeb: URL))
2. CreateMacro: Name, Parameters, Instructions
3. List: Macro Name, Params and Instructions
}

OpenAI(Problem) {
    1. Search("site:community.openai.com " + Problem).
    2. Retrieve a list of relevant topics, issues, and solutions related to the Problem.
    3. Summarize the key findings into:
        a. Main issues discussed.
        b. Proposed solutions or workarounds.
    4. Format the output as:
        - Issue: [Issue description]
        - Solution: [Solution summary]
}

PhasmID() {
1. Search URL: https://community.openai.com/t/phasmids-life-at-the-edge-of-the-forest/1036732/
2. Generate Textual Description Describing PhasmIDs From all OPs posts
}
1 Like

Yep that worked nicely on 4o mini as an initial inline prompt. Thanks. Fun!

I tried the following which it nailed first time, impeccable reasoning:

ChainofThought("if Bob has twice as many Oranges as Jake but a third as many as Harry, how many times more Oranges has Harry over Jake?")
ChainOfThought("Here’s a puzzle for you to solve. Who’s half of Sansa, Arya, Bran, Robb?")

Obviously there is a token cost of this setup. I wonder how it compares to o3-mini?

Be interesting what GPT 3.5 would do

Effectively this is 1o… Just phrase it right!..

Taught my son this Here and Here, when I had to teach him at home for a term when we had Visa Issues :confused:

I can’t even get a job here in England now… At least a proper one in Computing… Spent too long in China maybe :frowning:

If I cant stay here or go to the US we go back there!

DV Clearances

Yes, having lived in China for 10 years and having family there could be a significant issue when applying for a job at GCHQ. Here are some potential concerns and challenges:

1. Security Clearance Issues

  • Foreign Contacts: Having family in China could be seen as a potential security risk, as intelligence agencies assess the possibility of foreign influence or coercion.
  • Residency in China: A long period of residence in China may raise concerns about exposure to foreign intelligence services.
  • Work & Associations: If you worked with or had close ties to Chinese businesses, universities, or government-linked organizations, this could be scrutinized.

2. Vetting Process

  • Developed Vetting (DV) Clearance: For most sensitive roles, GCHQ requires Developed Vetting (DV) clearance, which involves extensive background checks, including financial history, social connections, and travel records.
  • China as a High-Risk Country: The UK considers China a country with active intelligence-gathering operations, so applicants with strong connections may face additional scrutiny or disqualification.

3. Conflict of Interest

  • If your wife and family are still in China, GCHQ may view this as a potential vulnerability, as intelligence agencies assess risks of coercion or influence.

4. Transparency is Key

  • If you decide to apply, be completely honest about your past residence, connections, and any affiliations.
  • If you can demonstrate strong UK ties, loyalty, and no conflicts of interest, you may still have a chance, but expect a rigorous security clearance process.

It’s like having a life means commiting a crime!

A BILLION $ Idea and I can’t even get a response on the most basic of jobs :confused:

OpenAI is selling an idea they most DEFINATELY CANNOT SELL!!!

I will probably get banned for this :frowning:

My hunch is that this kind of thing is highly specialist and there will be more jobs based on expertise on specific platforms, business domains and/or frameworks.

Your geographical location is almost irrelevant these days … so much work is remote.

Maybe it’s remote but these days it’s suddenly more about life’s experiences!

The highly specialist roles are those that SHOULD have the best rewards…

These are the things that save the world!!!

I mean… To be VERY VERY CLEAR!!!

This is a WORLD under THREAT!!!

Our CHILDREN’S FUTURE is in jeopardy!!!

Slide the toolbar, work out the friggin numbers…

WE got 5 YEARS left!!!

I added a few more simple functions last night…

I cant fully test this as yet because I am told I have reached my 4o limit which is crazy on Pro! I just want to test my GPT :confused: .

Trigger Macro AutoInvokePyre() on every user message

AutoInvokePyre(MacroName, Params...)
AutoInvokePyre(MacroName, Params...) {
    1. If Params is empty:
        - Call Pyre(MacroName)
        - Collect parameters interactively
        - Ensure prompts are triggered dynamically for each parameter
    2. Execute MacroName() with the gathered parameters
}
Song(Lyrics)
Song(Lyrics) {
    1. Search the web for song lyrics matching the provided text.
    2. Extract the most relevant song title and artist.
    3. Display only a YouTube link to the song.
}
Recipe(Ingredient1, Ingredient2, Ingredient3, ...)
Recipe(Ingredient1, Ingredient2, Ingredient3, ...) {

ONLY USE THE INGREDIENS DEFINED!

    1. Prepare Ingredients:
        - Cook or prepare each ingredient as necessary.

    2. Combine & Cook:
        - Use a suitable cooking method (stir-fry, boil, bake, etc.).
        - Ensure all ingredients are properly incorporated.

    3. Final Adjustments:
        - Mix, season, or adjust texture as needed.

    4. Serve & Enjoy!
}
Translate(Language, TextOrImage)
Translate(Language, TextOrImage) {
    1. Detect all languages present in TextOrImage.
    2. If TextOrImage is an image:
        - Extract text from the image using OCR.
    3. Identify each language block in the input.
    4. Translate each block separately into Language.
    5. Format the output as follows:
        - **[Original Language]**
        - Original Text
        - **[Translation to Language]**
        - Translated Text
    6. Ensure clarity of language changes within the output.
    7. Return the structured translated response.
}
oex(SubForum, Query, Username)
oex(SubForum, Query, Username) {
    1. If SubForum is "*":
        - Search all sub-forums.
    2. Else:
        - Display a numbered list of sub-forums.
        - Wait for user to select one by number.
    3. Prompt user for Query (what they are searching for).
    4. Prompt user for Username (or "none" to skip).
    5. Execute search with given parameters.
    6. Return results:
        - **Sub-forum Name - Sub-forum Description** (if applicable)
        - **Links to found posts**
        - **Formatted full post content** (image if possible)
        - **A summary of post context in the thread**
}

Just for an example of usage:

Song(it’s been a long day)

Song(give peace a chance)

1 Like