quarkiverse / quarkus-semantic-kernel

This extension eases the integration of Semantic Kernel for Java with Quarkus
https://learn.microsoft.com/en-us/semantic-kernel/overview/
Apache License 2.0
1 stars 1 forks source link

Provider of the kernel runtime #5

Open morphy76 opened 1 year ago

morphy76 commented 1 year ago

The kernel binds and execute all the semantic kernel components, in particular AI services and memories.

The kernel provider needs to create a named instance so that being accordingly preconfigured for available/default AI services and memory.

Multiple kernels can be configured.

morphy76 commented 1 year ago

I guess new issues are required to bind:

Plz, forgive me, I'm just trying to understand the plan

agoncal commented 1 year ago

Yes, you're totally right @morphy76, the idea is to have this extension support memories, native functions and so on. But first I want to focus on testing (I need to understand how Semantic Kernel uses their Mock to test against OpenAI services) and documentation so we can release a first 0.1 version of this extension.

morphy76 commented 1 year ago

Nice, I'll stay on this page, then... it should also help to create a better spec than the one I did :)

melloware commented 1 year ago

Teamwork!!! 😄

morphy76 commented 1 year ago

I'm sorry to be a little bit not-present, it's a quite busy period but today I did some checks about mocking OpenAI; here it is some notes, hopefully useful:

I failed to run mockserver using HTTPS due to:

Looking forward for hints/suggestions/ideas/recommendations/corrections/whatever; next time-slot, I'll give a better look at semantic kernel sources starting from DefaultKernelTest but I'm quite pessimistic :/ I think to push more on mockserver

(edit: workplace/lab https://github.com/morphy76/quarkus-semantic-kernel/tree/introducing_openai_server_mock)

agoncal commented 12 months ago

@morphy76 I know @geoand has created a LangChain4j extension and he uses OpenAI. I haven't had a look at it yet, but I remember Giorgios mentionning something about mocking OpenAI calls. I'll double check

geoand commented 12 months ago

We don't provide any OOTB support for mocking the calls, but it's not hard to do, and I definitely do want to have some testing utilities in soon