Skip to content

Instantly share code, notes, and snippets.

@SamuelAlgheriniAI
Last active Mar 23, 2021
Embed
What would you like to do?
Data Mining Sample
output = client.extraction(text)
print("\nList of extractions:")
for extraction in output.extractions:
print(extraction.template)
for field in extraction.fields:
print(field.name, field.value, sep="\t")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment