69 lines
3.1 KiB
Django/Jinja
69 lines
3.1 KiB
Django/Jinja
version: {{ notarius_config_version }}
|
|
{% if notarius_configkit_imports is not none %}
|
|
configkit:
|
|
imports: {{ notarius_configkit_imports | to_json }}
|
|
{% endif %}
|
|
{% if notarius_promptkit_profile_dir is not none or notarius_promptkit_profile_file is not none or notarius_promptkit_transient_retries is not none or notarius_promptkit_local_backend_endpoint is not none or notarius_promptkit_local_backend_concurrency_limit is not none %}
|
|
promptkit:
|
|
{% if notarius_promptkit_profile_dir is not none %}
|
|
profile_dir: {{ notarius_promptkit_profile_dir | to_json }}
|
|
{% endif %}
|
|
{% if notarius_promptkit_profile_file is not none %}
|
|
profile_file: {{ notarius_promptkit_profile_file | to_json }}
|
|
{% endif %}
|
|
{% if notarius_promptkit_transient_retries is not none %}
|
|
transient_retries: {{ notarius_promptkit_transient_retries | to_json }}
|
|
{% endif %}
|
|
{% if notarius_promptkit_local_backend_endpoint is not none or notarius_promptkit_local_backend_concurrency_limit is not none %}
|
|
local_backend:
|
|
{% if notarius_promptkit_local_backend_endpoint is not none %}
|
|
endpoint: {{ notarius_promptkit_local_backend_endpoint | to_json }}
|
|
{% endif %}
|
|
{% if notarius_promptkit_local_backend_concurrency_limit is not none %}
|
|
concurrency_limit: {{ notarius_promptkit_local_backend_concurrency_limit | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if notarius_pipelines is not none %}
|
|
pipelines: {{ notarius_pipelines | to_json }}
|
|
{% endif %}
|
|
{% if notarius_concurrency_total_llm is not none or notarius_concurrency_stage_workers_extract is not none %}
|
|
concurrency:
|
|
{% if notarius_concurrency_total_llm is not none %}
|
|
total_llm: {{ notarius_concurrency_total_llm | to_json }}
|
|
{% endif %}
|
|
{% if notarius_concurrency_stage_workers_extract is not none %}
|
|
stage_workers:
|
|
extract: {{ notarius_concurrency_stage_workers_extract | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if notarius_output_directory is not none %}
|
|
output:
|
|
directory: {{ notarius_output_directory | to_json }}
|
|
{% endif %}
|
|
{% if notarius_cache_chunk_plans_mode is not none or notarius_cache_chunk_plans_directory is not none or notarius_cache_checkpoints_enabled is not none or notarius_cache_checkpoints_directory is not none %}
|
|
cache:
|
|
{% if notarius_cache_chunk_plans_mode is not none or notarius_cache_chunk_plans_directory is not none %}
|
|
chunk_plans:
|
|
{% if notarius_cache_chunk_plans_mode is not none %}
|
|
mode: {{ notarius_cache_chunk_plans_mode | to_json }}
|
|
{% endif %}
|
|
{% if notarius_cache_chunk_plans_directory is not none %}
|
|
directory: {{ notarius_cache_chunk_plans_directory | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if notarius_cache_checkpoints_enabled is not none or notarius_cache_checkpoints_directory is not none %}
|
|
checkpoints:
|
|
{% if notarius_cache_checkpoints_enabled is not none %}
|
|
enabled: {{ notarius_cache_checkpoints_enabled | to_json }}
|
|
{% endif %}
|
|
{% if notarius_cache_checkpoints_directory is not none %}
|
|
directory: {{ notarius_cache_checkpoints_directory | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if notarius_debug_directory is not none %}
|
|
debug:
|
|
directory: {{ notarius_debug_directory | to_json }}
|
|
{% endif %}
|