Skip to content

Commit 7f32c1b

Browse files
authored
Update to SK 1 beta 7 (microsoft#626)
### Motivation and Context Getting the latest and greatest ### Description Update nugets ### Contribution Checklist - [ ] The code builds clean without any errors or warnings - [ ] 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 - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone 😄
1 parent 5dd809f commit 7f32c1b

File tree

11 files changed

+31
-31
lines changed

11 files changed

+31
-31
lines changed

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
**NOTE**: This is a **sample** application to help you understand how Semantic Kernel and AI can work in Web Applications. This sample is **NOT FOR PRODUCTION** deployments.
1+
**NOTE**: This is a **sample** application to help you understand how Semantic Kernel and AI can work in Web Applications. This sample is **NOT FOR PRODUCTION** deployments.
22

33
# Chat Copilot Sample Application
44

@@ -30,7 +30,7 @@ You will need the following items to run the sample:
3030
| AI Service | Requirement |
3131
| ------------ | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
3232
| Azure OpenAI | - [Access](https://aka.ms/oai/access)<br>- [Resource](https://learn.microsoft.com/azure/ai-services/openai/how-to/create-resource?pivots=web-portal#create-a-resource)<br>- [Deployed models](https://learn.microsoft.com/azure/ai-services/openai/how-to/create-resource?pivots=web-portal#deploy-a-model) (`gpt-35-turbo` and `text-embedding-ada-002`) <br>- [Endpoint](https://learn.microsoft.com/azure/ai-services/openai/tutorials/embeddings?tabs=command-line#retrieve-key-and-endpoint)<br>- [API key](https://learn.microsoft.com/azure/ai-services/openai/tutorials/embeddings?tabs=command-line#retrieve-key-and-endpoint) |
33-
| OpenAI | - [Account](https://platform.openai.com)<br>- [API key](https://platform.openai.com/account/api-keys) |
33+
| OpenAI | - [Account](https://platform.openai.com/docs/overview)<br>- [API key](https://platform.openai.com/api-keys) |
3434

3535
# Instructions
3636

@@ -280,7 +280,7 @@ By default, Chat Copilot runs locally without authentication, using a guest user
280280

281281
2. **_Issue:_**: Challenges using text completion models, such as `text-davinci-003`
282282

283-
_Solution_: For OpenAI, see [model endpoint compatibility](https://platform.openai.com/docs/models/model-endpoint-compatibility) for
283+
_Solution_: For OpenAI, see [model endpoint compatibility](https://platform.openai.com/docs/models/) for
284284
the complete list of current models supporting chat completions. For Azure OpenAI, see [model summary table and region availability](https://learn.microsoft.com/azure/ai-services/openai/concepts/models#model-summary-table-and-region-availability).
285285

286286
3. **_Issue:_** Localhost SSL certificate errors / CORS errors

integration-tests/ChatCopilotIntegrationTests.csproj

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.Extensions.Configuration" Version="7.0.0" />
13-
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="7.0.0" />
14-
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="7.0.0" />
15-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="7.0.0" />
16-
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="7.0.0" />
12+
<PackageReference Include="Microsoft.Extensions.Configuration" Version="8.0.0" />
13+
<PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="8.0.0" />
14+
<PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="8.0.0" />
15+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
16+
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="8.0.0" />
1717
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="17.8.0" />
1818
<PackageReference Include="xunit" Version="2.6.1" />
1919
<PackageReference Include="xunit.runner.visualstudio" Version="2.5.3">

memorypipeline/CopilotChatMemoryPipeline.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515

1616
<ItemGroup>
1717
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
18-
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.8.231113.1-preview" />
19-
<PackageReference Include="Microsoft.SemanticKernel" Version="1.0.0-beta6" />
18+
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.10.231116.1-preview" />
19+
<PackageReference Include="Microsoft.SemanticKernel" Version="1.0.0-beta7" />
2020
</ItemGroup>
2121

2222
</Project>

plugins/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Read more about plugin authentication here: [Plugin authentication](https://plat
2828
### Prerequisites
2929

3030
1. The name of your plugin. This should be identical to the `NameForHuman` in your plugin manifest.
31-
> Please refer to OpenAI for the [manifest requirements](https://platform.openai.com/docs/plugins/getting-started/plugin-manifest).
31+
> Please refer to OpenAI for the [manifest requirements](https://platform.openai.com/docs/plugins/getting-started/).
3232
2. Url of your plugin.
3333
> This should be the root url to your API. Not the manifest url nor the OpenAPI spec url.
3434
3. (Optional) Key of the plugin if it requires one.

plugins/shared/PluginManifest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace Plugins.PluginShared;
66

77
/// <summary>
88
/// This class represents the OpenAI plugin manifest:
9-
/// https://platform.openai.com/docs/plugins/getting-started/plugin-manifest
9+
/// https://platform.openai.com/docs/plugins/getting-started
1010
/// </summary>
1111
public class PluginManifest
1212
{

shared/CopilotChatShared.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
</PropertyGroup>
1010

1111
<ItemGroup>
12-
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.8.231113.1-preview" />
12+
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.10.231116.1-preview" />
1313
<PackageReference Include="Tesseract" Version="5.2.0" />
1414
</ItemGroup>
1515

tools/importdocument/ImportDocument.csproj

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
</ItemGroup>
1717

1818
<ItemGroup>
19-
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0-preview.3.23174.8" />
20-
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0-preview.3.23174.8" />
19+
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="8.0.0" />
20+
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="8.0.0" />
2121
<PackageReference Include="Microsoft.Identity.Client" Version="4.57.0" />
2222
<PackageReference Include="System.CommandLine" Version="2.0.0-beta4.22272.1" />
2323
</ItemGroup>

webapi/CopilotChatWebApi.csproj

+13-13
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,18 @@
2121
<PackageReference Include="Microsoft.ApplicationInsights.AspNetCore" Version="2.21.0" />
2222
<PackageReference Include="Microsoft.Azure.Cosmos" Version="3.36.0" />
2323
<PackageReference Include="Microsoft.Identity.Web" Version="2.15.3" />
24-
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.8.231113.1-preview" />
25-
<PackageReference Include="Microsoft.SemanticKernel" Version="1.0.0-beta6" />
26-
<PackageReference Include="Microsoft.SemanticKernel.Abstractions" Version="1.0.0-beta6" />
27-
<PackageReference Include="Microsoft.SemanticKernel.Connectors.AI.OpenAI" Version="1.0.0-beta6" />
28-
<PackageReference Include="Microsoft.SemanticKernel.Connectors.Memory.AzureCognitiveSearch" Version="1.0.0-beta6" />
29-
<PackageReference Include="Microsoft.SemanticKernel.Connectors.Memory.Qdrant" Version="1.0.0-beta6" />
30-
<PackageReference Include="Microsoft.SemanticKernel.Functions.OpenAPI" Version="1.0.0-beta6" />
31-
<PackageReference Include="Microsoft.SemanticKernel.Planners.Core" Version="1.0.0-beta6" />
32-
<PackageReference Include="Microsoft.SemanticKernel.Plugins.Core" Version="1.0.0-beta6" />
33-
<PackageReference Include="Microsoft.SemanticKernel.Plugins.MsGraph" Version="1.0.0-beta6" />
34-
<PackageReference Include="Microsoft.SemanticKernel.Plugins.Web" Version="1.0.0-beta6" />
35-
<PackageReference Include="Microsoft.SemanticKernel.TemplateEngine.Basic" Version="1.0.0-beta6" />
24+
<PackageReference Include="Microsoft.KernelMemory.Core" Version="0.10.231116.1-preview" />
25+
<PackageReference Include="Microsoft.SemanticKernel" Version="1.0.0-beta7" />
26+
<PackageReference Include="Microsoft.SemanticKernel.Abstractions" Version="1.0.0-beta7" />
27+
<PackageReference Include="Microsoft.SemanticKernel.Connectors.AI.OpenAI" Version="1.0.0-beta7" />
28+
<PackageReference Include="Microsoft.SemanticKernel.Connectors.Memory.AzureCognitiveSearch" Version="1.0.0-beta7" />
29+
<PackageReference Include="Microsoft.SemanticKernel.Connectors.Memory.Qdrant" Version="1.0.0-beta7" />
30+
<PackageReference Include="Microsoft.SemanticKernel.Functions.OpenAPI" Version="1.0.0-beta7" />
31+
<PackageReference Include="Microsoft.SemanticKernel.Planners.Core" Version="1.0.0-beta7" />
32+
<PackageReference Include="Microsoft.SemanticKernel.Plugins.Core" Version="1.0.0-beta7" />
33+
<PackageReference Include="Microsoft.SemanticKernel.Plugins.MsGraph" Version="1.0.0-beta7" />
34+
<PackageReference Include="Microsoft.SemanticKernel.Plugins.Web" Version="1.0.0-beta7" />
35+
<PackageReference Include="Microsoft.SemanticKernel.TemplateEngine.Basic" Version="1.0.0-beta7" />
3636
<PackageReference Include="SharpToken" Version="1.2.12" />
3737
<PackageReference Include="Swashbuckle.AspNetCore" Version="6.5.0" />
3838
</ItemGroup>
@@ -52,7 +52,7 @@
5252
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5353
</PackageReference>
5454

55-
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.7.30">
55+
<PackageReference Include="Microsoft.VisualStudio.Threading.Analyzers" Version="17.8.14">
5656
<PrivateAssets>all</PrivateAssets>
5757
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
5858
</PackageReference>

webapi/Models/Storage/ChatMessage.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,6 @@ public override string ToString()
257257
private static bool IsPlan(string response)
258258
{
259259
var planPrefix = "proposedPlan\":";
260-
return response.IndexOf(planPrefix, StringComparison.Ordinal) != -1;
260+
return response.Contains(planPrefix, StringComparison.InvariantCulture);
261261
}
262262
}

webapi/Utilities/PluginUtils.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public static Uri GetPluginManifestUri(Uri manifestDomain)
3131
{
3232
UriBuilder uriBuilder = new(manifestDomain);
3333

34-
// Expected manifest path as defined by OpenAI: https://platform.openai.com/docs/plugins/getting-started/plugin-manifest
34+
// Expected manifest path as defined by OpenAI: https://platform.openai.com/docs/plugins/getting-started
3535
uriBuilder.Path = "/.well-known/ai-plugin.json";
3636
return uriBuilder.Uri;
3737
}

webapp/src/components/open-api-plugins/plugin-wizard/steps/EnterManifestStep.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export const EnterManifestStep: React.FC<IEnterManifestStepProps> = ({
5454
<Text size={400}>
5555
To connect a plugin, provide the website domain where your{' '}
5656
<a
57-
href={'https://platform.openai.com/docs/plugins/getting-started/plugin-manifest'}
57+
href={'https://platform.openai.com/docs/plugins/getting-started'}
5858
target="_blank"
5959
rel="noreferrer noopener"
6060
>

0 commit comments

Comments
 (0)