Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
c9e8ee4
remove doc extraction, review, and dataset classes
Scott771 Mar 31, 2025
c283802
Copy mypy config from pyproject.toml since mypy won't merge them
mawelborn-indico Apr 1, 2025
6acf68c
Unignore type hinted modules
mawelborn-indico Apr 1, 2025
8536eab
Fix type ignores related to indico-client
mawelborn-indico Apr 1, 2025
2e771b0
Fix result file test asserts that mypy thinks are unreachable
mawelborn-indico Apr 1, 2025
dc6cf5f
Merge pull request #213 from IndicoDataSolutions/mawelborn/fix-mypy-c…
mawelborn-indico Apr 1, 2025
4b1696b
Merge pull request #212 from IndicoDataSolutions/begin_removal
Scott771 Apr 1, 2025
0c726eb
Parse static model results from `component_results` using IPA 7.2 `co…
mawelborn-indico Apr 25, 2025
6a2d06c
Include component results in normalization and unit tests
mawelborn-indico Apr 25, 2025
3706eb9
Improve the specificity of errors raised by `results.utils.get()`
mawelborn-indico Apr 25, 2025
cc981d6
Parse and preserve full spans for classify + unbundle predictions
mawelborn-indico Apr 25, 2025
1d9671b
Support `group = next(group)` idiom for linked label groups
mawelborn-indico Apr 25, 2025
3a4bca7
Improve the specificity of errors raised by `results.utils.get()` more
mawelborn-indico May 5, 2025
5712724
Clean up some error messages
mawelborn-indico May 5, 2025
c43c47f
Merge pull request #214 from IndicoDataSolutions/mawelborn/static-mod…
mawelborn-indico May 5, 2025
2f7cc38
Fix errors in `utils.get()` and `utils.has()`
mawelborn-indico May 8, 2025
e7e5344
Bump version and update changelog
mawelborn-indico May 8, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -153,3 +153,16 @@ This is the first major version release tested to work on Indico 6.X.
* Added `etloutput` module.
* Refactored `retry` decorator with asyncio support.
* Switched to Poetry for packaging and dependency management.

## 6.14.1 3/20/25

* Improved Poetry and Poe configuration.
* Update more attributes when prediction text changes to avoid TAK normalization issues.

## 6.14.2 5/8/25

* Fixed Mypy configuration.
* Removed `AutoPopulator`, `CustomOcr`, `Datasets`, `DocExtraction`, `Reviewer` classes.
* Added support for imported models using IPA 7.2 `component_metadata` section.
* Parse and preserve full span information for `Unbundling` predictions.
* Add `group = next(group)` idiom.
20 changes: 0 additions & 20 deletions examples/copy_teach_task.py

This file was deleted.

27 changes: 0 additions & 27 deletions examples/create_auto_classification_workflow.py

This file was deleted.

25 changes: 0 additions & 25 deletions examples/dataset_tasks.py

This file was deleted.

20 changes: 0 additions & 20 deletions examples/merge_snapshots.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,5 @@
from indico_toolkit import create_client
from indico_toolkit.indico_wrapper import Datasets
from indico_toolkit.snapshots import Snapshot

HOST = "app.indico.io"
API_TOKEN_PATH = "./indico_api_token.txt"
PATH_TO_SNAPSHOT = "./snapshot_1.csv"
PATH_TO_SNAPSHOT_2 = "./snapshot_2.csv"
OUTPUT_PATH = "./merged_snapshot_output.csv"
Expand Down Expand Up @@ -34,19 +30,3 @@
# will now include all of the samples from snap_to_append as well
print(main_snap.number_of_samples)
main_snap.to_csv(OUTPUT_PATH)

"""
With that merged snapshot, you can now use the toolkit to upload and train a model.
"""
client = create_client(HOST, API_TOKEN_PATH)
dataset = Datasets(client)
uploaded_dataset = dataset.create_dataset([OUTPUT_PATH], dataset_name="my_dataset")
print(f"My Dataset ID is {uploaded_dataset.id}")
model = dataset.train_model(
uploaded_dataset,
model_name="my_model",
source_col=main_snap.text_col,
target_col=main_snap.label_col,
wait=False,
)
print(f"My Model Group ID is {model.id}")
35 changes: 0 additions & 35 deletions examples/pdf_highlighter.py

This file was deleted.

24 changes: 0 additions & 24 deletions examples/submitting_to_doc_extraction.py

This file was deleted.

2 changes: 1 addition & 1 deletion indico_toolkit/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
"ToolkitStaggeredLoopError",
"ToolkitStatusError",
)
__version__ = "6.14.1"
__version__ = "6.14.2"
3 changes: 0 additions & 3 deletions indico_toolkit/auto_populate/__init__.py

This file was deleted.

Loading