Skip to content

Commit

Permalink
Enable claim extraction by default (Azure-Samples#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
jgbradley1 authored Jul 1, 2024
1 parent 9d73b82 commit 164ac13
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 4 additions & 0 deletions backend/src/api/pipeline-settings.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,5 +83,9 @@ community_reports:
summarize_descriptions:
prompt: PLACEHOLDER

# claim extraction is disabled by default in the graphrag library so we enable it for the solution accelerator
claim_extraction:
enabled: True

snapshots:
graphml: True
7 changes: 3 additions & 4 deletions notebooks/2-Advanced_Getting_Started.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -852,8 +852,7 @@
"id": "46",
"metadata": {},
"source": [
"#### Get a Claim\n",
"Note: claims are supported only if the solution accelerator deployment was initially configured to enable claims."
"#### Get a Claim"
]
},
{
Expand Down Expand Up @@ -891,7 +890,7 @@
"outputs": [],
"source": [
"# get a text unit id from one of the previous Source endpoint results (look for 'text_units' in the response)\n",
"text_unit_id = \"a1ea6b4d13016fa863f4d76a0dd532e3\"\n",
"text_unit_id = \"\"\n",
"if not text_unit_id:\n",
" raise ValueError(\n",
" \"Must provide a text_unit_id from previous source results. Look for 'text_units' in the response.\"\n",
Expand Down Expand Up @@ -971,7 +970,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.13"
"version": "3.10.14"
}
},
"nbformat": 4,
Expand Down

0 comments on commit 164ac13

Please sign in to comment.