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.
This commit is contained in:
Marco Minerva
2025-08-01 16:11:06 +02:00
parent 0ba84a35ba
commit 261853e4a7
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@
- Use `nameof` instead of string literals when referring to member names. - Use `nameof` instead of string literals when referring to member names.
- Prefer `?.` if applicable (e.g. `scope?.Dispose()`). - Prefer `?.` if applicable (e.g. `scope?.Dispose()`).
- Use `ObjectDisposedException.ThrowIf` where applicable. - 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. - 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 ### Nullable Reference Types
@@ -30,7 +30,7 @@
<PackageReference Include="MinimalHelpers.Routing.Analyzers" Version="1.2.2" /> <PackageReference Include="MinimalHelpers.Routing.Analyzers" Version="1.2.2" />
<PackageReference Include="PdfPig" Version="0.1.11" /> <PackageReference Include="PdfPig" Version="0.1.11" />
<PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="9.0.3" /> <PackageReference Include="Swashbuckle.AspNetCore.SwaggerUI" Version="9.0.3" />
<PackageReference Include="TinyHelpers.AspNetCore" Version="4.1.2" /> <PackageReference Include="TinyHelpers.AspNetCore" Version="4.1.3" />
</ItemGroup> </ItemGroup>
</Project> </Project>
+1 -1
View File
@@ -6,7 +6,7 @@
"ChatCompletion": { "ChatCompletion": {
"Endpoint": "", "Endpoint": "",
"Deployment": "", "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": "" "ApiKey": ""
}, },
"Embedding": { "Embedding": {