mirror of
https://github.com/microsoft/graphrag.git
synced 2026-02-08 12:12:59 +08:00
* Set up base assertions * Replace entity_extract * Finish collapsing workflow * Semver * Update snoke tests
156 lines
3.9 KiB
JSON
156 lines
3.9 KiB
JSON
{
|
|
"input_path": "./tests/fixtures/text",
|
|
"input_file_type": "text",
|
|
"workflow_config": {
|
|
"create_base_text_units": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 10
|
|
},
|
|
"create_base_extracted_entities": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 300
|
|
},
|
|
"create_final_covariates": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"nan_allowed_columns": [
|
|
"type",
|
|
"description",
|
|
"object_id",
|
|
"status",
|
|
"start_date",
|
|
"end_date",
|
|
"source_text"
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 300
|
|
},
|
|
"create_summarized_entities": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 300
|
|
},
|
|
"create_base_entity_graph": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 10
|
|
},
|
|
"create_final_entities": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"nan_allowed_columns": [
|
|
"type",
|
|
"description",
|
|
"graph_embedding"
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 300
|
|
},
|
|
"create_final_relationships": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 100
|
|
},
|
|
"create_final_nodes": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"nan_allowed_columns": [
|
|
"entity_type",
|
|
"description",
|
|
"graph_embedding",
|
|
"community",
|
|
"level"
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 10
|
|
},
|
|
"create_final_communities": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"subworkflows": 1,
|
|
"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": 1,
|
|
"max_runtime": 300
|
|
},
|
|
"create_final_text_units": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"nan_allowed_columns": [
|
|
"relationship_ids",
|
|
"entity_ids"
|
|
],
|
|
"subworkflows": 1,
|
|
"max_runtime": 100
|
|
},
|
|
"create_base_documents": {
|
|
"row_range": [
|
|
1,
|
|
2000
|
|
],
|
|
"subworkflows": 1,
|
|
"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
|
|
} |