14 lines
338 B
Java
14 lines
338 B
Java
package com.knowledge.base.application.service;
|
|
|
|
import org.springframework.web.servlet.mvc.method.annotation.SseEmitter;
|
|
|
|
import java.util.Map;
|
|
|
|
public interface LLMAppService {
|
|
String getToken(String password) throws Exception;
|
|
SseEmitter ask(String llmToken, String question, Map<String, Object> params) throws Exception;
|
|
}
|
|
|
|
|
|
|