Matrix Docker Ansible eploy
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 

43 wiersze
3.0 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. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_max_completion_tokens %}
  13. max_completion_tokens: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_max_completion_tokens | int | to_json }}
  14. {% endif %}
  15. max_context_tokens: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_max_context_tokens | int | to_json }}
  16. tools:
  17. web_search: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_tools_web_search | to_json }}
  18. code_interpreter: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_generation_tools_code_interpreter | to_json }}
  19. {% endif %}
  20. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_speech_to_text_enabled %}
  21. speech_to_text:
  22. model_id: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_speech_to_text_model_id | to_json }}
  23. {% endif %}
  24. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_enabled %}
  25. text_to_speech:
  26. model_id: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_model_id | to_json }}
  27. voice: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_voice | to_json }}
  28. speed: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_speed | float }}
  29. response_format: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_text_to_speech_response_format | to_json }}
  30. {% endif %}
  31. {% if matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_enabled %}
  32. image_generation:
  33. model_id: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_model_id | to_json }}
  34. style: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_style | to_json }}
  35. size: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_size | to_json }}
  36. quality: {{ matrix_bot_baibot_config_agents_static_definitions_openai_config_image_generation_quality | to_json }}
  37. {% endif %}