Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Use the Anthropic Console online to generate an API key and copy it into your config.js file assigning it to the “apiKey” property.

For example:

models: {
  "Claude 2 Streaming": {
    provider: "anthropic",
    model: "claude-2.1",
    apiKey: "sk-ant-......",
    stream: true
  }  
}

Prior to using models from Anthropic, use the command below to install the Anthropic SDK npm package:

npm install @anthropic-ai/sdk

  • No labels