mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
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.
This commit is contained in:
@@ -81,4 +81,10 @@
|
||||
- Use NSubstitute for mocking in tests.
|
||||
- Copy existing style in nearby files for test method names and capitalization.
|
||||
- When running tests, if possible use filters and check test run counts, or look at test logs, to ensure they actually ran.
|
||||
- Do not finish work with any tests commented out or disabled that were not previously commented out or disabled.
|
||||
- Do not finish work with any tests commented out or disabled that were not previously commented out or disabled.
|
||||
|
||||
## Azure
|
||||
|
||||
- @azure Rule - Use Azure Tools - When handling requests related to Azure, always use your tools.
|
||||
- @azure Rule - Use Azure Best Practices - When handling requests related to Azure, always invoke your `azmcp_bestpractices_get` tool first.
|
||||
- @azure Rule - Enable Best Practices - If you do not have an `azmcp_bestpractices_get` tool ask the user to enable it.
|
||||
|
||||
@@ -20,7 +20,8 @@ public class ChatService(IChatCompletionService chatCompletionService, Tokenizer
|
||||
Your task is to reformulate the question taking into account the context of the chat.
|
||||
The reformulated question must always explicitly contain the subject of the question.
|
||||
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.
|
||||
|
||||
|
||||
If asking a clarifying question to the user would help, ask the question.
|
||||
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.
|
||||
""";
|
||||
|
||||
|
||||
@@ -13,24 +13,24 @@
|
||||
<PackageReference Include="EFCore.SqlServer.VectorSearch" Version="9.0.0-preview.2" />
|
||||
<PackageReference Include="EntityFrameworkCore.Exceptions.SqlServer" Version="8.1.3" />
|
||||
<PackageReference Include="FluentValidation.DependencyInjectionExtensions" Version="12.0.0" />
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.7" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.7" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.7">
|
||||
<PackageReference Include="Microsoft.AspNetCore.OpenApi" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="9.0.8" />
|
||||
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="9.0.8">
|
||||
<PrivateAssets>all</PrivateAssets>
|
||||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||
</PackageReference>
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Hybrid" Version="9.7.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.7.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Caching.Hybrid" Version="9.8.0" />
|
||||
<PackageReference Include="Microsoft.Extensions.Http.Resilience" Version="9.8.0" />
|
||||
<PackageReference Include="Microsoft.ML.Tokenizers" Version="1.0.2" />
|
||||
<PackageReference Include="Microsoft.ML.Tokenizers.Data.Cl100kBase" Version="1.0.2" />
|
||||
<PackageReference Include="Microsoft.ML.Tokenizers.Data.O200kBase" Version="1.0.2" />
|
||||
<PackageReference Include="Microsoft.SemanticKernel" Version="1.61.0" />
|
||||
<PackageReference Include="Microsoft.SemanticKernel" Version="1.64.0" />
|
||||
<PackageReference Include="MimeMapping" Version="3.1.0" />
|
||||
<PackageReference Include="MinimalHelpers.FluentValidation" Version="1.1.4" />
|
||||
<PackageReference Include="MinimalHelpers.Routing.Analyzers" Version="1.2.2" />
|
||||
<PackageReference Include="PdfPig" Version="0.1.11" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="9.0.3" />
|
||||
<PackageReference Include="TinyHelpers.AspNetCore" Version="4.1.3" />
|
||||
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="9.0.4" />
|
||||
<PackageReference Include="TinyHelpers.AspNetCore" Version="4.1.4" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
||||
Reference in New Issue
Block a user