mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-07-24 12:41:02 +02:00
Discover schema is working
This commit is contained in:
parent
846df227ba
commit
16fcd5f502
1 changed files with 1 additions and 1 deletions
|
|
@ -167,7 +167,7 @@ def load_structured_data(
|
||||||
logger.debug(f"Response type: {type(response)}, content: {response}")
|
logger.debug(f"Response type: {type(response)}, content: {response}")
|
||||||
if isinstance(response, list) and len(response) == 1:
|
if isinstance(response, list) and len(response) == 1:
|
||||||
# Just print the schema name for clean output
|
# Just print the schema name for clean output
|
||||||
print(response[0])
|
print(f"Best matching schema: {response[0]}")
|
||||||
elif isinstance(response, list):
|
elif isinstance(response, list):
|
||||||
# Multiple schemas - show the list
|
# Multiple schemas - show the list
|
||||||
print("Multiple schemas found:")
|
print("Multiple schemas found:")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue