chips commited on
Commit
04e5d90
·
1 Parent(s): 313520c

something about .format

Browse files
Files changed (1) hide show
  1. app/services/service_openai.py +3 -3
app/services/service_openai.py CHANGED
@@ -79,9 +79,9 @@ class OpenAIService(BaseAttributionService):
79
  text_content = [
80
  {
81
  "type": "text",
82
- "text": prompts.EXTRACT_INFO_HUMAN_MESSAGE.format(
83
- product_taxonomy=product_taxonomy,
84
- product_data=product_data_to_str(product_data),
85
  ),
86
  },
87
  ]
 
79
  text_content = [
80
  {
81
  "type": "text",
82
+ "text": prompts.EXTRACT_INFO_HUMAN_MESSAGE #.format(
83
+ #product_taxonomy=product_taxonomy,
84
+ #product_data=product_data_to_str(product_data),
85
  ),
86
  },
87
  ]