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.
20 lines
687 B
Java
20 lines
687 B
Java
9 months ago
|
package com.supervision.chat.client;
|
||
|
|
||
|
import com.supervision.chat.client.dto.CreateBaseDTO;
|
||
|
import com.supervision.chat.client.dto.LangChainChatRes;
|
||
|
import org.springframework.web.bind.annotation.RequestBody;
|
||
|
import org.springframework.web.service.annotation.HttpExchange;
|
||
|
import org.springframework.web.service.annotation.PostExchange;
|
||
|
|
||
|
@HttpExchange
|
||
|
public interface LangChainChatService {
|
||
|
|
||
|
@PostExchange(url = "create_knowledge_base", contentType = "application/json")
|
||
|
void chat(@RequestBody CreateBaseDTO createBaseDTO);
|
||
|
|
||
|
@PostExchange(url = "chat/test/testPost", contentType = "application/json")
|
||
|
LangChainChatRes test(@RequestBody CreateBaseDTO createBaseDTO);
|
||
|
|
||
|
|
||
|
}
|