add new configs
This commit is contained in:
21
src/Config/NdjsonHybridRetrieverConfig.php
Normal file
21
src/Config/NdjsonHybridRetrieverConfig.php
Normal file
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Config;
|
||||
|
||||
class NdjsonHybridRetrieverConfig
|
||||
{
|
||||
public const VECTOR_SCORE_THRESHOLD = 0.75;
|
||||
|
||||
public const HARD_MAX_CHUNKS = 90;
|
||||
public const HARD_MAX_VECTORK = 250;
|
||||
|
||||
public const LIST_BONUS = 1.25;
|
||||
|
||||
public const MAX_CHUNKS_PER_DOC = 2;
|
||||
public const MIN_CHUNK_DISTANCE = 2.5;
|
||||
public const RRF_K = 60;
|
||||
|
||||
public const THRESHOLD_FLOOR = 0.83;
|
||||
public const THRESHOLD_CEIL = 0.92;
|
||||
public const EMPTY_RRF_FALLBACK_TOPN = 1;
|
||||
}
|
||||
Reference in New Issue
Block a user