All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.cequence.openaiscala.anthropic.service.AnthropicServiceConsts.scala Maven / Gradle / Ivy

package io.cequence.openaiscala.anthropic.service

import io.cequence.openaiscala.anthropic.domain.settings.AnthropicCreateMessageSettings
import io.cequence.openaiscala.domain.NonOpenAIModelId

/**
 * Constants of [[AnthropicService]], mostly defaults
 */
trait AnthropicServiceConsts {

  protected val defaultCoreUrl = "https://api.anthropic.com/v1/"

  object DefaultSettings {

    val CreateMessage = AnthropicCreateMessageSettings(
      model = NonOpenAIModelId.claude_2_1,
      max_tokens = 2048
    )
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy