root-sajjan
commited on
saddsfsdf
Browse files- llm/inference.py +2 -2
llm/inference.py
CHANGED
@@ -97,12 +97,12 @@ def get_name(url, object):
|
|
97 |
print(f'\n\nNow output of LLM:\n')
|
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 |
-
|
106 |
# result2 = extract_info(llm_result)
|
107 |
# print(f'\n\nFrom Google llm:{result2}')
|
108 |
|
|
|
97 |
print(f'\n\nNow output of LLM:\n')
|
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)
|
107 |
# print(f'\n\nFrom Google llm:{result2}')
|
108 |
|