-
Notifications
You must be signed in to change notification settings - Fork 859
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
Unable to create variant in Prompt Flow VSCode #2144
Comments
Hi @sargupta , I can't repro the issue. Can I know what extension version you used? If it was not the latest version. Can you try to update to the latest and then have a try? If you still encounter the same issue, can you please share the content of the flow.dag.yaml file and the content of the .promptflow/flow.tools.json file? By the way, there is a known issue with python 3.12. If you use python 3.12, you may need to downgrade to 3.11. |
Hi @naiyunzhang
Tried using python 3.11 however it didn't solve the issue.
However, there is no such file as .promptflow/flow.tools.json. |
@sargupta I mean the prompt flow vscode extension version. You can find your extension version here: The And, have you updated your flow.dag.yaml file from the time this issue occurred? It seems that there is not a variant on the node |
Hi @naiyunzhang Prompt flow for VS Code - v1.0.7
flow.dag.yaml
|
@sargupta The version v1.0.7 is old. There was a bug in some old versions and it has been fixed in newer versions. I believe an update to the newest version will fix the issue you encountered. Please have a try. Much thanks. |
Discussed in #2143
Originally posted by sargupta February 27, 2024
I have been trying to create a variant from the LLM tool, though I am able to do so in Azure ML PF UI however, when trying the same in VS Code, it's giving the following error:
basically, it's not recognizing the jinja2 file of the variant.
Note: this is irrespective if I am using same connection or a different one
Any thoughts?
The text was updated successfully, but these errors were encountered: