Hacker Newsnew | past | comments | ask | show | jobs | submitlogin
Intro to Semantic Kernel – Part Two (brakmic.com)
22 points by brakmic on Oct 9, 2023 | hide | past | favorite | 4 comments


I can't believe how much SK is being slept on by the community. It's wonderful. I was trying to extract a bunch of discrete data from hundreds of sites (for a options for medical treatment, ages served, specialties, restrictions, etc) that all had the pertinent info in plain English. I spent ~10 hours manually on ~40 sites. Spent about ~4 hours wiring SK, and let it run overnight. Hundreds of sites, $25 chatgpt bill. Absolutely game changing. A LOT of thought has gone into engineering Semantic Kernel.


SK is basically langchain in C# or .NET.


Hi, article author here,

Semantic Kernel and LangChain are both geared towards NLP but they have different takes on it. While LangChain revolves around creating sequences of calls known as "Chains", SK employs a "Kernel" to manage these sequences and has a "Planner" to auto-create chains for new user needs.

SK steps up the game with plugins supporting both semantic and native functions, which isn't a feature in LangChain. Also, SK has a memory feature to store context and embeddings, broadening its use case.

Moreover, SK is more welcoming to C# integration alongside Python, and has a knack for blending AI services like OpenAI with conventional coding, which LangChain doesn't offer.

So, in a nutshell, while there are similarities, SK packs more features and a bit of a different approach compared to LangChain.

Hope this clears things up!


Not sure if I agree here. Langchain's LLMChains while initially popular, is not what people have been using. With function calling and agent+tools, both langchain and chatgpt do quite a lot of the same things that semantic kernel does.

You've mentioned a few things that langchain doesn't offer and I'm not sure how true that is. Langchain has a typescript offering which is easier to interweave with traditional coding, and if you're even the tiniest bit serious about your ML system then you'll likely use python anyway.

Langchain is a bunch of thin abstractions that can quickly scale up with the pace of growth in the LLM world. All the features you mention are now mature features within langchain too.

I'm genuinely interested in semantic kernel, and langchain has obvious pitfalls. But I am yet to find another solution that moves as quickly, integrates broadly, has a large community and still ends up being an acceptable product from a quality standpoint.




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: