app:
  description: ''
  icon: 👨‍💻
  icon_background: '#FFEAD5'
  mode: completion
  name: 代码转换器
  use_icon_as_answer_icon: false
dependencies: []
kind: app
model_config:
  agent_mode:
    enabled: false
    max_iteration: 5
    strategy: react
    tools: []
  annotation_reply:
    enabled: false
  chat_prompt_config: {}
  completion_prompt_config: {}
  dataset_configs:
    datasets:
      datasets: []
    retrieval_model: single
  dataset_query_variable: ''
  external_data_tools: []
  file_upload:
    image:
      detail: high
      enabled: false
      number_limits: 3
      transfer_methods:
      - remote_url
      - local_file
  model:
    completion_params:
      frequency_penalty: 0
      max_tokens: 8197
      plugin_web_search: false
      presence_penalty: 0
      stop: []
      temperature: 0.51
      top_p: 1
    mode: chat
    name: abab5.5-chat
    provider: minimax
  more_like_this:
    enabled: false
  opening_statement: ''
  pre_prompt: '提供多种代码语言转换能力，将用户输入的代码转换成他们需要的代码语言。请将以下代码片段转为{{Target_code}}: 当用户输入的信息是非代码片段时，提示：请正确输入代码片段。{{default_input}}'
  prompt_type: simple
  retriever_resource:
    enabled: false
  sensitive_word_avoidance:
    canned_response: ''
    enabled: false
    words: ''
  speech_to_text:
    enabled: false
  suggested_questions: []
  suggested_questions_after_answer:
    enabled: false
  text_to_speech:
    enabled: false
  user_input_form:
  - select:
      default: ''
      label: 目标语言
      options:
      - Java
      - JavaScript
      - Swift
      - Go
      - Shell
      - PHP
      - Python
      - C
      - C#
      - Objective-C
      - Ruby
      - R
      required: true
      variable: Target_code
  - paragraph:
      default: ''
      label: 代码片段
      required: true
      variable: default_input
version: 0.1.5
