Skip to content

Commit

Permalink
Merge branch 'main' into feature/pdct-1759-make-backend-config-endpoi…
Browse files Browse the repository at this point in the history
…nt-focused-on-corpora-not
  • Loading branch information
annaCPR committed Dec 18, 2024
2 parents 0357c63 + 5d01cd9 commit 696cb2e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "navigator_backend"
version = "1.19.19"
version = "1.19.21"
description = ""
authors = ["CPR-dev-team <[email protected]>"]
packages = [{ include = "app" }, { include = "tests" }]
Expand All @@ -10,7 +10,7 @@ python = "^3.10"
Authlib = "^0.15.5"
bcrypt = "^3.2.0"
boto3 = "^1.26"
cpr_sdk = { version = "1.10.2", extras = ["vespa"] }
cpr_sdk = { version = "1.11.0", extras = ["vespa"] }
fastapi = "^0.104.1"
fastapi-health = "^0.4.0"
fastapi-pagination = { extras = ["sqlalchemy"], version = "^0.12.19" }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ schema document_passage {
first-phase {
expression: text_score()
}
match-features: text_score() fieldMatch(text_block)
summary-features: text_score() fieldMatch(text_block)
}

rank-profile exact_not_stemmed inherits default {
Expand All @@ -187,7 +187,7 @@ schema document_passage {
first-phase {
expression: text_score()
}
match-features: text_score() fieldMatch(text_block)
summary-features: text_score() fieldMatch(text_block)
}

rank-profile hybrid_no_closeness inherits default {
Expand All @@ -197,7 +197,7 @@ schema document_passage {
first-phase {
expression: text_score()
}
match-features: text_score() bm25(text_block)
summary-features: text_score() bm25(text_block)
}

rank-profile hybrid inherits default {
Expand All @@ -210,7 +210,7 @@ schema document_passage {
first-phase {
expression: text_score()
}
match-features: text_score() bm25(text_block) closeness(text_embedding)
summary-features: text_score() bm25(text_block) closeness(text_embedding)
}

rank-profile hybrid_custom_weight inherits default {
Expand All @@ -224,6 +224,6 @@ schema document_passage {
first-phase {
expression: text_score()
}
match-features: text_score() bm25(text_block) closeness(text_embedding)
summary-features: text_score() bm25(text_block) closeness(text_embedding)
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ schema family_document {
first-phase {
expression: name_score() + description_score()
}
match-features: name_score() description_score()
summary-features: name_score() description_score()
}

rank-profile exact_not_stemmed inherits default {
Expand All @@ -191,7 +191,7 @@ schema family_document {
first-phase {
expression: name_score() + description_score()
}
match-features: name_score() description_score()
summary-features: name_score() description_score()
}

rank-profile hybrid_no_closeness inherits default {
Expand All @@ -204,7 +204,7 @@ schema family_document {
first-phase {
expression: name_score() + description_score()
}
match-features: name_score() description_score()
summary-features: name_score() description_score()
}

rank-profile hybrid inherits default {
Expand All @@ -220,7 +220,7 @@ schema family_document {
first-phase {
expression: name_score() + description_score()
}
match-features: name_score() description_score()
summary-features: name_score() description_score()
}

rank-profile hybrid_no_description_embedding inherits default {
Expand All @@ -236,7 +236,7 @@ schema family_document {
first-phase {
expression: name_score() + description_score()
}
match-features: name_score() description_score()
summary-features: name_score() description_score()
}

rank-profile hybrid_custom_weight inherits default {
Expand All @@ -253,7 +253,7 @@ schema family_document {
first-phase {
expression: name_score() + description_score()
}
match-features: name_score() description_score()
summary-features: name_score() description_score()
}


Expand Down

0 comments on commit 696cb2e

Please sign in to comment.