You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Motivation and Context
UX
### Description
Small readme updates to help clarify a few things I questioned when
running this.
### Contribution Checklist
<!-- Before submitting this PR, please make sure: -->
- [x ] The code builds clean without any errors or warnings
- [ x] The PR follows the [Contribution
Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [x ] All unit tests pass, and I have added new tests where possible
- [x ] I didn't break anyone 😄
@@ -38,7 +39,13 @@ You will need the following items to run the sample:
38
39
39
40
1. Open PowerShell as an administrator.
40
41
> NOTE: Ensure that you have [PowerShell Core 6+](https://github.com/PowerShell/PowerShell) installed. This is different from the default PowerShell installed on Windows.
The following is a script to help you install the dependencies required. Feel free to install `dotnet`, `nodejs`, and `yarn` with your method of choice or use this script.
42
49
43
50
```powershell
44
51
cd <path to chat-copilot>\scripts\
@@ -49,23 +56,27 @@ You will need the following items to run the sample:
49
56
50
57
> NOTE: If you receive an error that the script is not digitally signed or cannot execute on the system, you may need to [change the execution policy](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3#change-the-execution-policy) (see list of [policies](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3#powershell-execution-policies) and [scopes](https://learn.microsoft.com/powershell/module/microsoft.powershell.core/about/about_execution_policies?view=powershell-7.3#execution-policy-scope)) or [unblock the script](https://learn.microsoft.com/powershell/module/microsoft.powershell.security/get-executionpolicy?view=powershell-7.3#example-4-unblock-a-script-to-run-it-without-changing-the-execution-policy).
-`API_KEY`: The `API key` for Azure OpenAI or for OpenAI.
60
-
-`AZURE_OPENAI_ENDPOINT`: The Azure OpenAI resource `Endpoint` address. Omit`-Endpoint` if using OpenAI.
67
+
-`AZURE_OPENAI_ENDPOINT`: The Azure OpenAI resource `Endpoint` address. This is only required when using Azure OpenAI, omit`-Endpoint` if using OpenAI.
61
68
62
-
-> **IMPORTANT:** For `AzureOpenAI`, if you deployed models `gpt-35-turbo` and `text-embedding-ada-002` with custom names (instead of each own's given name), also use the parameters:
69
+
-> **IMPORTANT:** For `AzureOpenAI`, if you deployed models `gpt-35-turbo` and `text-embedding-ada-002` with custom names (instead of the default names), also use the parameters:
The following is a script to help you install the dependencies required. Feel free to install `dotnet`, `nodejs`, and `yarn` with your method of choice or use this script.
88
105
89
106
```bash
90
107
cd<path to chat-copilot>/scripts/
@@ -106,7 +123,7 @@ You will need the following items to run the sample:
106
123
107
124
> NOTE: This script uses `homebrew` to install `dotnet-sdk`, `nodejs`, and `yarn`.
108
125
109
-
3. Configure Chat Copilot.
126
+
1. Configure Chat Copilot.
110
127
111
128
1. For OpenAI
112
129
@@ -128,7 +145,7 @@ You will need the following items to run the sample:
128
145
- `API_KEY`: The `API key`for Azure OpenAI.
129
146
130
147
**IMPORTANT:** If you deployed models `gpt-35-turbo` and `text-embedding-ada-002`
131
-
with custom names (instead of each own's given name), you need to specify
148
+
with custom names (instead of the default names), you need to specify
132
149
the deployment names with three additional parameters:
133
150
134
151
```bash
@@ -140,7 +157,9 @@ You will need the following items to run the sample:
140
157
--embeddingmodel {DEPLOYMENT_NAME}
141
158
```
142
159
143
-
4. Run Chat Copilot locally. This step starts both the backend API and frontend application.
160
+
`--plannermodel` will be the same name as `--completionmodel`
161
+
162
+
1. Run Chat Copilot locally. This step starts both the backend API and frontend application.
144
163
145
164
```bash
146
165
./start.sh
@@ -248,7 +267,7 @@ By default, Chat Copilot runs locally without authentication, using a guest user
248
267
249
268
- `AI_SERVICE`: `AzureOpenAI` or `OpenAI`.
250
269
- `API_KEY`: The `API key` for Azure OpenAI or for OpenAI.
251
-
- `AZURE_OPENAI_ENDPOINT`: The Azure OpenAI resource `Endpoint` address. Omit`-Endpoint`if using OpenAI.
270
+
- `AZURE_OPENAI_ENDPOINT`: The Azure OpenAI resource `Endpoint` address. This is only required when using Azure OpenAI, omit `-Endpoint` if using OpenAI.
252
271
- `FRONTEND_APPLICATION_ID`: The `Application (client) ID` associated with the application registration for the frontend.
253
272
- `BACKEND_APPLICATION_ID`: The `Application (client) ID` associated with the application registration for the backend.
0 commit comments