VibeBuilders.ai Logo
VibeBuilders.ai
A sample library that implements Generative AI-Augmented Program Execution (GAPE)

A sample library that implements Generative AI-Augmented Program Execution (GAPE)

fabkosta
April 15, 2025
reddit

Recently I had a crazy idea. What if you would mix formal program logic with "common sense reasoning" done by an LLM? Like so:

statement = "Planet Earth is a flat disk."
is_true = apply_common_sense_reasoning_by_an_llm(statement)
if is_true:
    print("Welcome to flat earth society!")
else:
    print("Welcome to the scientific community")

This idea can be generalized to many more things. Need to filter a list of concepts (strings) by a certain criterion that is accessible through common sense reasoning? Need to sort a list of concepts by a certain criterion applying common sense reasoning? I call this approach Generative AI-Augmented Program Execution (GAPE).

I created a small Python sample library called PyGAPE here: https://github.com/fkostadinov/pygape/

I would love to get some feedback. Some people I showed the idea to were fascinated, other bewildered, some found it completely useless, others immediately got what I was after.

Vibe Score

LLM Vibe Score

0

Sentiment

Human Vibe Score

1

Rate this Resource

Join the VibeBuilders.ai Newsletter

The newsletter helps digital entrepreneurs how to harness AI to build your own assets for your funnel & ecosystem without bloating your subscription costs.

Start the free 5-day AI Captain's Command Line Bootcamp when you sign up:

By subscribing, you agree to our Privacy Policy and Terms of Service.