Closed rajib76 closed 9 months ago
Thanks @rajib76 ! Improving the comprehensiveness prompting in this PR: https://github.com/truera/trulens/pull/901
please give it a try if you get a chance!
Hey @rajib76 - this is released in 0.23.0!
Thanks Josh, will try it now.
On Fri, Feb 16, 2024 at 1:09 PM Josh Reini @.***> wrote:
Hey @rajib76 https://github.com/rajib76 - this is released in 0.23.0!
— Reply to this email directly, view it on GitHub https://github.com/truera/trulens/issues/889#issuecomment-1949339289, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD4VIRELLBLTICYKT5GIBXDYT7DJ3AVCNFSM6AAAAABDDXP4M2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNBZGMZTSMRYHE . You are receiving this because you were mentioned.Message ID: @.***>
openai_provider.comprehensiveness_with_cot_reasons(source=
If you execute the above code, the current COT prompting does not capture the supporting evidence, it is coming as empty. I am suggesting the below solutions
In prompts.py, change the COTS prompt as below
change feedback->provider->base.py as
Idea here is to use a JSON output parser. GPT-4 is trained to provide efficient JSON output, we can leverage that capability to make this more deterministic and efficient.