From 261853e4a79b387f8f17921b627269133b67b299 Mon Sep 17 00:00:00 2001 From: Marco Minerva Date: Fri, 1 Aug 2025 16:11:06 +0200 Subject: [PATCH] Fix typos and update dependencies and configurations Updated the version of `TinyHelpers.AspNetCore` in `SqlDatabaseVectorSearch.csproj` from `4.1.2` to `4.1.3`. Clarified comments in `appsettings.json` for the `ModelId` field under `ChatCompletion` to specify requirements for `gpt-4.1` models. --- .github/copilot-instructions.md | 2 +- SqlDatabaseVectorSearch/SqlDatabaseVectorSearch.csproj | 2 +- SqlDatabaseVectorSearch/appsettings.json | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 8a7fce7..898c573 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -24,7 +24,7 @@ - Use `nameof` instead of string literals when referring to member names. - Prefer `?.` if applicable (e.g. `scope?.Dispose()`). - Use `ObjectDisposedException.ThrowIf` where applicable. -- Use `ArgumentNullException.ThrowIfNull` to validate input paramters. +- Use `ArgumentNullException.ThrowIfNull` to validate input parameters. - If you add new code files, ensure they are listed in the csproj file (if other files in that folder are listed there) so they build. ### Nullable Reference Types diff --git a/SqlDatabaseVectorSearch/SqlDatabaseVectorSearch.csproj b/SqlDatabaseVectorSearch/SqlDatabaseVectorSearch.csproj index 2ce4f7d..33ef0b6 100644 --- a/SqlDatabaseVectorSearch/SqlDatabaseVectorSearch.csproj +++ b/SqlDatabaseVectorSearch/SqlDatabaseVectorSearch.csproj @@ -30,7 +30,7 @@ - + diff --git a/SqlDatabaseVectorSearch/appsettings.json b/SqlDatabaseVectorSearch/appsettings.json index 4da4228..fbe05b7 100644 --- a/SqlDatabaseVectorSearch/appsettings.json +++ b/SqlDatabaseVectorSearch/appsettings.json @@ -6,7 +6,7 @@ "ChatCompletion": { "Endpoint": "", "Deployment": "", - "ModelId": "", // gpt-4.1, gpt-4.1-mini, gpt-4.1-nano, gpt-4o, gpt-4o-mini, gpt-4, gpt-3.5 + "ModelId": "", // gpt-4o, gpt-4, gpt-3.5, etc. Note that for gpt-4.1 models, the ModelId must be set to gpt-4o. "ApiKey": "" }, "Embedding": {