Prompty FileProviders for dotnet #8680
Closed
Tyler-R-Kendrick
started this conversation in
Ideas
Replies: 1 comment
-
PR is approved and will be merged shortly |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, the Prompty implementation relies on System.IO.File for io operations.
Using the Microsoft.Extensions.FileProviders apis would allow for greater extensibility.
More specifically, the current implementation doesn't support loading embedded resources.
Prompts for agents are often embedded into assemblies or loaded from a remote resource; the current implementation doesn't support these client scenarios.
I propose adding an optional file provider that defaults to the physical provider for backwards compatibility.
I also have a PR implementing this request.
Beta Was this translation helpful? Give feedback.
All reactions