Skip to content

Commit 35f4a91

Browse files
author
Jill Grant
authored
Apply suggestions from code review
acrolinx fix
1 parent dfb371b commit 35f4a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/includes/prompt-completion.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ One simple way to use an affordance is to stop generation once the affordance ca
7676

7777
|Prompt|Completion|
7878
|------|----------|
79-
| `You will read a paragraph, extract factual claims, and then use search engine results to fact-check them`<br>`---`<br>`PARAGRAPH`<br>`John Smith is married to Lucy Smith. They have five kids, and he works as a software engineer at Microsoft. What search queries should I do to fact-check this?`<br>`---`<br>`FACTUAL CLAIMS`<br>`- John Smith is married to Lucy Smith`<br>`- John and Lucy have five kids`<br>`- John works as a software engineer at Microsoft`<br>`---`<br>`Here are various search queries issued to research the claims above:`<br>`SEARCH QUERIES`<br>`- John Smith married to Lucy Smith`<br>`- John Smith number of children`<br>`- John Smith software engineer Microsoft`<br>`---`<br>`Here are snippets of the search results:<br>SNIPPETS:`<br>`[1] … John Smith’s wedding was on September 25, 2012 …`<br>`[2] … John Smith was accompanied by his wife Lucy to a party`<br>`[3]John was accompanied to the soccer game by his two daughters and three sons`<br>`[4] … After spending 10 years at Microsoft, Smith founded his own startup, Tailspin Toys`<br>`5] John M is the town smith, and he married Fiona. They have a daughter named Lucy`<br>`---`<br>`Given the snippets, fact check each of the factual claims above:` | `- John Smith is married to Lucy Smith: Confirmed. Snippet [1] and [2] both mention John Smith's wife as Lucy.`<br>`- John and Lucy have five kids: Confirmed. Snippet [3] mentions that John was accompanied by his two daughters and three sons.`<br>`- John works as a software engineer at Microsoft: Partially confirmed. Snippet [4] mentions that John spent 10 years at Microsoft, but it does not explicitly state that he currently works there. Further research may be needed to confirm his current employment status.` |
79+
| `You will read a paragraph, extract factual claims, and then use search engine results to fact-check them`<br>`---`<br>`PARAGRAPH`<br>`John Smith is married to Lucy Smith. They have five kids, and he works as a software engineer at Microsoft. What search queries should I do to fact-check this?`<br>`---`<br>`FACTUAL CLAIMS`<br>`- John Smith is married to Lucy Smith`<br>`- John and Lucy have five kids`<br>`- John works as a software engineer at Microsoft`<br>`---`<br>`Here are various search queries issued to research the claims above:`<br>`SEARCH QUERIES`<br>`- John Smith married to Lucy Smith`<br>`- John Smith number of children`<br>`- John Smith software engineer Microsoft`<br>`---`<br>`Here are snippets of the search results:<br>SNIPPETS:`<br>`[1] … John Smith’s wedding was on September 25, 2012 …`<br>`[2] … John Smith was accompanied by his wife Lucy to a party`<br>`[3]John was accompanied to the soccer game by his two daughters and three sons`<br>`[4] … After spending 10 years at Microsoft, Smith founded his own startup, Tailspin Toys`<br>`5] John M is the town smith, and he married Fiona. They have a daughter named Lucy`<br>`---`<br>`Given the snippets, fact check each of the factual claims above:` | `- John Smith is married to Lucy Smith: Confirmed. Snippet [1] and [2] both mention John Smith's wife as Lucy.`<br>`- John and Lucy have five kids: Confirmed. Snippet [3] mentions that John was accompanied by his two daughters and three sons.`<br>`- John works as a software engineer at Microsoft: Partially confirmed. Snippet [4] mentions that John spent 10 years at Microsoft, but it does not explicitly state that he currently works there. Further research might be needed to confirm his current employment status.` |
8080

8181
## Chain of thought prompting
8282

0 commit comments

Comments
 (0)