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

runtime error #14

Open
shiwenbin1617 opened this issue Feb 26, 2025 · 1 comment
Open

runtime error #14

shiwenbin1617 opened this issue Feb 26, 2025 · 1 comment

Comments

@shiwenbin1617
Copy link

graph_2 = kg.generate(
input_data=large_text,
chunk_size=500,
cluster=True # Cluster similar entities and relations
)

print(graph_2)

pydantic_core._pydantic_core.ValidationError: 12 validation errors for list[tuple[str, str, str]]
0
Input should be a valid tuple [type=tuple_type, input_value='Exosomes', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
1
Input should be a valid tuple [type=tuple_type, input_value='have functions similar to', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
2
Input should be a valid tuple [type=tuple_type, input_value='cell-based products', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
3
Input should be a valid tuple [type=tuple_type, input_value='Exosomes', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
4
Input should be a valid tuple [type=tuple_type, input_value='include', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
5
Input should be a valid tuple [type=tuple_type, input_value='stem cell adjustment', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
6
Input should be a valid tuple [type=tuple_type, input_value='Exosomes', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
7
Input should be a valid tuple [type=tuple_type, input_value='include', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
8
Input should be a valid tuple [type=tuple_type, input_value='tissue repair', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
9
Input should be a valid tuple [type=tuple_type, input_value='Exosomes', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
10
Input should be a valid tuple [type=tuple_type, input_value='include', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type
11
Input should be a valid tuple [type=tuple_type, input_value='immune regulation', input_type=str]
For further information visit https://errors.pydantic.dev/2.10/v/tuple_type

Process finished with exit code 1

@belindamo
Copy link
Collaborator

Thanks for flagging - investigating this here - #8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants