You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
540 B
Java
24 lines
540 B
Java
1 year ago
|
package com.supervision.qanything;
|
||
|
|
||
|
import com.supervision.qanything.dto.ChatResult;
|
||
|
import com.supervision.qanything.dto.ResultWrapper;
|
||
|
|
||
|
import java.security.NoSuchAlgorithmException;
|
||
|
import java.util.List;
|
||
|
|
||
|
/**
|
||
|
* Qanything 接口服务
|
||
|
*/
|
||
|
public interface QanythingService {
|
||
|
|
||
|
|
||
|
/**
|
||
|
* 聊天接口
|
||
|
* @param question 问题
|
||
|
* @param kbIds 知识库ID
|
||
|
* @return
|
||
|
* @throws NoSuchAlgorithmException
|
||
|
*/
|
||
|
ResultWrapper<ChatResult> chat(String question,List<String> kbIds) throws NoSuchAlgorithmException;
|
||
|
}
|