Skip to content

Commit

Permalink
add top_k at docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bwook00 committed Apr 22, 2024
1 parent d933625 commit 15d9806
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/source/nodes/passage_augmenter/passage_augmenter.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ node_lines:
metrics: [ retrieval_f1, retrieval_recall, retrieval_precision ]
speed_threshold: 5
embedding_model: openai
top_k: 5
modules:
- module_type: pass_passage_augmenter
- module_type: prev_next_augmenter
Expand Down
10 changes: 10 additions & 0 deletions sample_config/full.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ node_lines:
- (0.5, 0.5)
- (0.3, 0.7)
- (0.7, 0.3)
- node_type: passage_augmenter
strategy:
metrics: [ retrieval_f1, retrieval_recall, retrieval_precision ]
speed_threshold: 5
top_k: 5
embedding_model: openai
modules:
- module_type: pass_passage_augmenter
- module_type: prev_next_augmenter
mode: next
- node_type: passage_reranker
strategy:
metrics: [retrieval_f1, retrieval_recall, retrieval_precision]
Expand Down

0 comments on commit 15d9806

Please sign in to comment.