root-sajjan commited on
Commit
f89ca16
·
verified ·
1 Parent(s): a45f4b6
Files changed (1) hide show
  1. llm/inference.py +3 -2
llm/inference.py CHANGED
@@ -98,8 +98,9 @@ def get_name(url, object):
98
  llm_result = completion.choices[0].message['content']
99
  print(llm_result)
100
  # print(f'\n\nThat is the output')
101
- print(f'Extracting from the output now, function calling')
102
- result = extract_product_info(llm_result)
 
103
  print(f'\n\nResult brand and price:{result}')
104
  print(f'\n\nThat is the output')
105
  # result2 = extract_info(llm_result)
 
98
  llm_result = completion.choices[0].message['content']
99
  print(llm_result)
100
  # print(f'\n\nThat is the output')
101
+
102
+ print(f"Extracting from the output now, function calling")
103
+ result = extract_product_info(llm_result)
104
  print(f'\n\nResult brand and price:{result}')
105
  print(f'\n\nThat is the output')
106
  # result2 = extract_info(llm_result)