Class WatsonxGatewayModelCatalog

java.lang.Object
dev.langchain4j.model.watsonx.WatsonxGatewayModelCatalog
All Implemented Interfaces:
ModelCatalog

public class WatsonxGatewayModelCatalog extends Object implements ModelCatalog
A ModelCatalog implementation that lists the models configured in the IBM watsonx.ai Model Gateway.

Example usage:

ModelCatalog modelCatalog = WatsonxGatewayModelCatalog.builder()
    .baseUrl("https://...") // or use CloudRegion
    .apiKey("...")
    .build();