-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
why not support simple python projects? #6
Comments
That's an awesome question. In general, we need to have a runtime to execute these files in code. In theory you could definitely write your own prompty loader and execute it for sure. We thought it would be easier to do that in prompt flow. Are you suggesting we should have a standalone prompty library? |
absolutely. otherwise, it seems to be an "azure-only" tool - and you didn't mention autogen 😏
what would really make this sing would be a lightweight prompt library manager. seeing as it is all. md and frontmatter, i was thinking of using obsidian to manage them.... could be pretty powerful..
Sent from Surface Duo
…________________________________
From: Seth Juarez ***@***.***>
Sent: Saturday, May 25, 2024 2:36:51 AM
To: microsoft/prompty ***@***.***>
Cc: Nick Katsivelos ***@***.***>; Author ***@***.***>
Subject: Re: [microsoft/prompty] why not support simple python projects? (Issue #6)
That's an awesome question. In general, we need to have a runtime to execute these files in code. In theory you could definitely write your own prompty loader and execute it for sure. We thought it would be easier to do that in prompt flow. Are you suggesting we should have a standalone prompty library?
—
Reply to this email directly, view it on GitHub<#6 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AAMGI3BXCJ4RLVZLUOCXKOTZEAWQHAVCNFSM6AAAAABIIE33Y6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQHEYTONZXGA>.
You are receiving this because you authored the thread.Message ID: ***@***.***>
|
Looks like there's some parsing code in the promptflow library Any chance that we can get a local package that allows us to parse prompty files so we can write our own executors? For example, I might want to take a prompty that was meant for gpt-35-turbo but run it using a custom configuration using a foundation model I deployed on AI Studio |
We are working on getting some of our internal community packages released. |
We've released an early version of the prompty package on PyPI. I am working out a couple of things and am hoping to have something by EOW |
I have a slightly unrelated question, but is there any way to register custom executors with Prompty while using promptflow? |
Not at the moment. Currently promptflow uses its own execution mechanism and not the factory pattern we use in prompty. The prompty package lives at a lower level than promptflow. Building your own executor is not super difficult though. |
Will close this - we've set up the Python runtime code in this repo and it auto deploys to PyPI when tagged. Working on docs still. |
why do you need to be using semantic kernel or prompt flow?
why cant it work with a simple python script.. i must be missing something.
The text was updated successfully, but these errors were encountered: