promptflow icon indicating copy to clipboard operation
promptflow copied to clipboard

C# Flow Creation

Open cmoski opened this issue 2 years ago • 22 comments

Hey there! Very cool project.

I'm quite interested (as I'm developing most of my semantic kernel applications in C#) in how the C# ecosystem is planned to be integrated into this.

If there isn't a framework now, I'm just trying to figure out what the general plan is. I see a few commits on running promptflow flows within C# but looking at the commit logs its a little unclear to me how to get started at this point.

Might be too early but wanted to get this question in to understand the roadmap a bit better if possible, and to understand what contributions might need to made to get this running.

cmoski avatar Nov 29 '23 19:11 cmoski

Support for C# flow experience is work-in-proess, we will reply back here when we have an concrete ETA to share.

Could you describe your scenario a bit more in detail? What do you plan to do by itegrate promptflow and semantic kernel?

wangchao1230 avatar Nov 30 '23 06:11 wangchao1230

Hi @wangchao1230 just checking in if there are any updates around this?

My team is also interested in doing evaluations on our C# Semantic Kernel project via prompt flow.

I'll include a high-level description of what we'd like to do. I'm happy to include any more details or provide any suggestions on implementation as well.

Brief Description of Our Project

  • We have a repository of OpenAI Style plugins. These are exposed at endpoints like https://service.com/api/.well-known/ai-plugin.json. These are added simply using Semantic Kernel in C#.
  • For orchestration we simply use OpenAI Function Calling via Semantic Kernel

Work tried so far

Our initial attempt was to use Python Semantic Kernel. Expose our C# plugins via OpenAI Plugins like mentioned above. Then create Prompt Flow "Tools" by using python SK to add them to the kernel and call a completion with them. This fails because python Semantic Kernel has no support for OpenAI plugins.

How We'd like to Test with Prompt Flow

  • Evaluating Single Plugins: These evaluations would take a list of questions + ground truths. We'd then provide the Kernel with the Single OpenAI style plugin and evaluate the results.
  • Evaluating Multiple Plugins: Same as above but providing the Kernel multiple plugins
  • Evaluating Orchestration: These would evaluate how well the Planner chooses the right plugins.

This image shows our plan to include SK Plugins via python SK. This was not possible due to the lack of OpenAI Plugin support from python SK. Ideally we'd like to be able to do something similar to this, but each C# Semantic Kernel plugin could be exposed as a Prompt Flow Tool. image

aj-dev-smith avatar Jan 03 '24 18:01 aj-dev-smith

We have a first version of Promptflow.Net now, and we are verifying its functionality & quality with Microsoft Internal Customer. We will post update here if it's ready to share with broad scope. Thanks for reaching to us!

wangchao1230 avatar Jan 05 '24 03:01 wangchao1230

Thanks @wangchao1230, that's great news. Looking forward to the updates!

aj-dev-smith avatar Jan 05 '24 14:01 aj-dev-smith

I am interested as well, if there are any updates on this. @wangchao1230

Coding-With-Ashish avatar Mar 19 '24 10:03 Coding-With-Ashish

Any status on Promptflow.NET? @wangchao1230

josemnbcamacho avatar Apr 09 '24 12:04 josemnbcamacho

Also interested

vgallegob avatar Apr 14 '24 12:04 vgallegob

Also interested too!

andrewpham-msft avatar Apr 18 '24 01:04 andrewpham-msft

Yes!

jack0fshad0ws avatar May 05 '24 23:05 jack0fshad0ws

Very much keen on it

Karthik-Jothi avatar May 22 '24 13:05 Karthik-Jothi

Likewise, as well. As an Microsoft Technology Center Architect, I typically work with 2 - 3 enterprise customers each week. I can you assure you there is a tremendous amount of interest in expanding AI Studio, specifically Prompt Flow, to include C# development teams. As you move into the Enterprise App space, you'll find that teams tasked with constructing GenAI and Intelligent Apps are typically grounded in C# and Java. Had hoped to hear about PF C# at Build, but heard no mention. Question: Is this still an active project?

robvet avatar Jun 03 '24 01:06 robvet

Likewise, as well. As an Microsoft Technology Center Architect, I typically work with 2 - 3 enterprise customers each week. I can you assure you there is a tremendous amount of interest in expanding AI Studio, specifically Prompt Flow, to include C# development teams. As you move into the Enterprise App space, you'll find that teams tasked with constructing GenAI and Intelligent Apps are typically grounded in C# and Java. Had hoped to hear about PF C# at Build, but heard no mention. Question: Is this still an active project?

Yes. It's still an active project. The promptflow .Net experience is under internal review process to get it public preview. However I could not provide an ETA of when it will be come publicly available now.

wangchao1230 avatar Jun 06 '24 02:06 wangchao1230

@wangchao1230 is there any way to sign up for a private preview?

vicperdana avatar Jun 25 '24 04:06 vicperdana

Any Update from Prompt flow .Net?

imranshams avatar Jul 28 '24 15:07 imranshams

There should be support for mixed-language-flows.

The individual nodes should be able to be written in different programming languages. Something like this could be implemented by supporting Jupyter Notebook Kernels.

This way, not only would .NET languages (PowerShell, C#, F#, ...) supported, but also other languages like Java or Mathematica.

MovGP0 avatar Aug 21 '24 07:08 MovGP0

@wangchao1230 Any news on a dotnet release or preview?

Promptflow feels like the "glue" missing from the AG + SK project I am working on.

cmandlbaur avatar Sep 24 '24 14:09 cmandlbaur

@wangchao1230 has there been any update? There's level of interests in keeping codebase in .NET.

vicperdana avatar Oct 17 '24 04:10 vicperdana

Any updates on this? We are investing quite a bit of time in prompt flow and semantic kernel (dotnet version), and feel like there should be an integration point between these two.

malv007 avatar Nov 05 '24 06:11 malv007

Any status on Promptflow.NET?

davicbaba avatar Nov 07 '24 02:11 davicbaba

I'm going to pile on....looking for more info on PF .Net

ethan-giordano-cf avatar Nov 07 '24 20:11 ethan-giordano-cf

@wangchao1230 Can you please provide an update on this?

RicardoNiepel avatar Dec 20 '24 09:12 RicardoNiepel