Introduction: BYOK ֎


Testsigma allows you to integrate your preferred LLMs using your own API keys (Bring Your Own Keys), ensuring data sovereignty and privacy compliance while enhancing test generation accuracy. This integration gives you control over data privacy, costs, and enables you to fine-tune AI models with your domain-specific data for improved test outcomes. This article discusses integrating Testsigma with LLMs.



Prerequisites

Before you begin, ensure you have the valid API keys and necessary details for your preferred LLM provider.


Supported LLMs

  • Azure OpenAI
  • Open AI
  • Gemini AI
  • Vertex AI

Steps to Create a New Key

  1. From the left navigation bar, go to Settings > Gen AI Keys. Gen AI Keys
  2. Click Create New Key in the top right corner. New Key
  3. From the Create New Key overlay,

    • Enter the Key Name and an optional Description. Name & Description
    • Select an AI Provider from the dropdown menu. AI Provider
    • Enter the details associated with the AI Provider. AI Provider Details
  4. Click Validate API Key to validate the AI Provider details. Validate Key
  5. Click Create to add the API key. Add API Key
  6. The added keys will appear in the Keys section. Key

Mapping Keys & Models to Testsigma Features

  1. In the Feature Model Configuration section, map each Feature to the corresponding Key and Model from the dropdown menus. Model Configuration
  2. The features will now use the mapped models. Models Mapped