> ## Documentation Index
> Fetch the complete documentation index at: https://www.domo.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Bring Your Own Model

## Intro

This article explains how to set up Bring Your Own Model (BYOM).

***

## Import Your Model

1. Select **AI Models** from the main menu.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_1.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=1f6b1e66a0c8dec9d8ff8d8e1c454c83" alt="AI Models option in the Domo main menu" width="973" height="1246" data-path="images/kb/byom_1.png" />
</Frame>

2. Select **Add Model**.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_2.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=c09ff8e2633ccc135b950ef87c326207" alt="Add Model button on the AI Models page" width="2144" height="1242" data-path="images/kb/byom_2.png" />
</Frame>

### Select an Adapter

3. For this example, select **Meta (Amazon Bedrock)**, then select **Next**.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_4.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=d21cb31ea3294dad52bebf461969d3c2" alt="Adapter selection screen with Meta (Amazon Bedrock) selected" width="2149" height="1244" data-path="images/kb/byom_4.png" />
</Frame>

### Select an Account

4. Choose a corresponding account, or create a new one. For this example, select an Amazon Bedrock account.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_5.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=1a0c5d4fed877f13aef5a956ebf8899f" alt="Account selection screen for the model import" width="2147" height="1243" data-path="images/kb/byom_5.png" />
</Frame>

### Import a Model

5. Select the model to import. For this example, import the Llama 3 70B Instruct model.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_6.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=582bbd7b13b8eee7cc902ddefb4da3ff" alt="Model selection screen showing Llama 3 70B Instruct" width="2147" height="1241" data-path="images/kb/byom_6.png" />
</Frame>

### Configure Tasks

6. Define the **Task** the model performs, including the input and output schemas.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_7.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=13d5a418b6276aeed207125126a66c0a" alt="Task configuration screen with input and output schema fields" width="2149" height="1243" data-path="images/kb/byom_7.png" />
</Frame>

### Configuration

7. Fine-tune the setup, then select **Import Model**.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_8.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=d1a0b07aae09fd30fc418ab6f2626ede" alt="Final configuration screen before importing the model" width="2148" height="1244" data-path="images/kb/byom_8.png" />
</Frame>

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_9.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=52d4521fa083b054ff45d7732147f7f3" alt="Model import confirmation screen" width="2150" height="1245" data-path="images/kb/byom_9.png" />
</Frame>

## Configure Your Model

1. Select the **Text Generation** service from the **AI Service Models** page in Admin Settings.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_10.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=6907c7f1a47ecc5456de43f58498cb71" alt="Text Generation service option in AI Service Models" width="1932" height="1750" data-path="images/kb/byom_10.png" />
</Frame>

2. Select **Add Model**.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_11.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=bf998379044a516918dfe231b580e251" alt="Add Model button on the Text Generation service page" width="2160" height="1244" data-path="images/kb/byom_11.png" />
</Frame>

3. Select your newly imported model — in this case, Llama 3 70B Instruct.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_12.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=4ffff4a1c00be30ef48dabda16ab09c8" alt="Llama 3 70B Instruct model selected in the Text Generation service" width="2149" height="1244" data-path="images/kb/byom_12.png" />
</Frame>

4. The new model is now listed and available for use. Set it as the **default** model for this service, or leave it available for programmatic use only.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_13.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=2838360b3ea56cf720d6886a71da3fb9" alt="Newly added model listed with default option" width="2146" height="1246" data-path="images/kb/byom_13.png" />
</Frame>

## Use Your Model

1. Select **AI Playground** from the main menu.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_14.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=241a677c10edd57af85bffd04afade00" alt="AI Playground option in the Domo main menu" width="969" height="1243" data-path="images/kb/byom_14.png" />
</Frame>

Use the **Text Generation** service with the default Domo model, **DomoGPT - Medium v2.2**.

2. Ask the model "Who is your creator?" to confirm which vendor it belongs to.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_15.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=3058291980d5fb9348898d1bc2620bca" alt="DomoGPT model response to the creator question" width="1765" height="1199" data-path="images/kb/byom_15.png" />
</Frame>

3. Select **Llama 3 70B Instruct** from the **Model** dropdown.

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_16.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=521b343cdec68e30444835eb49692e1a" alt="Model dropdown with Llama 3 70B Instruct selected" width="1765" height="851" data-path="images/kb/byom_16.png" />
</Frame>

4. Ask this model "Who is your creator?"

<Frame>
  <img src="https://mintcdn.com/domoinc/rtNsikaLD8NJeZKe/images/kb/byom_17.png?fit=max&auto=format&n=rtNsikaLD8NJeZKe&q=85&s=260b05ad007288c64ad20b86d93afa40" alt="Llama 3 70B Instruct response to the creator question" width="1762" height="1199" data-path="images/kb/byom_17.png" />
</Frame>
