mirror of
https://github.com/microsoft/graphrag.git
synced 2026-01-14 09:07:20 +08:00
Fix/entity extraction strategy (#1046)
* fix strategy config in entity_extraction * update init content --------- Co-authored-by: KylinMountain <kose2livs@gmail.com>
This commit is contained in:
parent
ee734e6003
commit
480181769c
@ -0,0 +1,4 @@
|
||||
{
|
||||
"type": "patch",
|
||||
"description": "fix strategy config in entity_extraction"
|
||||
}
|
||||
@ -429,6 +429,7 @@ def create_graphrag_config(
|
||||
or defs.ENTITY_EXTRACTION_ENTITY_TYPES,
|
||||
max_gleanings=max_gleanings,
|
||||
prompt=reader.str("prompt", Fragment.prompt_file),
|
||||
strategy=entity_extraction_config.get("strategy"),
|
||||
encoding_model=reader.str(Fragment.encoding_model),
|
||||
)
|
||||
|
||||
|
||||
@ -89,6 +89,8 @@ reporting:
|
||||
# container_name: <azure_blob_storage_container_name>
|
||||
|
||||
entity_extraction:
|
||||
## strategy: fully override the entity extraction strategy.
|
||||
## type: one of graph_intelligence, graph_intelligence_json and nltk
|
||||
## llm: override the global llm settings for this task
|
||||
## parallelization: override the global parallelization settings for this task
|
||||
## async_mode: override the global async_mode settings for this task
|
||||
|
||||
Loading…
Reference in New Issue
Block a user