Skip to content

web search done right

update config files to match new dual_encoder path

Mikkel Denker3ab9c301e481
diff --git a/configs/api.toml b/configs/api.toml
index 2740dcd7..46d5f1c6 100644
--- a/configs/api.toml
+++ b/configs/api.toml
@@ -5,10 +5,9 @@ gossip_seed_nodes = ["0.0.0.0:3006", "0.0.0.0:3007"]
host = "0.0.0.0:3000"
# lambda_model_path = "data/lambdamart.txt"
bangs_path = "data/bangs.json"
-dual_encoder_model_path = "data/summarizer/dual_encoder"
+# dual_encoder_model_path = "data/dual_encoder"
prometheus_host = "0.0.0.0:3001"
queries_csv_path = "data/queries_us.csv"
-summarizer_path = "data/summarizer"
[spell_check]
path = "data/web_spell/checker"
diff --git a/configs/search_server.toml b/configs/search_server.toml
index 0453c739..5dcd49dc 100644
--- a/configs/search_server.toml
+++ b/configs/search_server.toml
@@ -1,5 +1,5 @@
cluster_id = "dev_search"
-dual_encoder_model_path = "data/summarizer/dual_encoder"
+# dual_encoder_model_path = "data/dual_encoder"
entity_index_path = "data/entity"
gossip_addr = "0.0.0.0:3006"
gossip_seed_nodes = ["0.0.0.0:3005"]
diff --git a/tools/ranking-diff/src/index.test.ts b/tools/ranking-diff/src/index.test.ts
index e07cbbd7..964d2872 100644
--- a/tools/ranking-diff/src/index.test.ts
+++ b/tools/ranking-diff/src/index.test.ts
@@ -1,7 +1,7 @@
import { describe, it, expect } from 'vitest';
describe('sum test', () => {
- it('adds 1 + 2 to equal 3', () => {
- expect(1 + 2).toBe(3);
- });
+ it('adds 1 + 2 to equal 3', () => {
+ expect(1 + 2).toBe(3);
+ });
});