diff --git a/Directory.Packages.props b/Directory.Packages.props index d4989d8f..6f275cfb 100644 --- a/Directory.Packages.props +++ b/Directory.Packages.props @@ -39,7 +39,7 @@ - + @@ -56,10 +56,10 @@ - - - - + + + + diff --git a/README.md b/README.md index 1a371ada..a56eecbf 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,7 @@ Or - From Dev Home go to `Machine Configuration -> Clone repositories`. Enter the URL for this repository. In the confirmation screen look for the section `Configuration File Detected` and click `Run File`. #### Mac, Linux, & Windows without Visual Studio -- Install the latest [.NET 9 RC 2 SDK](https://dot.net/download?cid=eshop) +- Install the latest [.NET 9 SDK](https://dot.net/download?cid=eshop) Or diff --git a/src/Catalog.API/Services/CatalogAI.cs b/src/Catalog.API/Services/CatalogAI.cs index 3e396a25..ca775d61 100644 --- a/src/Catalog.API/Services/CatalogAI.cs +++ b/src/Catalog.API/Services/CatalogAI.cs @@ -58,7 +58,7 @@ public async ValueTask GetEmbeddingAsync(string text) { long timestamp = Stopwatch.GetTimestamp(); - var embedding = (await _embeddingGenerator.GenerateAsync(text))[0].Vector; + var embedding = (await _embeddingGenerator.GenerateAsync(new[] { text }))[0].Vector; embedding = embedding[0..EmbeddingDimensions]; if (_logger.IsEnabled(LogLevel.Trace)) diff --git a/src/ClientApp/ClientApp.csproj b/src/ClientApp/ClientApp.csproj index a1203331..94f1ea9e 100644 --- a/src/ClientApp/ClientApp.csproj +++ b/src/ClientApp/ClientApp.csproj @@ -68,9 +68,9 @@ runtime; build; native; contentfiles; analyzers; buildtransitive - - - + + + diff --git a/src/HybridApp/HybridApp.csproj b/src/HybridApp/HybridApp.csproj index 223adaa1..b615d8b5 100644 --- a/src/HybridApp/HybridApp.csproj +++ b/src/HybridApp/HybridApp.csproj @@ -60,11 +60,11 @@ - - - - - + + + + + diff --git a/tests/ClientApp.UnitTests/ClientApp.UnitTests.csproj b/tests/ClientApp.UnitTests/ClientApp.UnitTests.csproj index 75fadf7d..89d9e31a 100644 --- a/tests/ClientApp.UnitTests/ClientApp.UnitTests.csproj +++ b/tests/ClientApp.UnitTests/ClientApp.UnitTests.csproj @@ -11,9 +11,9 @@ - - - + + +