blob: aab8ac37dd1fa30a0cf8778f4c1abc338d151e55 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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."
|