Skip to content

Commit 98c1813

Browse files
committed
Update documentation and package versions
- Clarified test practices in `copilot-instructions.md`. - Revised Azure rules for best practices and tool usage. - Added instruction in `ChatService.cs` for asking clarifying questions. - Updated package versions in `SqlDatabaseVectorSearch.csproj` for several dependencies.
1 parent 261853e commit 98c1813

File tree

3 files changed

+17
-10
lines changed

3 files changed

+17
-10
lines changed

.github/copilot-instructions.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,4 +81,10 @@
8181
- Use NSubstitute for mocking in tests.
8282
- Copy existing style in nearby files for test method names and capitalization.
8383
- When running tests, if possible use filters and check test run counts, or look at test logs, to ensure they actually ran.
84-
- Do not finish work with any tests commented out or disabled that were not previously commented out or disabled.
84+
- Do not finish work with any tests commented out or disabled that were not previously commented out or disabled.
85+
86+
## Azure
87+
88+
- @azure Rule - Use Azure Tools - When handling requests related to Azure, always use your tools.
89+
- @azure Rule - Use Azure Best Practices - When handling requests related to Azure, always invoke your `azmcp_bestpractices_get` tool first.
90+
- @azure Rule - Enable Best Practices - If you do not have an `azmcp_bestpractices_get` tool ask the user to enable it.

SqlDatabaseVectorSearch/Services/ChatService.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,8 @@ You are a helpful assistant that reformulates questions to perform embeddings se
2020
Your task is to reformulate the question taking into account the context of the chat.
2121
The reformulated question must always explicitly contain the subject of the question.
2222
You MUST reformulate the question in the SAME language as the user's question. For example, if the user asks a question in English, the reformulated question MUST be in English. If the user asks in Italian, the reformulated question MUST be in Italian.
23-
23+
24+
If asking a clarifying question to the user would help, ask the question.
2425
Never add "in this chat", "in the context of this chat", "in the context of our conversation", "search for" or something like that in your answer.
2526
""";
2627

SqlDatabaseVectorSearch/SqlDatabaseVectorSearch.csproj

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,24 +13,24 @@
1313
<PackageReference Include="EFCore.SqlServer.VectorSearch" Version="9.0.0-preview.2" />
1414
<PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="8.1.3" />
1515
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="12.0.0" />
16-
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.7" />
17-
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.7" />
18-
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.7">
16+
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.8" />
17+
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.8" />
18+
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.8">
1919
<PrivateAssets>all</PrivateAssets>
2020
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
2121
</PackageReference>
22-
<PackageReference Include="Microsoft.Extensions.Caching.Hybrid" Version="9.7.0" />
23-
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.7.0" />
22+
<PackageReference Include="Microsoft.Extensions.Caching.Hybrid" Version="9.8.0" />
23+
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.8.0" />
2424
<PackageReference Include="Microsoft.ML.Tokenizers" Version="1.0.2" />
2525
<PackageReference Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" Version="1.0.2" />
2626
<PackageReference Include="Microsoft.ML.Tokenizers.Data.O200kBase" Version="1.0.2" />
27-
<PackageReference Include="Microsoft.SemanticKernel" Version="1.61.0" />
27+
<PackageReference Include="Microsoft.SemanticKernel" Version="1.64.0" />
2828
<PackageReference Include="MimeMapping" Version="3.1.0" />
2929
<PackageReference Include="MinimalHelpers.FluentValidation" Version="1.1.4" />
3030
<PackageReference Include="MinimalHelpers.Routing.Analyzers" Version="1.2.2" />
3131
<PackageReference Include="PdfPig" Version="0.1.11" />
32-
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="9.0.3" />
33-
<PackageReference Include="TinyHelpers.AspNetCore" Version="4.1.3" />
32+
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="9.0.4" />
33+
<PackageReference Include="TinyHelpers.AspNetCore" Version="4.1.4" />
3434
</ItemGroup>
3535

3636
</Project>

0 commit comments

Comments
 (0)