1from apify_client import ApifyClient
2
3
4
5client = ApifyClient("<YOUR_API_TOKEN>")
6
7
8run_input = {
9 "patentClaimsText": "1. A method of approximate nearest neighbor search comprising: hashing each data vector with a plurality of locality-sensitive hash functions to generate hash codes; storing the vectors in hash tables indexed by the hash codes; and, for a query vector, retrieving candidate vectors from the buckets matching the query's hash codes and ranking the candidates by exact distance to the query vector.",
10 "priorityDate": "2017-06-01",
11}
12
13
14run = client.actor("davidcondrey/wl-prior-art-invalidator").call(run_input=run_input)
15
16
17print(f"💾 Check your data here: https://console.apify.com/storage/datasets/{run.default_dataset_id}")
18for item in client.dataset(run.default_dataset_id).iterate_items():
19 print(item)
20
21