public class BaseAIService extends Object
| Constructor and Description |
|---|
BaseAIService(AIConfig config)
构造方法
|
| Modifier and Type | Method and Description |
|---|---|
protected Response |
sendFormData(String endpoint,
Map<String,Object> paramMap)
发送表单请求
|
protected Response |
sendGet(String endpoint)
发送Get请求
|
protected Response |
sendPost(String endpoint,
String paramJson)
发送Post请求
|
protected final AIConfig config
public BaseAIService(AIConfig config)
config - AI配置Copyright © 2025. All rights reserved.