Skip to content

Commit

Permalink
Added enable_search param
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikep86 committed May 2, 2024
1 parent b668081 commit 75830d5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion so_semantic_text/challenges/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,14 @@
"retry-until-success": true,
"include-in-reporting": false
}
},
}{% if p_enable_search %},
{
"name": "semantic-search",
"operation": "semantic-search",
"clients": {{ semantic_search_clients | default(1) | int }},
"time-period": {{ semantic_search_time_period | default(300) | int }},
"warmup-time-period": {{ semantic_search_warmup_time_period | default(10) | int }}
}
{% endif %}
]
}
1 change: 1 addition & 0 deletions so_semantic_text/track.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
{% set p_inference_model_id = (inference_model_id | default(".elser_model_2")) %}
{% set p_task_type = (task_type | default("sparse_embedding")) %}
{% set p_calculate_body_vector = (calculate_body_vector | default(false)) %}
{% set p_enable_search = (enable_search | default(false)) %}

{
"version": 2,
Expand Down

0 comments on commit 75830d5

Please sign in to comment.