Discover schema is working

This commit is contained in:
Cyber MacGeddon 2025-09-06 11:52:50 +01:00
parent 846df227ba
commit 16fcd5f502

View file

@ -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:")