mirror of
https://github.com/marcominerva/SqlDatabaseVectorSearch.git
synced 2026-06-20 12:23:10 +00:00
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:
@@ -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>
|
||||||
|
|||||||
@@ -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": {
|
||||||
|
|||||||
Reference in New Issue
Block a user