Skip to content

Commit 669df36

Browse files
committed
prereqs
1 parent 3922556 commit 669df36

File tree

2 files changed

+41
-46
lines changed

2 files changed

+41
-46
lines changed
245 KB
Loading

articles/ai-services/openai/use-your-data-quickstart.md

Lines changed: 41 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -16,33 +16,48 @@ zone_pivot_groups: openai-use-your-data
1616

1717
# Quickstart: Chat with Azure OpenAI models using your own data
1818

19-
::: zone pivot="programming-language-spring"
19+
In this quickstart, you can use your own data with Azure OpenAI models. Using Azure OpenAI's models on your data can provide you with a powerful conversational AI platform that enables faster and more accurate communication.
2020

21-
[Source code](https://github.com/spring-projects-experimental/spring-ai)| [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai) | [Sample](https://github.com/rd-1-2022/ai-azure-retrieval-augmented-generation)
21+
::: zone pivot="programming-language-studio"
2222

23-
::: zone-end
2423

25-
::: zone pivot="programming-language-javascript"
24+
## Prerequisites
25+
26+
The following resources:
27+
- Azure OpenAI
28+
- [Azure Blob Storage](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM)
29+
- [Azure AI Search](https://portal.azure.com/#create/Microsoft.Search)
30+
- An [Azure OpenAI resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesOpenAI) deployed in a [supported region and with a supported model](./concepts/use-your-data.md#regional-availability-and-model-support).
31+
32+
> [!div class="nextstepaction"]
33+
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=OVERVIEW&Pillar=AOAI&Product=ownData&Page=quickstart&Section=Prerequisites)
2634
27-
[Reference documentation](https://platform.openai.com/docs/api-reference/chat) | [Source code](https://github.com/openai/openai-node) | [Package (npm)](https://www.npmjs.com/package/openai) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/samples)
35+
36+
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
37+
38+
[!INCLUDE [Studio quickstart](includes/use-your-data-studio.md)]
2839

2940
::: zone-end
3041

31-
::: zone pivot="programming-language-python"
42+
::: zone pivot="programming-language-csharp"
3243

33-
[Reference](https://platform.openai.com/docs/api-reference?lang=python) | [Source code](https://github.com/openai/openai-python) | [Package (pypi)](https://pypi.org/project/openai/) | [Samples](https://github.com/openai/openai-cookbook/)
44+
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
3445

35-
These links reference the OpenAI API for Python. There's no Azure-specific OpenAI Python SDK. [Learn how to switch between the OpenAI services and Azure OpenAI services](/azure/ai-services/openai/how-to/switching-endpoints).
46+
[!INCLUDE [Csharp quickstart](includes/use-your-data-dotnet.md)]
3647

3748
::: zone-end
3849

39-
::: zone pivot="programming-language-go"
50+
::: zone pivot="programming-language-spring"
4051

41-
[Reference](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go) | [Source code](https://github.com/Azure/azure-sdk-for-go) | [Package (Go)](https://pkg.go.dev/github.com/azure/azure-dev) | [Samples](https://github.com/azure-samples/azure-sdk-for-go-samples)
52+
[Source code](https://github.com/spring-projects-experimental/spring-ai)| [Source code](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai) | [Sample](https://github.com/rd-1-2022/ai-azure-retrieval-augmented-generation)
53+
54+
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
55+
56+
[!INCLUDE [Spring quickstart](includes/use-your-data-spring.md)]
4257

4358
::: zone-end
4459

45-
In this quickstart, you can use your own data with Azure OpenAI models. Using Azure OpenAI's models on your data can provide you with a powerful conversational AI platform that enables faster and more accurate communication.
60+
::: zone pivot="programming-language-javascript"
4661

4762
## Prerequisites
4863

@@ -59,6 +74,7 @@ In this quickstart, you can use your own data with Azure OpenAI models. Using Az
5974

6075
- Download the example data from [GitHub](https://github.com/Azure-Samples/cognitive-services-sample-data-files/blob/master/openai/contoso_benefits_document_example.pdf) if you don't have your own data.
6176

77+
6278
#### [JavaScript](#tab/javascript)
6379

6480
- An Azure subscription - <a href="https://azure.microsoft.com/free/cognitive-services" target="_blank">Create one for free</a>.
@@ -71,70 +87,49 @@ In this quickstart, you can use your own data with Azure OpenAI models. Using Az
7187

7288
---
7389

74-
::: zone pivot="programming-language-javascript"
75-
76-
77-
78-
- [Long Term Support (LTS) versions of Node.js](https://github.com/nodejs/release#release-schedule)
79-
80-
::: zone-end
81-
82-
The following resources:
83-
- Azure OpenAI
84-
- [Azure Blob Storage](https://portal.azure.com/#create/Microsoft.StorageAccount-ARM)
85-
- [Azure AI Search](https://portal.azure.com/#create/Microsoft.Search)
86-
- An [Azure OpenAI resource](https://portal.azure.com/#create/Microsoft.CognitiveServicesOpenAI) deployed in a [supported region and with a supported model](./concepts/use-your-data.md#regional-availability-and-model-support).
87-
88-
> [!div class="nextstepaction"]
89-
> [I ran into an issue with the prerequisites.](https://microsoft.qualtrics.com/jfe/form/SV_0Cl5zkG3CnDjq6O?PLanguage=OVERVIEW&Pillar=AOAI&Product=ownData&Page=quickstart&Section=Prerequisites)
90+
[Reference documentation](https://platform.openai.com/docs/api-reference/chat) | [Source code](https://github.com/openai/openai-node) | [Package (npm)](https://www.npmjs.com/package/openai) | [Samples](https://github.com/Azure/azure-sdk-for-js/tree/main/sdk/openai/openai/samples)
9091

9192

9293
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
9394

94-
::: zone pivot="programming-language-studio"
95-
96-
[!INCLUDE [Studio quickstart](includes/use-your-data-studio.md)]
97-
98-
::: zone-end
99-
100-
::: zone pivot="programming-language-csharp"
101-
102-
[!INCLUDE [Csharp quickstart](includes/use-your-data-dotnet.md)]
103-
104-
::: zone-end
105-
106-
::: zone pivot="programming-language-spring"
107-
108-
[!INCLUDE [Spring quickstart](includes/use-your-data-spring.md)]
95+
[!INCLUDE [JavaScript quickstart](includes/use-your-data-javascript.md)]
10996

11097
::: zone-end
11198

112-
::: zone pivot="programming-language-javascript"
99+
::: zone pivot="programming-language-python"
113100

114-
[!INCLUDE [JavaScript quickstart](includes/use-your-data-javascript.md)]
101+
[Reference](https://platform.openai.com/docs/api-reference?lang=python) | [Source code](https://github.com/openai/openai-python) | [Package (pypi)](https://pypi.org/project/openai/) | [Samples](https://github.com/openai/openai-cookbook/)
115102

116-
::: zone-end
103+
These links reference the OpenAI API for Python. There's no Azure-specific OpenAI Python SDK. [Learn how to switch between the OpenAI services and Azure OpenAI services](/azure/ai-services/openai/how-to/switching-endpoints).
117104

118-
::: zone pivot="programming-language-python"
105+
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
119106

120107
[!INCLUDE [Python quickstart](includes/use-your-data-python.md)]
121108

122109
::: zone-end
123110

124111
::: zone pivot="programming-language-powershell"
125112

113+
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
114+
126115
[!INCLUDE [PowerShell quickstart](includes/use-your-data-powershell.md)]
127116

128117
::: zone-end
129118

130119
::: zone pivot="programming-language-go"
131120

121+
[Reference](https://pkg.go.dev/github.com/Azure/azure-sdk-for-go) | [Source code](https://github.com/Azure/azure-sdk-for-go) | [Package (Go)](https://pkg.go.dev/github.com/azure/azure-dev) | [Samples](https://github.com/azure-samples/azure-sdk-for-go-samples)
122+
123+
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
124+
132125
[!INCLUDE [Go quickstart](includes/use-your-data-go.md)]
133126

134127
::: zone-end
135128

136129
::: zone pivot="rest-api"
137130

131+
[!INCLUDE [Connect your data to OpenAI](includes/connect-your-data-studio.md)]
132+
138133
[!INCLUDE [REST API quickstart](includes/use-your-data-rest.md)]
139134

140135
::: zone-end

0 commit comments

Comments
 (0)