bluesecret opened a new issue, #8901:
URL: https://github.com/apache/seatunnel/issues/8901

   ### Search before asking
   
   - [x] I had searched in the 
[issues](https://github.com/apache/seatunnel/issues?q=is%3Aissue+label%3A%22bug%22)
 and found no similar issues.
   
   
   ### What happened
   
   submit job , return Json parsing exception, value 'DEEPSEEK', and expected 
type 'org.apache.seatunnel.transform.nlpmodel.ModelProvider'
   
   ### SeaTunnel Version
   
   2.3.9
   
   ### SeaTunnel Config
   
   ```conf
   env {
   "job.mode"=BATCH
   "job.name"="SeaTunnel_Job"
   "savemode.execute.location"=CLIENT
   }
   source {
   Jdbc {
       "connection_check_timeout_sec"="30"
       "fetch_size"="0"
       "use_select_count"="false"
       "skip_analyze"="false"
       "split.size"="8096"
       "split.even-distribution.factor.upper-bound"="100.0"
       "split.even-distribution.factor.lower-bound"="0.05"
       "split.sample-sharding.threshold"="1000"
       "split.inverse-sampling.rate"="1000"
       parallelism="1"
       "plugin_output"="Tabledndnode_7c8991b4-1dc8-4098-ad61-174ee4250a9e"
       query="SELECT `id`, `type`, `role_name`, `description`, `create_time`, 
`update_time` FROM `datalane`.`role`"
       driver="com.mysql.cj.jdbc.Driver"
       password=xxxxx
       
url="jdbc:mysql://10.10.10.180:3306/datalane?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8"
       user=root
   }
   }
   transform {
   LLM {
       "output_data_type"=STRING
       prompt="i just want data which id is 2"
       "plugin_output"="Tabledndnode_e706139f-dc1a-48c4-9041-ca24ac7937e1"
       "plugin_input"="Tabledndnode_7c8991b4-1dc8-4098-ad61-174ee4250a9e"
       "api_path"="https://api.deepseek.com/v1";
       "model_provider"=DEEPSEEK
       model=deepseek-chat
       "api_key"=xxxxxx
   }
   }
   sink {
   Jdbc {
       "schema_save_mode"="CREATE_SCHEMA_WHEN_NOT_EXIST"
       "data_save_mode"="APPEND_DATA"
       "create_index"="true"
       "connection_check_timeout_sec"="30"
       "batch_size"="1000"
       "is_exactly_once"="false"
       "max_commit_attempts"="3"
       "transaction_timeout_sec"="-1"
       "max_retries"="0"
       "auto_commit"="true"
       "support_upsert_by_query_primary_key_exist"="false"
       "multi_table_sink_replica"="1"
       "plugin_input"="Tabledndnode_e706139f-dc1a-48c4-9041-ca24ac7937e1"
       "generate_sink_sql"=true
       database=test
       table=role
       driver="com.mysql.cj.jdbc.Driver"
       password=xxxxx
       user=root
       
url="jdbc:mysql://10.10.10.180:3306/test?useSSL=false&serverTimezone=UTC&useUnicode=true&characterEncoding=utf-8"
   }
   }
   ```
   
   ### Running Command
   
   ```shell
   use restapi
   ```
   
   ### Error Exception
   
   ```log
   Json parsing exception, value 'DEEPSEEK', and expected type 
'org.apache.seatunnel.transform.nlpmodel.ModelProvider'
   ```
   
   ### Zeta or Flink or Spark Version
   
   _No response_
   
   ### Java or Scala Version
   
   _No response_
   
   ### Screenshots
   
   _No response_
   
   ### Are you willing to submit PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [x] I agree to follow this project's [Code of 
Conduct](https://www.apache.org/foundation/policies/conduct)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@seatunnel.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to