REST icon indicating copy to clipboard operation
REST copied to clipboard

How to adjust the maximum token lengths when drafting?

Open zomss opened this issue 1 year ago • 3 comments

I am trying to adjust draft tokens by length, explicitly aiming to retrieve tokens with a size greater than four by changing the “long” parameter when calling the search function. However, the draft retriever still returns tokens with lengths shorter than 4.

How can I ensure tokens with lengths longer than four are returned?

zomss avatar Sep 07 '24 06:09 zomss

Hi, I wonder if you rebuilt the file to install Draftretriver after changing the code.

zhenyuhe00 avatar Sep 07 '24 08:09 zhenyuhe00

Thanks. I revise the code for draftretriever, and then it is working.

zomss avatar Sep 07 '24 11:09 zomss

I am trying to adjust draft tokens by length, explicitly aiming to retrieve tokens with a size greater than four by changing the “long” parameter when calling the search function. However, the draft retriever still returns tokens with lengths shorter than 4.

How can I ensure tokens with lengths longer than four are returned?

So how can I get more retrieve tokens in a retrieve sequence? I change the long parameter and It also doesn‘t work

Siegfried-qgf avatar Sep 26 '24 06:09 Siegfried-qgf