References are not shown properly in UI #11

Closed
opened 2026-02-15 19:15:06 -05:00 by yindo · 3 comments
Owner

Originally created by @mohdamir on GitHub (Apr 23, 2024).

Have run the package from main branch and created a bot with PDF documents. There are three nodes shown as references for the answers but they are empty and not showing the part of PDF as source/reference (Screenshot attached)
Screenshot 2024-04-23 at 1 48 55 PM

Originally created by @mohdamir on GitHub (Apr 23, 2024). Have run the package from main branch and created a bot with PDF documents. There are three nodes shown as references for the answers but they are empty and not showing the part of PDF as source/reference (Screenshot attached) <img width="1159" alt="Screenshot 2024-04-23 at 1 48 55 PM" src="https://github.com/run-llama/create-llama/assets/1610717/637aa180-6185-4593-b523-69cb45197329">
yindo closed this issue 2026-02-15 19:15:06 -05:00
Author
Owner

@marcusschiesser commented on GitHub (Apr 24, 2024):

Thanks @mohdamir. This should only happen if you're using a Typescript backend, but not with Python. The reason is that Typescript is not adding any file metadata; I added a patch for this (https://github.com/run-llama/LlamaIndexTS/pull/758), which will be released with the next LlamaIndexTS version.

Meanwhile, if you're using a Typescript backend, I filter out source nodes without metadata, see https://github.com/run-llama/create-llama/commit/8b81b17984dfdc2099fb98af62f3bb92c55247e3

@marcusschiesser commented on GitHub (Apr 24, 2024): Thanks @mohdamir. This should only happen if you're using a Typescript backend, but not with Python. The reason is that Typescript is not adding any file metadata; I added a patch for this (https://github.com/run-llama/LlamaIndexTS/pull/758), which will be released with the next LlamaIndexTS version. Meanwhile, if you're using a Typescript backend, I filter out source nodes without metadata, see https://github.com/run-llama/create-llama/commit/8b81b17984dfdc2099fb98af62f3bb92c55247e3
Author
Owner

@mohdamir commented on GitHub (Apr 25, 2024):

Thanks @marcusschiesser. Looking forward for the next release.

@mohdamir commented on GitHub (Apr 25, 2024): Thanks @marcusschiesser. Looking forward for the next release.
Author
Owner

@marcusschiesser commented on GitHub (Jun 20, 2024):

@mohdamir should be fixed in the latest release

@marcusschiesser commented on GitHub (Jun 20, 2024): @mohdamir should be fixed in the latest release
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: run-llama/create-llama#11