Interface IAIModelRequestHandler
public interface IAIModelRequestHandler
Provides an abstraction for sending asynchronous requests to AI models and receiving structured responses.
-
Method Summary
Sends a model request to the AI model asynchronously.
-
Method Details
-
sendRequestAsync
Sends a model request to the AI model asynchronously.
- Parameters:
request - The model request containing messages.
- Returns:
- A
CompletableFuture that completes with a AIModelResponse.