vespa-engine / vespa

AI + Data, online. https://vespa.ai
https://vespa.ai
Apache License 2.0
5.45k stars 583 forks source link

Unable to set top-k-probability as 1.0 #31715

Closed adityaverma21 closed 2 days ago

adityaverma21 commented 3 days ago

Describe the bug Unable to set top-k-probability as 1.0

https://github.com/vespa-engine/vespa/issues/31638

Still running into the same issue

My services.xml content

<content id="mydoc" version="1.0">
<redundancy>1</redundancy>
<engine>
<proton>
<resource-limits> </resource-limits>
<searchable-copies>1</searchable-copies>
<tuning>
<searchnode>
<feeding>
<concurrency>1.0</concurrency>
</feeding>
<requestthreads>
<search>8</search>
<persearch>4</persearch>
<summary>4</summary>
</requestthreads>
<flushstrategy>
<native>
<component>
<maxage>86400</maxage>
</component>
</native>
</flushstrategy>
</searchnode>
</tuning>
<sync-transactionlog>true</sync-transactionlog>
</proton>
</engine>
<tuning>
<cluster-controller>
<transition-time>3600</transition-time>
</cluster-controller>
<min-node-ratio-per-group>1</min-node-ratio-per-group>
<dispatch>
<top-k-probability>1.0</top-k-probability>
</dispatch>
</tuning>
<documents>
...
</documents>
</content>
geirst commented 2 days ago

Closing as a duplicate of https://github.com/vespa-engine/vespa/issues/31638.