Interface CohereScoringModelConfig


public interface CohereScoringModelConfig
  • Method Summary

    Modifier and Type
    Method
    Description
    Maximum number of retries for Cohere API invocations.
    Reranking model to use.
    Timeout for Cohere calls
  • Method Details

    • modelName

      @WithDefault("rerank-multilingual-v2.0") String modelName()
      Reranking model to use. The current list of supported models can be found in the Cohere docs
    • timeout

      @WithDefault("30s") Duration timeout()
      Timeout for Cohere calls
    • maxRetries

      @WithDefault("3") Integer maxRetries()
      Maximum number of retries for Cohere API invocations.