From 37011058534744337ae2d9c05df17b5b38c94b28 Mon Sep 17 00:00:00 2001 From: Shayne Boyer Date: Fri, 26 Apr 2024 15:09:57 -0400 Subject: [PATCH] save program.cs --- src/eShop.AppHost/Program.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/eShop.AppHost/Program.cs b/src/eShop.AppHost/Program.cs index 62726fc..3cae7f8 100644 --- a/src/eShop.AppHost/Program.cs +++ b/src/eShop.AppHost/Program.cs @@ -78,12 +78,12 @@ .WithReference(appInsights); // set to true if you want to use OpenAI -bool useOpenAI = Convert.ToBoolean(builder.Configuration["USEOPENAI"]); +bool useOpenAI = true; if (useOpenAI) { const string openAIName = "openai"; - const string textEmbeddingName = "text-embedding-ada-002"; - const string chatModelName = "gpt-35-turbo-16k"; + const string textEmbeddingName = "shboyer-text-emdedding-ada-002"; + const string chatModelName = "shboyer-gpt35deployment"; // to use an existing OpenAI resource, add the following to the AppHost user secrets: // "ConnectionStrings": {