From e81cdc0abd3937a5f546ec696d1431f8f74530aa Mon Sep 17 00:00:00 2001 From: Miguel Grinberg Date: Mon, 22 Jan 2024 15:12:31 +0000 Subject: [PATCH] Chatbot RAG App: display correct document icons in search results --- example-apps/chatbot-rag-app/frontend/src/store/provider.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/example-apps/chatbot-rag-app/frontend/src/store/provider.tsx b/example-apps/chatbot-rag-app/frontend/src/store/provider.tsx index 20bf813e..40e318a5 100644 --- a/example-apps/chatbot-rag-app/frontend/src/store/provider.tsx +++ b/example-apps/chatbot-rag-app/frontend/src/store/provider.tsx @@ -200,7 +200,7 @@ export const thunkActions = { name: string page_content: string url?: string - icon?: string + category?: string updated_at?: string | null } = JSON.parse(source.replaceAll('\n', '')) @@ -211,7 +211,7 @@ export const thunkActions = { name: parsedSource.name, url: parsedSource.url, summary: parsedSource.page_content, - icon: parsedSource.icon, + icon: parsedSource.category, updated_at: parsedSource.updated_at, }, })