diff options
Diffstat (limited to 'AIParams.py')
-rw-r--r-- | AIParams.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/AIParams.py b/AIParams.py new file mode 100644 index 0000000..aab8ac3 --- /dev/null +++ b/AIParams.py @@ -0,0 +1,25 @@ +RECIPE_SCHEMA = { + 'title': str, + 'slug': str, + 'image': str, + 'url': str, + 'tags': list[str], + 'ingredients': list[str], + 'instructions': list[str] +} + +PROMPT = """ +Extract data from the following text in the schema format provided. + +SCHEMA: + +{schema} + +DATA: + +{markdown} +""" + +SYSTEM_INSTRUCTIONS="You are responsible for taking the inputted markdown text and generating a structure response from it. See the Schema provided." + + |