Commit 6e80363
MedicalCodingPipeline and SummarizationPipeline implementations (#95)
* Added connector modules
* Fix typo
* Added processing of io connectors in pipelines
* Refactored CDA related processing in use case to connectors
* Added tests
* Added CdsFhirConnector
* first pass at adding spacy and hf integrations
* Updated use case functions and tests
* WIP connector usage in pipelines and components
* Fix model import name in docs
* Update Bundle validator method to dynamically import nested resource types
* Update CdsFhirConnector input method validations
* Add create method to CdsFhirData
* Fixed CdsResponse should return list of actions
* Added tests
* Added pipeline tests
* fix pyproject
* adding langchain and modifying document
* added testing
* Changed .add() -> .add_node() to make more explicit and use convention of BaseObject and base.py in modules
* Update documentation to reflect changes in this PR
* adding docs
* finish docs
* fix test
* fix test2
* WIP
* skip transformers test
* fix tests
* adding magicmock for iterable
* respond to feedback
* Refactor and update document container and ccddata design
* Fix tests
* Add docstrings
* Replace Model with ModelRouter
* Fix docs ci
* Add method to add concepts in spacy component
* Refactor Document container
* Update pipeline load method to dynamically read from string paths
* Fix tests
* Change load method to use source parameter
* Renamed integration components
* Remove spacy from preprocessor component and allow callable instead
* Pass kwargs to integration components
* Added CdsCardCreator implementation
* Updated tests for prebuilt pipelines
* Added tests for pipeline loading method and modelrouter
* Update test for spacy integration
* Tweak fixture
* Use Mixin for ModelRouter
* Clean up __init__ imports
* Fix resourceType not showing up by explicitly passing it in when called in data generator
* Parse text from DocumentReference in cdsfhir
* Add delimiter to create multiple cards and basic text cleaner for templates to card reader
* Make model loading more explicit and added langchain routing
* Update prebuilt pipeline initialization methods
* Update tests
* Added cookbook
* Moved default mapping initialization inside data generator
* Split .load method to from_model_id and from_local_model and added template path as init option
* Update tests and docs
* Tidy up docstrings and .load usage
* Update tests
* Update documentation
* Add cookbook examples
* Update dependencies
---------
Co-authored-by: Adam Kells <[email protected]>1 parent 0bd1fd2 commit 6e80363
File tree
79 files changed
+4009
-1614
lines changed- cookbook
- data
- templates
- docs
- api
- cookbook
- reference/pipeline
- components
- integrations
- models
- prebuilt_pipelines
- healthchain
- clients
- data_generators
- io
- containers
- models/data
- pipeline
- components
- use_cases
- tests
- components
- generators_tests
- pipeline
- prebuilt
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
79 files changed
+4009
-1614
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
| 23 | + | |
22 | 24 | | |
23 | 25 | | |
24 | 26 | | |
| |||
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
43 | | - | |
| 45 | + | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
| |||
50 | 52 | | |
51 | 53 | | |
52 | 54 | | |
53 | | - | |
54 | | - | |
| 55 | + | |
| 56 | + | |
55 | 57 | | |
56 | 58 | | |
57 | 59 | | |
| |||
68 | 70 | | |
69 | 71 | | |
70 | 72 | | |
71 | | - | |
| 73 | + | |
72 | 74 | | |
73 | 75 | | |
74 | 76 | | |
| |||
96 | 98 | | |
97 | 99 | | |
98 | 100 | | |
99 | | - | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
100 | 108 | | |
101 | 109 | | |
102 | 110 | | |
| |||
129 | 137 | | |
130 | 138 | | |
131 | 139 | | |
132 | | - | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
133 | 143 | | |
134 | 144 | | |
135 | 145 | | |
| |||
162 | 172 | | |
163 | 173 | | |
164 | 174 | | |
165 | | - | |
| 175 | + | |
| 176 | + | |
| 177 | + | |
166 | 178 | | |
167 | 179 | | |
168 | 180 | | |
| |||
192 | 204 | | |
193 | 205 | | |
194 | 206 | | |
| 207 | + | |
195 | 208 | | |
196 | 209 | | |
197 | | - | |
198 | 210 | | |
199 | 211 | | |
200 | 212 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | | - | |
6 | 6 | | |
| 7 | + | |
0 commit comments