|
2 | 2 | title: Azure OpenAI Extension for Azure Functions
|
3 | 3 | description: Learn to configure the Azure OpenAI extension to be able to integrate your Azure Functions code executions with Azure OpenAI APIs.
|
4 | 4 | ms.topic: reference
|
5 |
| -ms.date: 05/07/2024 |
| 5 | +ms.date: 05/14/2024 |
6 | 6 | zone_pivot_groups: programming-languages-set-functions
|
7 | 7 | ---
|
8 | 8 |
|
@@ -33,45 +33,34 @@ The extension NuGet package you install depends on the C# mode [in-process](func
|
33 | 33 |
|
34 | 34 | ### [Isolated process](#tab/isolated-process)
|
35 | 35 |
|
36 |
| -Add the extension to your project by installing the [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI). |
| 36 | +Add the Azure OpenAI extension to your project by installing the [Microsoft.Azure.Functions.Worker.Extensions.OpenAI](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI) NuGet package, which you can do using the .NET CLI: |
37 | 37 |
|
38 |
| -If you are using a vector database for content, install one of the following: |
39 |
| - |
40 |
| -Azure AI Search [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI.AzureAISearch) |
41 |
| - |
42 |
| -Azure Cosmos DB for MongoDB [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI.CosmosDBSearch) |
43 |
| - |
44 |
| -Azure Data Explorer [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI.Kusto) |
45 |
| - |
46 |
| - |
47 |
| -Using the .NET CLI: |
48 |
| - |
49 |
| -```dotnetcli |
| 38 | +```dotnet |
50 | 39 | dotnet add package Microsoft.Azure.Functions.Worker.Extensions.OpenAI --prerelease
|
51 |
| -``` |
| 40 | +``` |
| 41 | +When using a vector database for storing content, you should also install at least one of these NuGet packages: |
52 | 42 |
|
53 |
| -### [In-process](#tab/in-process) |
| 43 | ++ Azure AI Search: [Microsoft.Azure.Functions.Worker.Extensions.OpenAI.AzureAISearch](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI.AzureAISearch) |
| 44 | ++ Azure Cosmos DB for MongoDB: [Microsoft.Azure.Functions.Worker.Extensions.OpenAI.CosmosDBSearch](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI.CosmosDBSearch) |
| 45 | ++ Azure Data Explorer: [Microsoft.Azure.Functions.Worker.Extensions.OpenAI.Kusto](https://www.nuget.org/packages/Microsoft.Azure.Functions.Worker.Extensions.OpenAI.Kusto) |
54 | 46 |
|
55 |
| -This extension is available by installing the [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI). |
56 |
| - |
57 |
| -If you are using a vector database for content, install one of the following: |
| 47 | +### [In-process](#tab/in-process) |
58 | 48 |
|
59 |
| -Azure AI Search [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI.AzureAISearch) |
| 49 | +Add the Azure OpenAI extension to your project by installing the [Microsoft.Azure.WebJobs.Extensions.OpenAI](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI) NuGet package, which you can do using the .NET CLI: |
60 | 50 |
|
61 |
| -Azure Cosmos DB for MongoDB [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI.CosmosDBSearch) |
| 51 | +```dotnet |
| 52 | +dotnet add package Microsoft.Azure.WebJobs.Extensions.OpenAI --prerelease |
| 53 | +``` |
62 | 54 |
|
63 |
| -Azure Data Explorer [NuGet package](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI.Kusto) |
| 55 | +When using a vector database for storing content, you should also install at least one of these NuGet packages: |
64 | 56 |
|
65 |
| -Using the .NET CLI: |
66 |
| - |
67 |
| -```dotnetcli |
68 |
| -dotnet add package Microsoft.Azure.WebJobs.Extensions.OpenAI --prerelease |
69 |
| -``` |
| 57 | ++ Azure AI Search: [Microsoft.Azure.WebJobs.Extensions.OpenAI.AzureAISearch](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI.AzureAISearch) |
| 58 | ++ Azure Cosmos DB for MongoDB: [Microsoft.Azure.WebJobs.Extensions.OpenAI.CosmosDBSearch](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI.CosmosDBSearch) |
| 59 | ++ Azure Data Explorer: [Microsoft.Azure.WebJobs.Extensions.OpenAI.Kusto](https://www.nuget.org/packages/Microsoft.Azure.WebJobs.Extensions.OpenAI.Kusto) |
70 | 60 |
|
71 | 61 | ---
|
72 | 62 |
|
73 | 63 | ::: zone-end
|
74 |
| - |
75 | 64 | ::: zone pivot="programming-language-java,programming-language-javascript,programming-language-typescript,programming-language-powershell,programming-language-python"
|
76 | 65 |
|
77 | 66 | ## Install bundle
|
|
0 commit comments