- 0
[c#] Database Search as you type functionality
-
Recently Browsing 0 members
- No registered users viewing this page.
-
Posts
-
By Good Bot, Bad Bot · Posted
I would question if Neowin really needs science research studies/stories than. -
By pradeepviswav · Posted
Microsoft reveals Mu, an on-device small language model built into Windows 11 by Pradeep Viswanathan Last year, Microsoft revealed Copilot+ PCs featuring a dedicated Neural Processing Unit (NPU) capable of over 40 TOPS or more. These Copilot+ PCs came with Phi-Silica, an on-device SLM to bring language intelligence capabilities to Microsoft's own first-party apps and apps from other 3rd-party developers. Today, Microsoft revealed Mu, a new on-device small language model built into Windows 11. Microsoft's goal was to create an AI-powered agent within the Settings app that can understand a user's natural language queries and integrate it into the existing search box for a smooth user experience. Hence, Microsoft is using the new Mu model to power the new agent feature in the Settings app, which was made available to Windows Insiders recently in the Dev Channel with Copilot+ PCs. Like Phi-Silica, Mu is designed to operate efficiently on NPUs, delivering over 100 tokens per second while running locally. In the official blog post, Microsoft explained how they designed and trained the Mu language model. Here's an overview of the Mu language model: Mu is a 330M encoder-decoder language model. The encoder-decoder approach achieved about 47% lower first-token latency and 4.7× higher decoding speed compared to a decoder-only model of similar size. Mu uses weight sharing in certain components to reduce the total parameter count. Microsoft trained Mu using NVIDIA A100 GPUs on Azure Machine Learning. Mu is nearly comparable in performance to a similarly fine-tuned Phi-3.5-mini, despite being one-tenth of the size. The model is better suited for multi-word queries. So for short or partial-word inputs, the Settings app will continue to surface lexical and semantic search results in the search box. Interested users can download Windows 11 Build 26120.3964 (KB5058496) or higher to check out this new AI-powered agent in the Windows Settings app. -
By Adrian Williams · Posted
I work at a company that sends Samsung stuff to Best Buy, Costco, Amazon, and others, we are about to killed after this event. -
By hellowalkman · Posted
only using AI for science research studies/stories like this which are somewhat separate from our main tech/IT-focused articles, it is like a separate column, sort of like the software stories. Also I believe plenty of other sites use AI in some form of other, but we are also honest enough to disclose it. Btw no that headline was completely me. -
By Good Bot, Bad Bot · Posted
Electric vehicles get colds? I guess AI also helped with the headline. An editor really reviewed this huh? LOL Seriously WTF Neowin? You are using AI to help write articles now? I was just about to become a subscriber but not now.
-
-
Recent Achievements
-
tesla maxwell earned a badge
Dedicated
-
Camlann earned a badge
Dedicated
-
fredss earned a badge
Week One Done
-
fabioc earned a badge
Dedicated
-
GoForma earned a badge
Week One Done
-
-
Popular Contributors
-
Tell a friend
Question
Linkinfamous
Hi guys,
I have a situation where I need to be able to search a database as the user types. It's running locally in SQL Server 2005, so I've been querying every time the textbox text changes. This doesn't seem to work. Basically, if I search for '2334', '2' might have 5000 results, whereas '2334' might have 7. If I type '2334' really quickly, my current method flashes the results for '2334', then shows me the results for '2'. (D'oh!)
Basically, on text change, I prepare my query, execute it, and databind a datagridview to it. This seems to work, but not when you type quickly.
What is the proper way to do this? Then, how can I have it so that, let's say the user is typing '2334', in the text box, but by the time '2334' is in, '2' hasn't finished yet, so it can ignore the searches for '23', and '233'?
Thanks
Link to comment
https://www.neowin.net/forum/topic/535430-c-database-search-as-you-type-functionality/Share on other sites
9 answers to this question
Recommended Posts