Matrix Docker Ansible eploy
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

34 lines
2.5 KiB

  1. #jinja2: lstrip_blocks: True
  2. base_url: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_base_url | to_json }}
  3. api_key: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_api_key | to_json }}
  4. {% if matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_enabled %}
  5. text_generation:
  6. model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_model_id | to_json }}
  7. prompt: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_prompt | to_json }}
  8. temperature: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_temperature | to_json }}
  9. max_response_tokens: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_max_response_tokens | int | to_json }}
  10. max_context_tokens: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_generation_max_context_tokens | int | to_json }}
  11. {% endif %}
  12. {% if matrix_authentication_service_config_agents_static_definitions_openai_config_speech_to_text_enabled %}
  13. speech_to_text:
  14. model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_speech_to_text_model_id | to_json }}
  15. {% endif %}
  16. {% if matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_enabled %}
  17. text_to_speech:
  18. model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_model_id | to_json }}
  19. voice: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_voice | to_json }}
  20. speed: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_speed | float }}
  21. response_format: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_text_to_speech_response_format | to_json }}
  22. {% endif %}
  23. {% if matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_enabled %}
  24. image_generation:
  25. model_id: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_model_id | to_json }}
  26. style: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_style | to_json }}
  27. size: {{ matrix_authentication_service_config_agents_static_definitions_openai_config_image_generation_size | to_json }}
  28. {% endif %}