when running prompty through the vs code extension, can't use a json file as a sample
I'm running prompty through the vs code extension. My prompty configuration has a complex input which I want to load from a json file. This doesn't seem to be supported by the extension
Great question - have you tried something like this?
It doesn't work. Interestingly enough when running the same .prompty file through the promptflow VS code extension through the test button, it works:
Can you describe what you are doing and what error you are getting?
I found that prompflow tries to search for files located in folders with lowercase, so, if you have a project in prompflow and the json files are located in folders named with some uppercase, prompflow can't find the file to be included (replaced) in prompty. I solve the problem renaming my folder to lowercase (I'm using WSL 2).
Marking as closed - happy to reopen if there are issues.