|
...
|
...
|
@@ -9,15 +9,22 @@ import org.springframework.web.multipart.MultipartFile; |
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
public interface IQuestionEmbeddingService {
|
|
|
|
|
|
|
|
Page<QuestionEmbedding> findAll(QuestionEmbedding questionEmbedding, Integer pageNo, Integer pageSize);
|
|
|
|
|
|
|
|
Integer findQuestionCount(QuestionEmbedding questionEmbedding);
|
|
|
|
|
|
|
|
QuestionEmbedding findById(String id);
|
|
|
|
|
|
|
|
int insert(QuestionEmbedding record);
|
|
|
|
|
|
|
|
int update(QuestionEmbedding record);
|
|
|
|
|
|
|
|
int removeByIds(List<String> ids);
|
|
|
|
|
|
|
|
int deleteById(String id);
|
|
|
|
|
|
|
|
List<QuestionEmbedding> similaritySearchByQuestion(String question, int limit, Double minSimilarity, AiragChatsetting chatSetting);
|
|
|
|
List<QuestionEmbedding> similaritySearch(float[] vector, int limit);
|
|
|
|
|
|
|
|
Result<?> processZipUpload(MultipartFile file, String knowledgeId);
|
|
|
|
} |
|
|
\ No newline at end of file |
...
|
...
|
|