feat(house): 重构AI找房匹配能力
This commit is contained in:
@@ -8,4 +8,11 @@ import com.alibaba.fastjson.JSONArray;
|
||||
public interface HouseAiModelClient {
|
||||
|
||||
String complete(JSONArray messages);
|
||||
|
||||
/**
|
||||
* 使用兼容 OpenAI 协议的原生 tools/tool_calls 调用模型。
|
||||
*/
|
||||
default HouseAiModelReply completeWithTools(JSONArray messages, JSONArray tools) {
|
||||
throw new UnsupportedOperationException("当前模型不支持原生工具调用");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user