Skip to content

Commit 1762975

Browse files
coolcshnje
andauthored
change from https to http and model update (Azure-Samples#119)
## Purpose Changed the readme to use http for local usage so it works properly on DevContainers and Linux when there is not SSL cert on the machine. Also updated the readme to reflect the sample uses Turbo and not Davinci. ## Does this introduce a breaking change? [ ] Yes [X ] No ## Pull Request Type What kind of change does this Pull Request introduce? [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ X] Documentation content changes [ ] Other... Please describe: ``` ## How to Test * Get the code ``` git clone [repo-address] cd [repo-name] git checkout [branch-name] npm install ``` * Test the code <!-- Add steps to run the tests suite and/or manually test --> ``` ``` ## What to Check Verify that the following are valid * ... ## Other Information <!-- Add any other helpful information that may be needed here. --> Co-authored-by: Scott Hunter <[email protected]>
1 parent 0760cb0 commit 1762975

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ You can run this repo virtually by using GitHub Codespaces or VS Code Remote Con
6565
1. Create a new folder and switch to it in the terminal
6666
1. Run `azd auth login`
6767
1. Run `azd init -t azure-search-openai-demo-csharp`
68-
* For the target location, the regions that currently support the models used in this sample are **East US** or **South Central US**. For an up-to-date list of regions and models, check [here](https://learn.microsoft.com/azure/cognitive-services/openai/concepts/models)
68+
* For the target location, the regions that currently support the model used in this sample are **East US** or **South Central US**. For an up-to-date list of regions and models, check [here](https://learn.microsoft.com/azure/cognitive-services/openai/concepts/models)
6969

7070
#### Starting from scratch
7171

@@ -74,7 +74,7 @@ Execute the following command, if you don't have any pre-existing Azure services
7474
1. Run `azd up` - This will provision Azure resources and deploy this sample to those resources, including building the search index based on the files found in the `./data` folder.
7575

7676
> **Note**<br>
77-
> This application uses the `text-davinci-003` and `gpt-35-turbo` models. When choosing which region to deploy to, make sure they're available in that region (i.e. EastUS). For more information, see the [Azure OpenAI Service documentation](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/concepts/models#gpt-3-models-1).
77+
> This application uses the `gpt-35-turbo` model. When choosing which region to deploy to, make sure they're available in that region (i.e. EastUS). For more information, see the [Azure OpenAI Service documentation](https://learn.microsoft.com/en-us/azure/cognitive-services/openai/concepts/models#gpt-3-models-1).
7878
7979
1. After the application has been successfully deployed you will see a URL printed to the console. Click that URL to interact with the application in your browser.
8080

@@ -138,10 +138,10 @@ It will look like the following:
138138
1. Run the following .NET CLI command to start the ASP.NET Core Minimal API server (client host):
139139

140140
```dotnetcli
141-
dotnet run --project ./app/backend/MinimalApi.csproj --urls=https://localhost:7181/
141+
dotnet run --project ./app/backend/MinimalApi.csproj --urls=http://localhost:7181/
142142
```
143143

144-
Navigate to <https://localhost:7181>, and test out the app.
144+
Navigate to <http://localhost:7181>, and test out the app.
145145

146146
#### Sharing Environments
147147

@@ -159,7 +159,7 @@ Run `azd down`
159159
### Quickstart
160160

161161
* In Azure: navigate to the Azure Static Web App deployed by `azd`. The URL is printed out when `azd` completes (as "Endpoint"), or you can find it in the Azure portal.
162-
* When running locally, navigate to <https://localhost:7181> for the client app and <https://localhost:7181/swagger> for the Open API server page.
162+
* When running locally, navigate to <http://localhost:7181> for the client app and <http://localhost:7181/swagger> for the Open API server page.
163163

164164
Once in the web app:
165165

0 commit comments

Comments
 (0)