Spaces:
Runtime error
Runtime error
File size: 1,374 Bytes
e331e72 |
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 68 69 70 71 72 73 |
input:
file_type: text
base_dir: ../../fixtures/min-csv
file_pattern: .*\.txt$
storage:
type: memory
cache:
type: memory
workflows:
- name: create_base_text_units
config:
text_chunk:
strategy:
type: sentence
# Just lump everything together
chunk_by: []
- name: create_base_extracted_entities
config:
graphml_snapshot: True
entity_extract:
strategy:
type: nltk
- name: create_base_entity_graph
config:
graphml_snapshot: True
embed_graph_enabled: True
cluster_graph:
strategy:
type: leiden
verbose: True
- name: create_final_nodes
- name: create_base_documents
# - name: create_final_community_reports
# config:
# create_community_reports:
# <<: *llm_parallel_config
# strategy:
# type: graph_intelligence
# llm: *llm_config
- name: create_final_communities
- name: create_final_text_units
config:
text_embed:
strategy:
type: mock
- name: create_final_entities
config:
text_embed:
strategy:
type: mock
- name: create_final_documents
config:
text_embed:
strategy:
type: mock
- name: create_final_relationships
config:
text_embed:
strategy:
type: mock
|