VOOZH about

URL: https://www.nuget.org/packages/EasyAppDev.Blazor.AutoComplete.AI/

⇱ NuGet Gallery | EasyAppDev.Blazor.AutoComplete.AI 1.0.7




👁 Image
EasyAppDev.Blazor.AutoComplete.AI 1.0.7

dotnet add package EasyAppDev.Blazor.AutoComplete.AI --version 1.0.7
 
 
NuGet\Install-Package EasyAppDev.Blazor.AutoComplete.AI -Version 1.0.7
 
 
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="EasyAppDev.Blazor.AutoComplete.AI" Version="1.0.7" />
 
 
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="EasyAppDev.Blazor.AutoComplete.AI" Version="1.0.7" />
 
Directory.Packages.props
<PackageReference Include="EasyAppDev.Blazor.AutoComplete.AI" />
 
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add EasyAppDev.Blazor.AutoComplete.AI --version 1.0.7
 
 
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: EasyAppDev.Blazor.AutoComplete.AI, 1.0.7"
 
 
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package EasyAppDev.Blazor.AutoComplete.AI@1.0.7
 
 
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=EasyAppDev.Blazor.AutoComplete.AI&version=1.0.7
 
Install as a Cake Addin
#tool nuget:?package=EasyAppDev.Blazor.AutoComplete.AI&version=1.0.7
 
Install as a Cake Tool
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

EasyAppDev.Blazor.AutoComplete.AI

AI-powered semantic search for the Blazor AutoComplete component. Search by meaning, not just keywords.

👁 NuGet
👁 NuGet Downloads
👁 License: MIT

Features

  • Semantic Search: Understands meaning, synonyms, and concepts
  • SIMD Acceleration: 3-5x faster similarity calculations
  • Dual Caching: Separate item/query caches with LRU eviction
  • Multiple Providers: OpenAI, Azure OpenAI, Ollama, or custom
  • Hybrid Search: Falls back to text matching for short queries

Installation

dotnet add package EasyAppDev.Blazor.AutoComplete.AI

Note: This package includes the core AutoComplete component as a dependency.

Quick Start

1. Configure OpenAI

Option A: appsettings.json (Recommended)

{
 "OpenAI": {
 "ApiKey": "sk-proj-...",
 "Model": "text-embedding-3-small"
 }
}
// Program.cs
builder.Services.AddAutoCompleteSemanticSearch(builder.Configuration);

Option B: Direct API Key

builder.Services.AddAutoCompleteSemanticSearch(
 apiKey: "sk-proj-...",
 model: "text-embedding-3-small");

2. Use the Component

@using EasyAppDev.Blazor.AutoComplete.AI

<SemanticAutoComplete TItem="Document"
 Items="@docs"
 SearchFields="@(d => new[] { d.Title, d.Description })"
 TextField="@(d => d.Title)"
 SimilarityThreshold="0.15"
 @bind-Value="@selectedDoc"
 Placeholder="Search by meaning..." />

Supported Providers

Provider Setup Method Cost Privacy
OpenAI AddAutoCompleteSemanticSearch() $ Cloud
Azure OpenAI AddAutoCompleteSemanticSearchWithAzure() $ Azure
Ollama Custom IEmbeddingGenerator Free Local

Azure OpenAI

builder.Services.AddAutoCompleteSemanticSearchWithAzure(
 endpoint: "https://my-resource.openai.azure.com/",
 apiKey: "your-azure-api-key",
 deploymentName: "text-embedding-ada-002");

Ollama (Local)

using OllamaSharp;

var ollamaClient = new OllamaApiClient("http://localhost:11434");
builder.Services.AddSingleton<IEmbeddingGenerator<string, Embedding<float>>>(
 ollamaClient.AsEmbeddingGenerator("nomic-embed-text"));

Advanced Configuration

<SemanticAutoComplete TItem="Product"
 Items="@products"
 SearchFields="@(p => new[] { p.Name, p.Description })"

 @* Cache Configuration *@
 ItemCacheDuration="TimeSpan.FromHours(2)"
 QueryCacheDuration="TimeSpan.FromMinutes(30)"
 MaxItemCacheSize="20000"

 @* Pre-warming *@
 PreWarmCache="true"
 ShowCacheStatus="true"

 @* Search Tuning *@
 SimilarityThreshold="0.15"
 MinSearchLength="3"
 DebounceMs="500"

 @bind-Value="@selectedProduct" />

