96 lines
4.0 KiB
Django/Jinja
96 lines
4.0 KiB
Django/Jinja
version: {{ audita_config_version | to_json }}
|
|
{% if audita_profiles_dir is not none %}
|
|
profiles_dir: {{ audita_profiles_dir | to_json }}
|
|
{% endif %}
|
|
backends: {{ audita_backends | to_json }}
|
|
llm:
|
|
proposal_profile: {{ audita_llm_proposal_profile | to_json }}
|
|
{% if audita_llm_validation_profile is not none %}
|
|
validation_profile: {{ audita_llm_validation_profile | to_json }}
|
|
{% endif %}
|
|
{% if audita_llm_transient_retries is not none %}
|
|
transient_retries: {{ audita_llm_transient_retries | to_json }}
|
|
{% endif %}
|
|
{% if audita_llm_repair_attempts is not none %}
|
|
repair_attempts: {{ audita_llm_repair_attempts | to_json }}
|
|
{% endif %}
|
|
{% if audita_llm_operation_timeout is not none %}
|
|
operation_timeout: {{ audita_llm_operation_timeout | to_json }}
|
|
{% endif %}
|
|
{% if audita_pipeline_modules is not none %}
|
|
pipeline:
|
|
modules: {{ audita_pipeline_modules | to_json }}
|
|
{% endif %}
|
|
{% if audita_output_schema is not none %}
|
|
output:
|
|
schema: {{ audita_output_schema | to_json }}
|
|
{% endif %}
|
|
{% if audita_validation_max_prompt_tokens is not none %}
|
|
validation:
|
|
max_prompt_tokens: {{ audita_validation_max_prompt_tokens | to_json }}
|
|
{% endif %}
|
|
{% if audita_chunking_target_sections is not none or audita_chunking_max_section_tokens is not none or audita_chunking_min_section_tokens is not none %}
|
|
chunking:
|
|
{% if audita_chunking_target_sections is not none %}
|
|
target_sections: {{ audita_chunking_target_sections | to_json }}
|
|
{% endif %}
|
|
{% if audita_chunking_max_section_tokens is not none %}
|
|
max_section_tokens: {{ audita_chunking_max_section_tokens | to_json }}
|
|
{% endif %}
|
|
{% if audita_chunking_min_section_tokens is not none %}
|
|
min_section_tokens: {{ audita_chunking_min_section_tokens | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if audita_normalization_max_segment_gap is not none or audita_normalization_ellipsis_gap is not none or audita_normalization_max_segment_duration is not none or audita_normalization_max_segment_tokens is not none %}
|
|
normalization:
|
|
{% if audita_normalization_max_segment_gap is not none %}
|
|
max_segment_gap: {{ audita_normalization_max_segment_gap | float | to_json }}
|
|
{% endif %}
|
|
{% if audita_normalization_ellipsis_gap is not none %}
|
|
ellipsis_gap: {{ audita_normalization_ellipsis_gap | float | to_json }}
|
|
{% endif %}
|
|
{% if audita_normalization_max_segment_duration is not none %}
|
|
max_segment_duration: {{ audita_normalization_max_segment_duration | float | to_json }}
|
|
{% endif %}
|
|
{% if audita_normalization_max_segment_tokens is not none %}
|
|
max_segment_tokens: {{ audita_normalization_max_segment_tokens | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if audita_thresholds_glossary is not none or audita_thresholds_homophones is not none or audita_thresholds_spoken_word is not none or audita_thresholds_grammar is not none %}
|
|
thresholds:
|
|
{% if audita_thresholds_glossary is not none %}
|
|
glossary: {{ audita_thresholds_glossary | to_json }}
|
|
{% endif %}
|
|
{% if audita_thresholds_homophones is not none %}
|
|
homophones: {{ audita_thresholds_homophones | to_json }}
|
|
{% endif %}
|
|
{% if audita_thresholds_spoken_word is not none %}
|
|
spoken_word: {{ audita_thresholds_spoken_word | to_json }}
|
|
{% endif %}
|
|
{% if audita_thresholds_grammar is not none %}
|
|
grammar: {{ audita_thresholds_grammar | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if audita_context_description is not none %}
|
|
context:
|
|
description: {{ audita_context_description | to_json }}
|
|
{% endif %}
|
|
{% if audita_reporting_enabled is not none or audita_reporting_stdout_dir is not none %}
|
|
reporting:
|
|
{% if audita_reporting_enabled is not none %}
|
|
enabled: {{ audita_reporting_enabled | to_json }}
|
|
{% endif %}
|
|
{% if audita_reporting_stdout_dir is not none %}
|
|
stdout_dir: {{ audita_reporting_stdout_dir | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|
|
{% if audita_diagnostics_debug is not none or audita_diagnostics_work_dir is not none %}
|
|
diagnostics:
|
|
{% if audita_diagnostics_debug is not none %}
|
|
debug: {{ audita_diagnostics_debug | to_json }}
|
|
{% endif %}
|
|
{% if audita_diagnostics_work_dir is not none %}
|
|
work_dir: {{ audita_diagnostics_work_dir | to_json }}
|
|
{% endif %}
|
|
{% endif %}
|