Skip to content
Snippets Groups Projects
Commit 5f584f03 authored by ale's avatar ale
Browse files

Make service-request similarity threshold configurable

parent e900a112
No related branches found
No related tags found
No related merge requests found
--- ---
service_request_enable_submissions: false service_request_enable_submissions: false
service_request_similarity_threshold: 0.9
# List of available domains by resource type. # List of available domains by resource type.
available_domains: available_domains:
......
...@@ -42,7 +42,7 @@ GPG_PUBLIC_KEYRING = '/etc/service-request/gpg/pubring.kbx' ...@@ -42,7 +42,7 @@ GPG_PUBLIC_KEYRING = '/etc/service-request/gpg/pubring.kbx'
GPG_SECRET_KEY_DIR = '/etc/service-request/gpg/private-keys-v1.d' GPG_SECRET_KEY_DIR = '/etc/service-request/gpg/private-keys-v1.d'
{% endif %} {% endif %}
SIMILAR_REQUESTS_THRESHOLD = 0.97 SIMILAR_REQUESTS_THRESHOLD = {{ service_request_similarity_threshold }}
REQUEST_LOG = '/var/lib/service-requests/requestlog.jsonl' REQUEST_LOG = '/var/lib/service-requests/requestlog.jsonl'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment