-
Notifications
You must be signed in to change notification settings - Fork 251
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
Add new colab notebook for AdalFlow data class implementation #226
Conversation
@liyin2015 let me know if the notebook is fine |
@@ -0,0 +1,794 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Line #5. box_office: Optional[float] = field(
No need to use Optional. As any field in dataclass that comes with default
or default_factory
is an optional field. Sometimes using Optional
will confuse the LLM or unable to support complicated data structure
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have addressed the issue
@@ -0,0 +1,794 @@ | |||
{ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try to use <USER></USER> to replace User: This fits more on how LLMs are using special tokens
Reply via ReviewNB
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i have addressed the issue
@ajithvcoder This is great work to show more complicated dataclass structure. I have left comments and basically need to add "No optional" in the dataclass. And please adjust to this new info and rerun the test again. And then it should be good to go! Also, please rebase to the main as the current base failed on tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
check out comments
@liyin2015 @Sylph-AI i will do the required changes but it wont pass the ci/cd because there is no quotes here . i have addressed similar issues in this pr #227 . |
Check out this pull request on See visual diffs & provide feedback on Jupyter Notebooks. Powered by ReviewNB |
@liyin2015 i have made the changes kindly review, its a single file which is not in Adalflow/main branch so i didnt rebase it. Also it has successfully passed the checks |
found a method for rebasing and i have rebased it also |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looking good.
Added a new notebook for dataclass tutorial based on following issues