Class VertexAiScoringModel

java.lang.Object
dev.langchain4j.model.vertexai.VertexAiScoringModel
All Implemented Interfaces:
ScoringModel

public class VertexAiScoringModel extends Object implements ScoringModel
Implementation of a ScoringModel for the Google Cloud Vertex AI Ranking API.
  • Constructor Details

    • VertexAiScoringModel

      public VertexAiScoringModel(String projectId, String projectNumber, String location, String model, String titleMetadataKey)
      Constructor for the Vertex AI Ranker Scoring Model.
      Parameters:
      projectId - The Google Cloud Project ID.
      projectNumber - The Google Cloud Project Number.
      location - The Google Cloud Region.
      model - The model to use
      titleMetadataKey - The name of the key to use as a title.
  • Method Details