Skip to content

Commit

Permalink
save program.cs
Browse files Browse the repository at this point in the history
  • Loading branch information
spboyer committed Apr 26, 2024
1 parent 126158f commit 3701105
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/eShop.AppHost/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down

0 comments on commit 3701105

Please sign in to comment.