Package io.jmix.aitools.service
Interface AiAssistantService
- All Known Implementing Classes:
AiAssistantServiceImpl
public interface AiAssistantService
Stateless, programmatic access to the AI assistant.
-
Method Summary
-
Method Details
-
send
Sends a message to the chat model and blocks until the full reply is produced.- Parameters:
message- user message- Returns:
- full reply text
-
stream
Streams the chat model's reply as a flux of text chunks.- Parameters:
message- user message- Returns:
- flux emitting reply chunks in order
-