llmware icon indicating copy to clipboard operation
llmware copied to clipboard

Issue with the spelling of between

Open sayansinha2019 opened this issue 1 year ago • 1 comments

WARNING:root:update: query generated error - not successful - SELECT SUM(SalesVolume) FROM customer1 WHERE Date BETWE 01/04/24 AND ProductCode = 'Iphone-15'

As you can see, its generating "BETWE" not "BETWEEN".

How to resolve this?

sayansinha2019 avatar May 10 '24 07:05 sayansinha2019

@sayansinha2019 - thanks for sharing this case. There may not be a perfect solution - likely will require a little bit of experimentation and trial and error.... We will note this, as we are taking the model through additional rounds of training. One question: how are you calling the model, and have you set sample=False and temperature=0.0 (this will help if the "BETWE" error is a function of sampling) ...

doberst avatar May 14 '24 12:05 doberst