Skip to content

Commit

Permalink
Chatbot RAG App: display correct document icons in search results
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Jan 22, 2024
1 parent 2d80dd8 commit e81cdc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions example-apps/chatbot-rag-app/frontend/src/store/provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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', ''))

Expand All @@ -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,
},
})
Expand Down

0 comments on commit e81cdc0

Please sign in to comment.