microsoft / prompty

Prompty makes it easy to create, manage, debug, and evaluate LLM prompts for your AI applications. Prompty is an asset class and format for LLM prompts designed to enhance observability, understandability, and portability for developers.
https://prompty.ai
MIT License
144 stars 9 forks source link

why not support simple python projects? #6

Open nickknyc opened 1 month ago

nickknyc commented 1 month ago

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.

sethjuarez commented 1 month ago

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?

nickknyc commented 1 month ago

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 GitHubhttps://github.com/microsoft/prompty/issues/6#issuecomment-2130917770, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAMGI3BXCJ4RLVZLUOCXKOTZEAWQHAVCNFSM6AAAAABIIE33Y6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZQHEYTONZXGA. You are receiving this because you authored the thread.Message ID: @.***>

mattgotteiner commented 1 month ago

Looks like there's some parsing code in the promptflow library https://github.com/microsoft/promptflow/blob/1826b3e55e36132281d68e1765f43aa13b6e5241/src/promptflow-core/promptflow/core/_flow.py#L218

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

sethjuarez commented 3 weeks ago

We are working on getting some of our internal community packages released.