com.dingtalk.baymax.framework.sdk.mercury.retriever.BaseRetriever Maven / Gradle / Ivy
package com.dingtalk.baymax.framework.sdk.mercury.retriever;
import com.dingtalk.baymax.framework.sdk.mercury.domain.BaseModel;
import com.dingtalk.baymax.framework.sdk.mercury.domain.Document;
import java.util.List;
import java.util.Map;
public abstract class BaseRetriever extends BaseModel {
/**
* 获取与查询相关的文档
*
* @param query
* @param recommendCount
* @return
*/
public abstract List getRelevantDocuments(String query, Integer recommendCount, Map context);
}