Skip to content

Commit

Permalink
small explanatory comment in extract example
Browse files Browse the repository at this point in the history
  • Loading branch information
liana313 committed Nov 23, 2024
1 parent 40f8242 commit 5e40783
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/op_examples/extract.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@
"masked_col_2": "The age of the person",
}

new_df = df.sem_extract(input_cols, output_cols, extract_quotes=True)
# you can optionally set extract_quotes=True to return quotes that support each output
new_df = df.sem_extract(input_cols, output_cols, extract_quotes=True)
print(new_df)

# A description can also be omitted for each output column
Expand Down

0 comments on commit 5e40783

Please sign in to comment.