Update SSS
This commit is contained in:
parent
904a010abf
commit
71f372256e
1 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ class SemanticSearchService {
|
|||
queryResults.add(QueryResult(embedding.id, score));
|
||||
}
|
||||
queryResults.sort((first, second) => second.score.compareTo(first.score));
|
||||
queryResults.removeWhere((element) => element.score < 0.27);
|
||||
queryResults.removeWhere((element) => element.score < 0.25);
|
||||
endTime = DateTime.now();
|
||||
_logger.info(
|
||||
"computingScores took: " +
|
||||
|
@ -123,7 +123,7 @@ class SemanticSearchService {
|
|||
|
||||
Future<void> _loadModel() async {
|
||||
const modelPath =
|
||||
"assets/models/clip/openai_clip-vit-base-patch32.ggmlv0.f16.bin";
|
||||
"assets/models/clip/openai_clip-vit-base-patch32.ggmlv0.q4_0.bin";
|
||||
|
||||
final path = await _getAccessiblePathForAsset(modelPath, "model.bin");
|
||||
final startTime = DateTime.now();
|
||||
|
|
Loading…
Add table
Reference in a new issue