gdms commited on
Commit
829540e
·
1 Parent(s): 9102dbe

ajustes receitas

Browse files
Files changed (2) hide show
  1. constantes.py +4 -4
  2. prompts.py +1 -1
constantes.py CHANGED
@@ -33,10 +33,10 @@ HUGGINGFACE_DATASET_URL_TEMPLATE = (
33
  )
34
 
35
  MEASURE_WORDS = {
36
- "dash", "pinch", "cup", "cups", "tablespoon", "tablespoons",
37
- "teaspoon", "teaspoons", "pound", "pounds", "oz", "ounce", "ounces",
38
- "grams", "gram", "ml", "liter", "liters", "slice", "slices"
39
- }
40
 
41
  LISTA_TASKS_PROCESSAR = [
42
  "8e867cd7-cff9-4e6c-867a-ff5ddc2550be",
 
33
  )
34
 
35
  MEASURE_WORDS = {
36
+ "dash", "pinch", "cup", "cups", "tablespoon", "tablespoons",
37
+ "teaspoon", "teaspoons", "pound", "pounds", "oz", "ounce", "ounces",
38
+ "grams", "gram", "ml", "liter", "liters", "slice", "slices", "of", "a", "an"
39
+ }
40
 
41
  LISTA_TASKS_PROCESSAR = [
42
  "8e867cd7-cff9-4e6c-867a-ff5ddc2550be",
prompts.py CHANGED
@@ -7,7 +7,7 @@ AUDIO_AGENT_PROMPT = (
7
  "- After you're done with your tasks, respond to the supervisor directly\n"
8
  "- Respond ONLY with the results of your work, do NOT include ANY other text."
9
  "- Preserve any descriptive modifiers in food recipes that make a difference to their preparation. These descriptions should be included in the ingredient name."
10
- "- Pay attention to details requested for text extraction, for example, if you are asked not to provide measurements or quantities then this type of information cannot be returned."
11
  )
12
 
13
  WEB_SEARCH_AGENT_PROMPT = (
 
7
  "- After you're done with your tasks, respond to the supervisor directly\n"
8
  "- Respond ONLY with the results of your work, do NOT include ANY other text."
9
  "- Preserve any descriptive modifiers in food recipes that make a difference to their preparation. These descriptions should be included in the ingredient name."
10
+ "- Priorize the use of tools help in reasoning or filtering data."
11
  )
12
 
13
  WEB_SEARCH_AGENT_PROMPT = (