Skip to content

Commit b446ac4

Browse files
authored
Merge pull request #120018 from hyoshioka0128/patch-791
Typo "Azure Open AI"→"Azure OpenAI"
2 parents 2781e18 + 358c8c2 commit b446ac4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

articles/ai-studio/how-to/generate-data-qa.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ pip3 install azure-identity azure-ai-generative
2727
pip3 install wikipedia langchain nltk unstructured
2828
```
2929

30-
## Connect to Azure Open AI
30+
## Connect to Azure OpenAI
3131

32-
We need to connect to Azure Open AI so that we can access the LLM to generate data for us.
32+
We need to connect to Azure OpenAI so that we can access the LLM to generate data for us.
3333

3434
```python
3535
from azure.ai.resources.client import AIClient
@@ -175,7 +175,7 @@ To use the `generated_qa.jsonl` file for evaluation, you need to add this file a
175175

176176
## Generate data from files
177177

178-
Generating data from files might be more practical for large amounts of data. You can use the `generate_async()` function OF THE `QADataGenerator` to make concurrent requests to Azure Open AI for generating data from files.
178+
Generating data from files might be more practical for large amounts of data. You can use the `generate_async()` function OF THE `QADataGenerator` to make concurrent requests to Azure OpenAI for generating data from files.
179179

180180
Files might have large texts that go beyond model's context lengths. They need to be split to create smaller chunks. Moreover, they shouldn't be split mid-sentence. Such partial sentences might lead to improper QA samples. You can use LangChain's `NLTKTextSplitter` to split the files before generating data.
181181

0 commit comments

Comments
 (0)