Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

What does semantic kernel do for you? It isn't immediately obvious from the Readme.


SK does a lot of the same things that Langhain does at a high level.

The most useful bits for us are prompt templating[0], "inlining" some functions like `recall` into the text of the prompt [1], and service container [2] (useful if you are using multiple LLM services and models for different types of prompts/flows).

It has other useful abstractions and you can see the full list of examples here:

- C#: https://github.com/microsoft/semantic-kernel/tree/main/dotne...

- python: https://github.com/microsoft/semantic-kernel/tree/main/pytho...

---

[0] https://github.com/microsoft/semantic-kernel/blob/main/dotne...

[1] https://github.com/microsoft/semantic-kernel/blob/main/dotne...

[2] https://github.com/microsoft/semantic-kernel/blob/main/dotne...


I'm not OP, but it's just C#/.NET glue and "sample" code for Azure, OpenAI, and a few others (if I were to generously describe it).

It doesn't actually "do" anything or provide useful concepts. I wouldn't use it for anything, personally, even to read.




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

Search: