View Source HyperLLM.Provider.Anthropic (hyper_llm v0.3.0)

Provider implementation for Anthropic.

https://docs.anthropic.com/en/api/messages

Configuration:

congfig :hyper_llm, 
  anthropic: [
    api_key: "sk-...",
    api_version: "2023-06-01"
  ]

Summary

Functions

Check if a model is supported by the provider.

Functions

has_model?(model)

Check if a model is supported by the provider.

Currently the only supported models are:

  • claude-3-5-sonnet-latest
  • claude-3-5-sonnet-20240620
  • claude-3-5-haiku-latest
  • claude-3-5-haiku-20241022
  • claude-3-opus-20240229
  • claude-3-sonnet-20240229
  • claude-3-haiku-20240307