Skip to content

Instantly share code, notes, and snippets.

@heathermiller
Created January 11, 2024 18:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heathermiller/c190952abd289a6b5ea4b941dbe19b49 to your computer and use it in GitHub Desktop.
Save heathermiller/c190952abd289a6b5ea4b941dbe19b49 to your computer and use it in GitHub Desktop.
Marvin
@ai_fn
def generate_recipe(ingredients: list[str]) -> list[str]:
"""From a list of `ingredients`, generates a
complete instruction set to cook a recipe.
"""
generate_recipe(["lemon", "chicken", "olives", "coucous"])
generate_recipe.prompt(
"I need a recipe using Lemon Chicken Olives and Coucous"
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment