2024-12-07 16:36:07 +00:00
|
|
|
{#
|
|
|
|
SPDX-FileCopyrightText: 2024 MDAD Team and contributors
|
|
|
|
|
|
|
|
SPDX-License-Identifier: AGPL-3.0-or-later
|
|
|
|
#}
|
|
|
|
|
2024-09-12 12:19:40 +00:00
|
|
|
#jinja2: lstrip_blocks: "True"
|
|
|
|
base_url: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_base_url | to_json }}
|
|
|
|
|
|
|
|
api_key: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_api_key | to_json }}
|
|
|
|
|
|
|
|
{% if matrix_bot_baibot_config_agents_static_definitions_groq_config_text_generation_enabled %}
|
|
|
|
text_generation:
|
|
|
|
model_id: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_text_generation_model_id | to_json }}
|
|
|
|
prompt: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_text_generation_prompt | to_json }}
|
|
|
|
temperature: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_text_generation_temperature | to_json }}
|
|
|
|
max_response_tokens: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_text_generation_max_response_tokens | int | to_json }}
|
|
|
|
max_context_tokens: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_text_generation_max_context_tokens | int | to_json }}
|
|
|
|
{% endif %}
|
|
|
|
|
|
|
|
{% if matrix_bot_baibot_config_agents_static_definitions_groq_config_speech_to_text_enabled %}
|
|
|
|
speech_to_text:
|
|
|
|
model_id: {{ matrix_bot_baibot_config_agents_static_definitions_groq_config_speech_to_text_model_id | to_json }}
|
|
|
|
{% endif %}
|