Skip to content

Commit

Permalink
refac: citation styling
Browse files Browse the repository at this point in the history
  • Loading branch information
tjbck committed May 7, 2024
1 parent 9b59039 commit 66e7e57
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib/components/chat/Messages/ResponseMessage.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -470,8 +470,8 @@
} -->

{#if message.citations}
<hr class=" dark:border-gray-800 mt-1" />
<div class="my-2.5 w-full flex overflow-x-auto gap-2 flex-wrap">
<hr class=" dark:border-gray-800 my-1" />
<div class="my-2.5 w-full flex flex-col gap-1">
{#each message.citations.reduce((acc, citation) => {
citation.document.forEach((document, index) => {
const metadata = citation.metadata?.[index];
Expand Down

0 comments on commit 66e7e57

Please sign in to comment.