Matrix Docker Ansible eploy
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

36 строки
2.4 KiB

  1. #jinja2: lstrip_blocks: "True"
  2. base_url: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_base_url | to_json }}
  3. api_key: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_api_key | to_json }}
  4. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_enabled %}
  5. text_generation:
  6. model_id: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_model_id | to_json }}
  7. prompt: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_prompt | to_json }}
  8. temperature: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_temperature | to_json }}
  9. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_max_response_tokens %}
  10. max_response_tokens: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_max_response_tokens | int | to_json }}
  11. {% endif %}
  12. max_context_tokens: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_max_context_tokens | int | to_json }}
  13. {% endif %}
  14. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_speech_to_text_enabled %}
  15. speech_to_text:
  16. model_id: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_speech_to_text_model_id | to_json }}
  17. {% endif %}
  18. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_enabled %}
  19. text_to_speech:
  20. model_id: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_model_id | to_json }}
  21. voice: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_voice | to_json }}
  22. speed: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_speed | float }}
  23. response_format: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_response_format | to_json }}
  24. {% endif %}
  25. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_enabled %}
  26. image_generation:
  27. model_id: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_model_id | to_json }}
  28. style: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_style | to_json }}
  29. size: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_size | to_json }}
  30. {% endif %}