Skip to content

Commit 7fa4b0e

Browse files
committed
Fix styling
1 parent de1328a commit 7fa4b0e

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/RAG/RAGDB.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,10 +84,10 @@ public static function hybridSearch(
8484
return self::ragTable($table)->performHybridSearch(
8585
$textQuery,
8686
$queryVector,
87-
$options['text_column'] ?? null,
88-
$options['vector_column'] ?? null,
8987
$options['text_weight'] ?? 0.3,
9088
$options['vector_weight'] ?? 0.7,
89+
$options['text_column'] ?? null,
90+
$options['vector_column'] ?? null,
9191
$options['limit'] ?? null
9292
);
9393
}

src/RAG/RAGQueryBuilder.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,10 @@ public function performSemanticSearch(
141141
public function performHybridSearch(
142142
string $textQuery,
143143
array $queryVector,
144-
string $textColumn,
145-
string $vectorColumn,
146144
float $textWeight = 0.3,
147145
float $vectorWeight = 0.7,
146+
?string $textColumn = null,
147+
?string $vectorColumn = null,
148148
?int $limit = null
149149
): PromiseInterface {
150150
$textColumn ??= $this->ragConfig['default_content_column'];

0 commit comments

Comments
 (0)