暂存
This commit is contained in:
@@ -40,4 +40,10 @@ return [
|
||||
'refresh' => getenv('OPENSEARCH_BULK_REFRESH') ?: 'false',
|
||||
'chunk_size' => (int) (getenv('OPENSEARCH_BULK_CHUNK_SIZE') ?: 500),
|
||||
],
|
||||
|
||||
'vector' => [
|
||||
'dimensions' => (int) (getenv('OPENSEARCH_VECTOR_DIMENSIONS') ?: 2048),
|
||||
'space_type' => getenv('OPENSEARCH_VECTOR_SPACE_TYPE') ?: 'cosinesimil',
|
||||
'engine' => getenv('OPENSEARCH_VECTOR_ENGINE') ?: 'lucene',
|
||||
],
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user