Skip to content

Commit

Permalink
fix: knowledgebaseretriever update scoreThreshold default value from …
Browse files Browse the repository at this point in the history
…0.7 to 0.3

Signed-off-by: Abirdcfly <[email protected]>
  • Loading branch information
Abirdcfly committed Dec 20, 2023
1 parent da347e4 commit cc5f018
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type CommonRetrieverConfig struct {
// ScoreThreshold is the cosine distance float score threshold. Lower score represents more similarity.
// +kubebuilder:validation:Minimum=0
// +kubebuilder:validation:Maximum=1
// +kubebuilder:default=0.7
// +kubebuilder:default=0.3
ScoreThreshold float32 `json:"scoreThreshold,omitempty"`
// NumDocuments is the max number of documents to return.
// +kubebuilder:default=5
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
type: string
type: object
scoreThreshold:
default: 0.7
default: 0.3
description: ScoreThreshold is the cosine distance float score threshold.
Lower score represents more similarity.
maximum: 1
Expand Down
4 changes: 2 additions & 2 deletions deploy/charts/arcadia/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ dependencies:
- name: chromadb
repository: ""
version: 0.1.19
digest: sha256:3290cfc76517017aa614ea50a56c20d890d6d01a05d5dda687961d1638a8ac3d
generated: "2023-12-19T08:14:19.740542276Z"
digest: sha256:e1baef276a6d9d9462cca0f5936c9be9017ac640efe82c13518b235c8f52d964
generated: "2023-12-20T17:42:06.964973+08:00"
2 changes: 1 addition & 1 deletion deploy/charts/arcadia/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ apiVersion: v2
name: arcadia
description: A Helm chart(KubeBB Component) for KubeAGI Arcadia
type: application
version: 0.1.47
version: 0.1.48
appVersion: "0.0.1"

keywords:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ spec:
type: string
type: object
scoreThreshold:
default: 0.7
default: 0.3
description: ScoreThreshold is the cosine distance float score threshold.
Lower score represents more similarity.
maximum: 1
Expand Down

0 comments on commit cc5f018

Please sign in to comment.