File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ async def handle_new_chat_message_from_user(new_message : CreateChatMessageReque
18
18
19
19
if message_category is MessageCategory .QuestionAboutProductDescription :
20
20
product_description_by_user = await extract_product_description_from_message (new_message .text )
21
- similarity_df = get_similarity_dataframe (product_description_by_user , products_embeddings , General .GET_TOP_X_RESULTS_FROM_SIMILARITY_DATAFRAME )
21
+ similarity_df = get_similarity_dataframe (product_description_by_user . text , products_embeddings , General .GET_TOP_X_RESULTS_FROM_SIMILARITY_DATAFRAME )
22
22
products_with_titles_and_prices = get_products_with_prices_string (similarity_df )
23
23
response_string = AssistantMessages .ASSISTANT_MESSAGE_RECOMMENDED_PRODUCTS .format (products_with_titles_and_prices )
24
24
You can’t perform that action at this time.
0 commit comments