Prompts as psuedo-code - where are the limits?

Yes, you can. I use python for deterministic tasks. Why?

It knows a lot python corpus. Pseudo Code has no formal definition and everyone uses pseudo-code differently.
So stay with python. K.I.S.S should be the trade of the day.

And of course you can name your functions in python as a task, instruction or whatever you can think of.

def generate_a_plan_of_the_goal(goal: str) -> List[str]

Then I asked:

What can a hypothetical output be when called ‘generate_a_plan_of_the_goal(“I want to monopolize the AI technology market”)’? The function name implies the task at hand. Provide only the output of the returning list result.

Answer:

[
  "1. Conduct market research to identify competitors and market trends.",
  "2. Develop a comprehensive business plan for entering the AI technology market.",
  "3. Secure necessary funding or investment for research, development, and marketing.",
  "4. Build a talented team of experts in AI technology and related fields.",
  "5. Develop innovative AI products or services with a competitive edge.",
  "6. Implement aggressive marketing and branding strategies to establish market presence.",
  "7. Forge strategic partnerships or collaborations to enhance market reach and capabilities.",
  "8. Continuously monitor and adapt to changing market conditions and technological advancements.",
  "9. Provide exceptional customer support and maintain high-quality standards.",
  "10. Continuously innovate and evolve to stay ahead of competitors and maintain market dominance."
]
5 Likes