-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add CSV fixtures based on the test novel (#7)
* update test novel * test data update * update test path name * add more test fixtures * Unit test updates * only emit full configs in debug mode * update fixture paths * update argument order * update fixture paths * remove settings.yaml from text example * update skip print * only inspect the latest output * add json_parsing_llm function for handling cached outputs that need json parsing * streamline top-level run usage * json-parsing llm build updates * streamline run_pipeline_with_config call pattern in examples * skip data assertions on loaded_csv until the null-filtering for vectors lands * fixture update
- Loading branch information
1 parent
b08f3d7
commit 2b162b0
Showing
15 changed files
with
2,271 additions
and
126 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
72 changes: 36 additions & 36 deletions
72
...ocsite/_posts/_query/notebooks/inputs/operation dulce/Operation Dulce v2 1 1.md
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,183 @@ | ||
{ | ||
"input_path": "./tests/fixtures/min-csv", | ||
"input_type": "text", | ||
"workflow_config": { | ||
"create_base_text_units": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 11, | ||
"max_runtime": 10 | ||
}, | ||
"create_base_extracted_entities": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 2, | ||
"max_runtime": 300 | ||
}, | ||
"create_final_covariates": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"nan_allowed_columns": [ | ||
"type", | ||
"description", | ||
"subject_type", | ||
"object_id", | ||
"object_type", | ||
"status", | ||
"start_date", | ||
"end_date", | ||
"source_text" | ||
], | ||
"subworkflows": 5, | ||
"max_runtime": 300 | ||
}, | ||
"create_summarized_entities": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 1, | ||
"max_runtime": 300 | ||
}, | ||
"join_text_units_to_covariate_ids": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 2, | ||
"max_runtime": 10 | ||
}, | ||
"create_base_entity_graph": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 2, | ||
"max_runtime": 10 | ||
}, | ||
"create_final_entities": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"nan_allowed_columns": [ | ||
"type", | ||
"description", | ||
"graph_embedding" | ||
], | ||
"subworkflows": 10, | ||
"max_runtime": 300 | ||
}, | ||
"create_final_relationships": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 4, | ||
"max_runtime": 100 | ||
}, | ||
"create_final_nodes": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"nan_allowed_columns": [ | ||
"entity_type", | ||
"description", | ||
"graph_embedding", | ||
"community", | ||
"_raw_level_" | ||
], | ||
"subworkflows": 11, | ||
"max_runtime": 10 | ||
}, | ||
"create_final_communities": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 14, | ||
"max_runtime": 10 | ||
}, | ||
"create_final_community_reports": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"nan_allowed_columns": [ | ||
"community_id", | ||
"title", | ||
"summary", | ||
"full_content", | ||
"full_content_json", | ||
"rank", | ||
"rank_explanation", | ||
"findings" | ||
], | ||
"subworkflows": 6, | ||
"max_runtime": 300 | ||
}, | ||
"join_text_units_to_entity_ids": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 3, | ||
"max_runtime": 10 | ||
}, | ||
"join_text_units_to_relationship_ids": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 4, | ||
"max_runtime": 10 | ||
}, | ||
"create_final_text_units": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"nan_allowed_columns": [ | ||
"relationship_ids", | ||
"entity_ids" | ||
], | ||
"subworkflows": 8, | ||
"max_runtime": 100 | ||
}, | ||
"create_base_documents": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 8, | ||
"max_runtime": 10 | ||
}, | ||
"create_final_documents": { | ||
"row_range": [ | ||
1, | ||
2000 | ||
], | ||
"subworkflows": 1, | ||
"max_runtime": 100 | ||
} | ||
}, | ||
"query_config": [ | ||
{ | ||
"query": "Who is Agent Alex Mercer and what are his goals?", | ||
"method": "local" | ||
}, | ||
{ | ||
"query": "What is the major conflict in this story and who are the protagonist and antagonist?", | ||
"method": "global" | ||
} | ||
|
||
], | ||
"slow": false | ||
} |
File renamed without changes.
Oops, something went wrong.