Configuring Language Providers and Custom Models

Athina offers flexibility in configuring various language providers and custom models. Here’s how you can set them up:

Standard API Key-Based Providers

For language providers that can be accessed via API key and have foundational models:

  1. Go to https://app.athina.ai/settings?activeTab=api_key
  2. Configure your chosen provider using the API key setup

Advanced Custom Models

For more advanced configurations, including providers like AWS Bedrock, Azure, Vertex AI, or entirely custom setups:

  1. Navigate to https://app.athina.ai/settings?activeTab=custom_models
  2. Click on the “Custom Models” tab
  3. Click on the “Add Custom Model” button
  4. Fill in the configuration details for the custom model

Supported Providers

  • Azure
  • AWS Bedrock
  • SageMaker
  • Vertex AI
  • Custom (for specifying a base URL for a model with OpenAI schema request and response)
  1. Save the custom model

Using Your Configured Models

Once configured, your custom models will appear in all model selection menus throughout the platform. This allows you to easily select them for:

  • Running prompts
  • Conducting experiments
  • Performing evaluations

🎉 That’s it! You’re now ready to utilize your custom models across the Athina platform.

Step-by-Step Example: Setting Up AWS Bedrock

Here’s a detailed guide on how to set up AWS Bedrock as a custom model in Athina:

  1. Navigate to the Custom Models section

  2. Add a new custom model

    • Click on the “Add Custom Model” button
  3. Select AWS Bedrock as the provider

    • In the “Provider” dropdown, select “AWS Bedrock”
  4. Configure AWS Bedrock settings

    • Model ID: Enter the specific model ID you want to use (e.g., “anthropic.claude-v2”)
    • Access Key ID: Enter your AWS Access Key ID
    • Secret Access Key: Enter your AWS Secret Access Key
    • Region: Enter the AWS region where your Bedrock model is hosted (e.g., “us-east-1”)
  5. Save the custom model

    • Click the “Save” button at the bottom of the form
  6. Verify the model is added

    • You should now see your new AWS Bedrock model listed in the Custom Models table

Now your AWS Bedrock model is set up and ready to use across the Athina platform. You can select it when running prompts, experiments, or evaluations.

Remember to ensure that your AWS credentials have the necessary permissions to access the Bedrock service and the specific model you’ve configured.