elbruno / phi3-labs

C# labs using the Phi3 model
MIT License
8 stars 2 forks source link

Interfere with existing Code #1

Open hannespreishuber opened 1 month ago

hannespreishuber commented 1 month ago

Heart of semantic kernel is to call functions or get data, As I understood. How to solve tasks like "switch on light in living room" or "name of ppedv ceo" use web or "best customer in year 2024" use db logic

Looking into the common semantic kernel samples, ther is always a api call to OpenAi or simalar.

elbruno commented 3 weeks ago

Hi @hannespreishuber

Yes, SK can be used to call functions, and also to call services. Some of those services are AI related services like AI Search or LLMs (Azure OpenAI Services or OpenAI APIs). In the same line SK allows to call models running locally.

The 3rd sample shows how to use SK to invoke a local model using ONNX libraries.

hannespreishuber commented 3 weeks ago

talking about lab2 and merge to code like https://learn.microsoft.com/en-us/semantic-kernel/overview/?tabs=Csharp