Difficulties ordering returns with orderby

Good morning,
I’m having a problem creating a bot for my GPT. This bot is to help with questions about TV specs (size, screen technology, sound power, etc.).
In simple query mode, I was able to handle the client side with an orderby when it identified words like “larger, smaller, etc.”, but I want to use the semantic method because it can return better results. However, in this mode, when I ask “what is the largest TV available?” it brings up an intermediate-sized model. It seems like it can’t order the documents.

Any idea of ​​how I can make it understand when I ask about “larger, smaller, etc.” and return the results in DESC or ASC order (with the semantic mode)?

Thanks.

1 Like

Hi @dihslp !

My suggestion is to provide some rules on sizes, e.g. by telling it that size for TVs relates to the diagonal measurement in inches, e.g. 20", 45" etc. You could also provide an example, e.g. 20" Sony TV is smaller than 22" Samsung TV. It could be that “semantically” it’s getting confused by other size aspects, like box dimensions, weight, or even “brand market size”.

2 Likes

Thank you @platypus , I will do the tests according to the guidance.

regards.