Skip to content

Commit 316b2ac

Browse files
authored
Merge pull request #96269 from samuelraudabaugh/patch-1
Update sdk-python.md
2 parents 3cefb34 + a44b31c commit 316b2ac

File tree

1 file changed

+1
-1
lines changed
  • articles/cognitive-services/language-service/question-answering/includes

1 file changed

+1
-1
lines changed

articles/cognitive-services/language-service/question-answering/includes/sdk-python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ For information on how confident question answering is that this is the correct
103103
```python
104104
print("Q: {}".format(question))
105105
print("A: {}".format(output.answers[0].answer))
106-
print("Confidence Score: {}".format(output.answers[0].confidence_score)) # add this line
106+
print("Confidence Score: {}".format(output.answers[0].confidence)) # add this line
107107
```
108108

109109
You will now receive a result with a confidence score:

0 commit comments

Comments
 (0)