-
Using version 0.0.29.
The value returned is 1.254e-05 instead of the decimal representation of 0.00001254. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Hello @mophilly! This is the LLM being creative. You can force it by given examples:
you can also implement a validator for this, if you want an extra layer of security
Change the validator at will |
Beta Was this translation helpful? Give feedback.
-
Here is what working for me right now. The import statements:
Then in the class definitions where I need financial precision, I changed "float" to "condecimal". Note the instruction regarding white space. I tried a couple of forms before this worked with gpt-4o.
Now that the result is at a good point, I am going to run gpt-4o-mini to see how its results differ from gpt-4o. @enoch3712 , thank you for all the help and for putting this project together. It is really helping me move my project forward. |
Beta Was this translation helpful? Give feedback.
Hello @mophilly!
This is the LLM being creative. You can force it by given examples:
description="The decimal interest of the owner in the transaction, column name: 'Owner Interest' position: 7. Always return normal decimal and NEVER Scientific Notation")
you can also implement a validator for this, if you want an extra layer of security
Change the validator at will