Back to Mlflow

README

examples/gateway/anthropic/README.md

3.12.0604 B
Original Source

Example endpoint configuration for Anthropic

To set up your MLflow configuration file, include a single endpoint for the completions endpoint as shown in the anthropic configuration YAML file.

Obtaining and Setting the Anthropic API Key

To obtain an Anthropic API key, you need to create an account and subscribe to the service at Anthropic.

After obtaining the key, you can export it to your environment variables. Make sure to replace the '...' with your actual API key:

sh
export ANTHROPIC_API_KEY=...