Class ApiResponse<T>
java.lang.Object
dev.langchain4j.model.workersai.client.ApiResponse<T>
- Type Parameters:
T
- Type of the result.
- Direct Known Subclasses:
WorkersAiEmbeddingResponse
,WorkersAiImageGenerationResponse
,WorkersAiTextCompletionResponse
Multiple models leverage the same output format, so we can use this class to parse the response.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
ApiResponse
public ApiResponse()Default constructor.
-