How to make the model not use all the elements of a list?

Hi there !

My problem is : I use text completion to imagine stories based on listed topics. I specify during the prompt that we can use “some of these topics”.

However, the model forces itself to use all the topics instead of using only certain coherent ones.

How to ensure that the model does not force itself to use all the themes listed but only those potentially relevant?

Thank you for your help :slight_smile:


1 Like

Hi @Lequentz
You can make the prompt clearer by specifying how many of those elements you want the model to use. E.g “Five of these”, “first three”, “any four”, or you can specify the positions of specific elements like “elements 1,3,6 and 8”


Hi @sps

Thanks for your help :slight_smile:

Indeed, by being more specific in the instruction (as you suggest), the result takes into account, in the majority of cases, this constraint.