Open darrelhong opened 1 month ago
@microsoft-github-policy-service agree
this might solve issues - https://github.com/microsoft/promptflow/issues/3834 and https://github.com/microsoft/promptflow/issues/3806 facing this issue as well
2024-11-03 21:55:24 +0800 30919 execution ERROR 1/1 flow run failed, indexes: [0], exception of index 0: Execution failure in 'generate_creative_rewrites': (TypeError) unsupported operand type(s) for +: 'dict' and 'dict'
using promptflow==1.16.1 and openai ==1.44.1
Hi, thank you for your interest in helping to improve the prompt flow experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment.
0 tests 0 ✅ 0s ⏱️ 0 suites 0 💤 0 files 0 ❌
Results for commit 8727276e.
0 tests 0 ✅ 0s ⏱️ 0 suites 0 💤 0 files 0 ❌
Results for commit 8727276e.
0 tests 0 ✅ 0s ⏱️ 0 suites 0 💤 0 files 0 ❌
Results for commit 8727276e.
Description
This PR fixes #3806 as it appears the the tokens object may contain nested objects. Added a function to handle merging nested dicts
All Promptflow Contribution checklist:
General Guidelines and Best Practices
Testing Guidelines