Skip to content

Commit f0deb37

Browse files
Merge pull request #235575 from dereklegenzoff/patch-6
fixing json formatting
2 parents f55d6df + d149446 commit f0deb37

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

articles/cognitive-services/openai/includes/prompt-chat-completion.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,11 @@ Some other examples of system messages are:
3434
- “You are an assistant designed to extract entities from text. Users will paste in a string of text and you will respond with entities you've extracted from the text as a JSON object. Here's an example of your output format:
3535

3636
```json
37-
{ "name": "",
37+
{
38+
"name": "",
3839
"company": "",
39-
"phone_number": ""}
40+
"phone_number": ""
41+
}
4042
```
4143

4244
An important detail to understand is that even if you instruct a model in the system message to answer **I don't know** when unsure of an answer this does not guarantee that the request will be honored. A well designed system message can increase the likelihood of a certain outcome, but it is still possible that an incorrect response could be generated that contradicts the intent of the instruction in the system message.
@@ -164,4 +166,4 @@ Here is an example where the system is provided a [recent blog describing the la
164166

165167
* [Learn more about Azure OpenAI](../overview.md).
166168
* Get started with the ChatGPT model with [the ChatGPT quickstart](../chatgpt-quickstart.md).
167-
* For more examples, check out the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples)
169+
* For more examples, check out the [Azure OpenAI Samples GitHub repository](https://github.com/Azure/openai-samples)

0 commit comments

Comments
 (0)