mirror of
https://github.com/run-llama/create-llama.git
synced 2026-07-16 03:04:21 -04:00
References are not shown properly in UI #11
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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)

@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
@mohdamir commented on GitHub (Apr 25, 2024):
Thanks @marcusschiesser. Looking forward for the next release.
@marcusschiesser commented on GitHub (Jun 20, 2024):
@mohdamir should be fixed in the latest release