Vector Database Providers

For production-grade semantic search with persistent storage, use vector database providers:

Package Provider
EasyAppDev.Blazor.AutoComplete.AI.PostgreSql PostgreSQL/pgvector
EasyAppDev.Blazor.AutoComplete.AI.AzureSearch Azure AI Search
EasyAppDev.Blazor.AutoComplete.AI.Pinecone Pinecone
EasyAppDev.Blazor.AutoComplete.AI.Qdrant Qdrant
EasyAppDev.Blazor.AutoComplete.AI.CosmosDb Azure CosmosDB

Performance

  • SIMD Acceleration: 3-5x faster cosine similarity
  • Cache Hit Rate: 80%+ after warm-up
  • API Cost Reduction: 80%+ due to caching

License

MIT

Product Versions Compatible and additional computed target framework versions.
.NET net8.0 net8.0 is compatible.  net8.0-android net8.0-android was computed.  net8.0-browser net8.0-browser was computed.  net8.0-ios net8.0-ios was computed.  net8.0-maccatalyst net8.0-maccatalyst was computed.  net8.0-macos net8.0-macos was computed.  net8.0-tvos net8.0-tvos was computed.  net8.0-windows net8.0-windows was computed.  net9.0 net9.0 is compatible.  net9.0-android net9.0-android was computed.  net9.0-browser net9.0-browser was computed.  net9.0-ios net9.0-ios was computed.  net9.0-maccatalyst net9.0-maccatalyst was computed.  net9.0-macos net9.0-macos was computed.  net9.0-tvos net9.0-tvos was computed.  net9.0-windows net9.0-windows was computed.  net10.0 net10.0 was computed.  net10.0-android net10.0-android was computed.  net10.0-browser net10.0-browser was computed.  net10.0-ios net10.0-ios was computed.  net10.0-maccatalyst net10.0-maccatalyst was computed.  net10.0-macos net10.0-macos was computed.  net10.0-tvos net10.0-tvos was computed.  net10.0-windows net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (5)

Showing the top 5 NuGet packages that depend on EasyAppDev.Blazor.AutoComplete.AI:

Package Downloads
EasyAppDev.Blazor.AutoComplete.AI.Pinecone

Pinecone provider for EasyAppDev.Blazor.AutoComplete.AI semantic search. Provides serverless vector storage with high-performance similarity search for production-scale autocomplete scenarios.

EasyAppDev.Blazor.AutoComplete.AI.PostgreSql

PostgreSQL/pgvector provider for EasyAppDev.Blazor.AutoComplete.AI semantic search. Provides persistent vector storage with HNSW indexing for production-scale autocomplete scenarios.

EasyAppDev.Blazor.AutoComplete.AI.CosmosDb

Azure CosmosDB provider for EasyAppDev.Blazor.AutoComplete.AI semantic search. Provides multi-model database with DiskANN vector search for production-scale autocomplete scenarios with global distribution.

EasyAppDev.Blazor.AutoComplete.AI.AzureSearch

Azure AI Search provider for EasyAppDev.Blazor.AutoComplete.AI semantic search. Provides cloud-native vector search with hybrid (vector + keyword) search and semantic ranking support.

EasyAppDev.Blazor.AutoComplete.AI.Qdrant

Qdrant provider for EasyAppDev.Blazor.AutoComplete.AI semantic search. Provides open-source vector storage with HNSW indexing for production-scale autocomplete scenarios. Supports self-hosted and cloud deployments.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.7 285 12/21/2025
1.0.6 240 12/20/2025
1.0.5 161 12/20/2025
1.0.4 313 12/18/2025
1.0.3 307 12/18/2025
1.0.2 612 12/1/2025
1.0.1 235 11/24/2025
1.0.0 212 11/23/2025

Version 1.0.7 - Added AOT-compatible JSON serialization overloads for all vector database providers. Fixed exception handling in GetItem to return default on deserialization failure. Added cancellation token propagation in Azure Search hybrid search. Improved robustness and trimming compatibility.