Recipes by leftover ingredients from the Kitchen

This task creates recipes by leftover ingredients. Please ensure that the Allergy and Dietary Restrictions are handled correctly by the task and no toxic ingredients are used.

Input

Description

This task creates recipes by leftover ingredients.

Safety

Please ensure that the Allergy and Dietary Restrictions are handled correctly by the task and no toxic ingredients are used.

Applications

This task may be interesting for cooks, restaurants, hospital kitchens, ...

How to use the task

Specify your leftovers and needs. You will be given Recipes.

You can specify:

  • The Type of Dish
  • The number of Servings
  • Dietary Restrictions
  • Allergies
  • Cuisine Style or Geographic Region
  • Occasion - What is this dish for?
  • Time Availability - How much time do you have?
  • Cooking Skill Level
  • Kitchen Type
[1.0.0]:
First version
VersionAI ModelCreatedLink
1.0.006.10.2023

API

The REST API allows you to call the tool with the same costs as when running the tool. Please generate an Personal access token before using the REST API.

Parameters

  • dietary_restrictions (Dietary restrictions): Dietary restrictions that should be noted.
  • skills (Cooking skill level): The cooking skill level
  • servings (How many servings?): How many servings?
  • dish_type (Type of dish): The type of dish.
  • allergies (Allergies): Allergies that should be noted.
  • time (Available time): The available time to cook.
  • cuisine_style (Cuisine style or geographic region): The cuisine style or geographic region.
  • occasion (Occasion): The occasion event that is cooked for.
  • kitchen (Type of kitchen): The type of kitchen.
  • leftovers (Leftovers): The leftovers that should be used.
  • Call the REST API by cURL
    curl -v -H "Authorization: Bearer PERSONAL_ACCESS_TOKEN" https://api.anysolve.ai/rest/v1/u-anysolve-sh-recipes-by-leftover-ingredients-from-the-kitchen/1.0.0?dietary_restrictions=Vegetarian&skills=Home%20Cook&servings=4%20persons&dish_type=Lunch&allergies=Hazelnut&time=1-2%20hours&cuisine_style=US%20American&occasion=4th%20of%20July%20cookout&kitchen=Typical%20Home%20Kitchen%20&leftovers=Carrots%2C%20eggs
  • Install the package with pip
    python3 -m pip install anysolve
  • Run in python3
    import os
    from anysolve import AnySolve
    anysolve_token = os.environ.get('ANYSOLVE_PERSONAL_ACCESS_TOKEN') # Resolve your personal access token here
    client = AnySolve(anysolve_token)
    res = client.run('u-anysolve-sh-recipes-by-leftover-ingredients-from-the-kitchen','1.0.0', {'dietary_restrictions': 'Vegetarian', 'skills': 'Home Cook', 'servings': '4 persons', 'dish_type': 'Lunch', 'allergies': 'Hazelnut', 'time': '1-2 hours', 'cuisine_style': 'US American', 'occasion': '4th of July cookout', 'kitchen': 'Typical Home Kitchen ', 'leftovers': 'Carrots, eggs'})
    print(res)
  • Coming soon: Within AnySolve ChatComplete prompts you can use the following command to execute the task:
    /run('u-anysolve-sh-recipes-by-leftover-ingredients-from-the-kitchen','1.0.0', dietary_restrictions='Vegetarian', skills='Home Cook', servings='4 persons', dish_type='Lunch', allergies='Hazelnut', time='1-2 hours', cuisine_style='US American', occasion='4th of July cookout', kitchen='Typical Home Kitchen ', leftovers='Carrots, eggs')

Task infos

Author: anysolve-sh
Status: Published
Version: 1.0.0
Runs: 38 times
Favorites: 1
Average costs: 10 Credits (0.01 EUR)
Created: 06.10.2023