Skip to content

Commit

Permalink
rm duplicates
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyaspimpalgaonkar committed Oct 4, 2024
1 parent 67ca1a3 commit 772a77e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions py/core/main/orchestration/hatchet/kg_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@ class KGExtractDescribeEmbedWorkflow:
def __init__(self, kg_service: KgService):
self.kg_service = kg_service

@orchestration_provider.concurrency(max_runs=10, limit_strategy=ConcurrencyLimitStrategy.GROUP_ROUND_ROBIN)
def concurrency(self, context) -> str:
return str(context.workflow_input()["request"]["collection_id"])

@orchestration_provider.concurrency(
max_runs=orchestration_provider.config.kg_creation_concurrency_limit,
limit_strategy=ConcurrencyLimitStrategy.GROUP_ROUND_ROBIN,
Expand Down
2 changes: 1 addition & 1 deletion py/r2r.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ batch_size = 256
fragment_merge_count = 4 # number of fragments to merge into a single extraction
max_knowledge_triples = 100
max_description_input_length = 1024
generation_config = { model = "azure/gpt-4o-mini" } # and other params, model used for triplet extraction
generation_config = { model = "openai/gpt-4o-mini" } # and other params, model used for triplet extraction

[kg.kg_enrichment_settings]
community_reports_prompt = "graphrag_community_reports_prompt"
Expand Down

0 comments on commit 772a77e

Please sign in to comment.