mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 09:07:20 +08:00
114 lines
2.8 KiB
JSON
114 lines
2.8 KiB
JSON
{
|
|
"input_path": "./tests/fixtures/text",
|
|
"input_file_type": "text",
|
|
"workflow_config": {
|
|
"create_base_text_units": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"max_runtime": 150,
|
|
"expected_artifacts": 0
|
|
},
|
|
"extract_graph": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"max_runtime": 500,
|
|
"expected_artifacts": 2
|
|
},
|
|
"extract_covariates": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"nan_allowed_columns": [
|
|
"type",
|
|
"description",
|
|
"object_id",
|
|
"status",
|
|
"start_date",
|
|
"end_date",
|
|
"source_text"
|
|
],
|
|
"max_runtime": 300,
|
|
"expected_artifacts": 1
|
|
},
|
|
"create_communities": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"max_runtime": 150,
|
|
"expected_artifacts": 1
|
|
},
|
|
"create_community_reports": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"nan_allowed_columns": [
|
|
"title",
|
|
"summary",
|
|
"full_content",
|
|
"full_content_json",
|
|
"rank",
|
|
"rank_explanation",
|
|
"findings",
|
|
"period",
|
|
"size"
|
|
],
|
|
"max_runtime": 300,
|
|
"expected_artifacts": 1
|
|
},
|
|
"create_final_text_units": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"nan_allowed_columns": [
|
|
"relationship_ids",
|
|
"entity_ids"
|
|
],
|
|
"max_runtime": 150,
|
|
"expected_artifacts": 1
|
|
},
|
|
"create_final_documents": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"max_runtime": 150,
|
|
"expected_artifacts": 1
|
|
},
|
|
"generate_text_embeddings": {
|
|
"row_range": [
|
|
1,
|
|
2500
|
|
],
|
|
"max_runtime": 150,
|
|
"expected_artifacts": 1
|
|
}
|
|
},
|
|
"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"
|
|
},
|
|
{
|
|
"query": "What is the main theme of the story?",
|
|
"method": "drift"
|
|
},
|
|
{
|
|
"query": "Who is Jordan Hayes?",
|
|
"method": "basic"
|
|
}
|
|
],
|
|
"slow": false
|
|
}
|