Skip to main content

Anthropic

Introduction

Anthropic is a San Francisco-based company specializing in AI safety and research.

Deploying your model

Anthropic offers a family of three state-of-the-art models in ascending order of capability: Claude 3 Haiku, Claude 3 Sonnet, and Claude 3 Opus.

LLM Model

Refer to their documentation to understand the latest offerings, with feature and cost comparisons.

Usage with MAAP

To use Anthropic model with MAAP framework, you would need to feed below values.

  • Config File :

    Provided below are the values required to be added in config.yaml file in LLM section.

    llms:
    class_name: Anthropic
    model_name: <check_references_below>
    max_tokens: <integer_value>
    temperature: <integer_value>

  • Environment Variable :

    Below value(s) are to be added in .env file, present at builder/partnerproduct/.

    ANTHROPIC_API_KEY = <check_references_below>

References

Provided below are the instructions on how to procure the right values for building your MAAP framework.

  • Model Name

    You can pick any model from the updated list given in Anthropic documents.

  • API Key

    You will need to sign up and retrieve an Anthropic API Key.