You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,10 +76,30 @@ An example export file looks like this:
76
76
In this example, there is no manual label, but a weakly supervised label `"Negative"` has been set with 62.2% confidence.
77
77
78
78
### Fetch lookup lists
79
-
-[ ] Todo
79
+
In your project, you can create lookup lists to implement distant supervision heuristics. To fetch your lookup list(s), you can either get all or fetch one by its list id.
80
+
```python
81
+
list_id ="your-list-id"
82
+
lookup_list = client.get_lookup_list(list_id)
83
+
```
84
+
85
+
The list id can be found in your browser URL when you're on the details page of a lookup list, e.g. when you run on localhost: `http://localhost:4455/app/projects/{project_id}/knowledge-base/{list_id}`.
86
+
87
+
Alternatively, you can pull all lookup lists:
88
+
```python
89
+
lookup_lists = client.get_lookup_lists()
90
+
```
80
91
81
92
### Upload files
82
-
-[ ] Todo
93
+
You can import files directly from your machine to your application:
0 commit comments