Class WatsonxDeploymentStreamingChatModel

java.lang.Object
dev.langchain4j.model.watsonx.WatsonxDeploymentStreamingChatModel
All Implemented Interfaces:
StreamingChatModel

public class WatsonxDeploymentStreamingChatModel extends Object implements StreamingChatModel
A StreamingChatModel implementation that integrates the IBM watsonx.ai Deployment with LangChain4j.

Example usage:

StreamingChatModel chatModel = WatsonxDeploymentStreamingChatModel.builder()
    .baseUrl("https://...") // or use CloudRegion
    .apiKey("...")
    .deploymentId("...")
    .maxOutputTokens(0)
    .temperature(0.7)
    .build();