Skip to content

Commit 792b6c1

Browse files
Merge pull request #54321 from GraemeMalcolm/main
Minor typo
2 parents 0acb7ad + c2ecdde commit 792b6c1

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

learn-pr/wwl-data-ai/foundry-sdk/includes/05-openai-api.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
The OpenAI *ChatCompletions* API is commonly used across generative AI models and platforms. Although the *Responses* API is recommended for new project development, it's likely that you'll encounter scenarios where the *ChatCompletions* API is useful for code maintenance of cross-platform compatibility.
1+
The OpenAI *ChatCompletions* API is commonly used across generative AI models and platforms. Although the *Responses* API is recommended for new project development, it's likely that you'll encounter scenarios where the *ChatCompletions* API is useful for code maintenance or cross-platform compatibility.
22

33
## Submitting a prompt
44

@@ -18,7 +18,7 @@ print(completion.choices[0].message.content)
1818

1919
## Retaining conversational context
2020

21-
Unlike the *Responses* API, the *ChatCompletins* API doesn't provide a stateful response tracking feature. To retain conversational context, you must write code to manually track previous prompts and responses.
21+
Unlike the *Responses* API, the *ChatCompletions* API doesn't provide a stateful response tracking feature. To retain conversational context, you must write code to manually track previous prompts and responses.
2222

2323
```python
2424
# Initial messages

0 commit comments

Comments
 (0)