Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeyError:'Tail' #913

Open
alwayscheers opened this issue Dec 3, 2024 · 5 comments
Open

KeyError:'Tail' #913

alwayscheers opened this issue Dec 3, 2024 · 5 comments
Assignees
Labels
bug Something isn't working duplicate This issue or pull request already exists

Comments

@alwayscheers
Copy link

ISSUE:
llm-graph-builder-main\backend\src\graph_transformers\llm.py", line 611, in process_response
nodes_set.add((rel["tail"], rel["tail_type"]))
KeyError: 'tail'
2024-12-03 10:17:49,894 - closing connection for extract api
INFO: 127.0.0.1:65204 - "POST /extract HTTP/1.1" 200 OK
2024-12-03 10:18:06,317 - Request disconnected
DISCRIPTION
The document I uploaded exceeds 20KB and an error as shown in the figure occurs. I would like to ask if there is a size limit for input files in this project, as I am using the qwen-long model.

@kartikpersistent
Copy link
Collaborator

kartikpersistent commented Dec 3, 2024

Hi @alwayscheers there is no size limit can you share your file so that we can try at our end

@kartikpersistent kartikpersistent added bug Something isn't working duplicate This issue or pull request already exists labels Dec 3, 2024
@kartikpersistent
Copy link
Collaborator

#841

@kaustubh-darekar
Copy link
Collaborator

@alwayscheers Can you share the file you tried. Also are you using fireworks for qwen model?

@alwayscheers
Copy link
Author

Sure here is my txt:
test.txt
I am using the qwen-long API call service provided by aliyun platform.
image

@kaustubh-darekar
Copy link
Collaborator

Hi @alwayscheers .
Apologies for late reply.

unfortunately we don't have access to aliyun platform. Although we tested qwen model on fireworks and it is working fine as expected.
If possible can you try fireworks?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants