# 🗨️Chat Models

#### 1) Azure ChatOpenAI

**Prerequisite**

1\.     [Log in](https://portal.azure.com/) or [sign up](https://azure.microsoft.com/en-us/free/) to Azure

2\.     [Create](https://portal.azure.com/#create/Microsoft.CognitiveServicesOpenAI) your Azure OpenAI and wait for approval approximately 10 business days

3\.     Your API key will be available at **Azure OpenAI** > click **name\_azure\_openai** > click **Click here to manage keys**

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FCwYCHJR4W7mLBh4oDrah%2Fimage.png?alt=media&#x26;token=2bab4d1e-78a4-4fa5-9e77-925f89e3b239" alt=""><figcaption></figcaption></figure>

Setup

1\.     Click **Go to Azure OpenaAI Studio** &#x20;

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FDeKZqMgtBAbR3RRJ0bCJ%2Fimage.png?alt=media&#x26;token=db312f85-f49d-4c91-b2be-fdaad9a2577b" alt=""><figcaption></figcaption></figure>

2\.     Click **Deployments**

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FeoVETDXHz43J1J4OvLQF%2Fimage.png?alt=media&#x26;token=ab5dafa2-b26b-4691-9465-604c9ad16ba8" alt=""><figcaption></figcaption></figure>

**3.**     Click **Create new deployment**

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FhgvAOVdLpETCni0K06Nw%2Fimage.png?alt=media&#x26;token=9c5cc8f9-0320-4523-81de-4d32272a368b" alt=""><figcaption></figcaption></figure>

4\.     Select as shown below and click **Create**

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FuYacDU2oje0u67yvSlzR%2Fimage.png?alt=media&#x26;token=5d7531a1-f1ee-4fbc-9a48-6734ee8efe41" alt=""><figcaption></figcaption></figure>

5\.     Successfully created **Azure ChatOpenAI**

·       Deployment name: `gpt-35-turbo`

`·`  Instance name: `top right conner`

&#x20;

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FCrMbRCPHjF36K2GhMIEp%2Fimage.png?alt=media&#x26;token=74ff8ccc-14da-4a36-8782-5d1e82043041" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FYwaZaUDUlirBrkZTWLYr%2Fimage.png?alt=media&#x26;token=700c40e1-cea7-46db-bf56-5a76c3c73284" alt=""><figcaption></figcaption></figure>

&#x20;

1.Chat Models in Thub > drag Azure ChatOpenAI node

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FC2Jk6B50oK9rSGU8iv7W%2FScreenshot%202024-07-04%20145503.png?alt=media&#x26;token=41cca5eb-29a6-41d4-9012-81496f100efa" alt="" width="183"><figcaption></figcaption></figure>

2\.     Copy & Paste each details (API Key, Instance & Deployment name, [API Version](https://learn.microsoft.com/en-us/azure/ai-services/openai/reference#chat-completions)) into Azure ChatOpenAI credential

#### 2)ChatAnthropic

**Prerequisite**

1. [Log in](https://console.anthropic.com/) or [sign up](https://claude.com/) to Anthropic Console&#x20;
2. [Create](https://platform.claude.com/settings/keys) an API key from the Anthropic dashboard
3. Copy the generated API key which will be used to connect the ChatAnthropic model in THub

Setup

1. Login to Anthropic and go to Claude Console and click Get API Key

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2Fi2P5imToMklC98DTGBou%2FWhatsApp%20Image%202026-03-13%20at%203.44.17%20PM.jpeg?alt=media&#x26;token=9bf0a857-d511-4ff5-b515-e4cf1c562e3f" alt=""><figcaption></figcaption></figure>

2. Then click on + Create Key

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2Ft6i41DZL4SyXXu0U0Nut%2FWhatsApp%20Image%202026-03-13%20at%203.44.18%20PM.jpeg?alt=media&#x26;token=fd4b9b87-257d-438e-b464-c1aefb499164" alt=""><figcaption></figcaption></figure>

3. Then name your API key and ADD

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FRVaMjlEV7HoaJ9BM86Wz%2FWhatsApp%20Image%202026-03-13%20at%203.44.18%20PM%20(1).jpeg?alt=media&#x26;token=2a9e70fa-8ba1-4e8f-8d7d-285b061418db" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FVAYyYM2xIkFHUziuCab6%2FScreenshot%202024-07-04%20145528.png?alt=media&#x26;token=11991652-a377-4508-b79f-20ef054b07dc" alt="" width="173"><figcaption></figcaption></figure>

1. Chat Models in THub > drag ChatAnthropic node
2. Click Connect Credential > click Create New
3. Provide the required Anthropic API Key
4. Select the Model Name (for example: claude-3-haiku, claude-3-sonnet, or claude-3-opus)
5. Configure parameters such as Temperature or other optional settings if required
6. Click Save and the ChatAnthropic model will be ready to use

Successfully created ChatAnthropic

• Model name: claude-3-sonnet (example)

• Instance name: top right corner

#### 3)ChatGoogleGenerativeAI

&#x20; Prerequisite

1\.     Register a [Google](https://accounts.google.com/InteractiveLogin) account

2\.     Create an [API key](https://aistudio.google.com/app/apikey)

Chat Models > drag ChatGoogleGenerativeAI node

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FUY9tj0uwyyVjMZeYwini%2FScreenshot%202024-07-04%20145654.png?alt=media&#x26;token=d65a7372-3a63-4921-8387-35a11449f0d1" alt="" width="156"><figcaption></figcaption></figure>

1\)    Connect Credential > click Create New

2\)    Fill in the Google AI credential

3\)    You can now use ChatGoogleGenerativeAI node in Thub

**Safety Attributes Configuration**

·       Click Additonal Parameters

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FiAiSANqa517NkKJfWjgJ%2Fimage.png?alt=media&#x26;token=fcce9fda-141a-4f6f-97d7-a26f8b934dc6" alt=""><figcaption></figcaption></figure>

·       When configuring Safety Attributes, the amount of selection in Harm Category & Harm Block Threshold should be the same amount. If not it will throw an error Harm Category & Harm Block Threshold are not the same length

·       The combination of Safety Attributes below will result in Dangerous is set to Low and Above and Harassment is set to Medium and Above

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2Fzujj93Mv4TNcKtkweVrY%2Fimage.png?alt=media&#x26;token=7b50b407-b9a2-4d7d-8009-e24475d56c7e" alt=""><figcaption></figcaption></figure>

#### 4)ChatOpenAI

**Prerequisite**

•  An OpenAI account

•  Create an API key     &#x20;

**Setup**

•  Chat Models > drag ChatOpenAI node

•   Connect Credential > click Create New

•   Fill in the ChatOpenAI credential

•   you can now use ChatOpenAI node in THub

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FvwTZIjAtUexxfc6XQOaX%2FScreenshot%202026-03-13%20160522.png?alt=media&#x26;token=bd910af3-364f-4423-8c0b-1889fd062701" alt=""><figcaption></figcaption></figure>

**Custom base URL and headers**

THub supports using custom base URL and headers for Chat OpenAI. Users can easily use      integrations like OpenRouter, TogetherAI and others that support OpenAI API compatibility.

**TogetherAI**

•     Refer to official docs from TogetherAI

•     Create a new credential with TogetherAI API key

•     Click Additional Parameters on ChatOpenAI node.

•     Change the Base Path.

**Open Router**

•     Refer to official docs from OpenRouter

•     Create a new credential with OpenRouter API key

•     Click Additional Parameters on ChatOpenAI node

•     Change the Base Path and Base Options.

&#x20;**Custom Model**

&#x20;For models that are not supported on ChatOpenAI node, you can use ChatOpenAI Custom for that. This allow users to fill in model name such as mistralai/Mixtral-8x7B-Instruct-v0.1

**Image Upload**

•  You can also allow images to be uploaded and analyzed by LLM. Under the hood, Flowise will use OpenAI Vison model to process the image.

•   From the chat interface, you will now see a new image upload button

#### &#x20;5) Chat **DeepSeek**&#x20;

**Prerequisite**

1. [Log in](https://platform.deepseek.com/) or sign up to DeepSeek
2. Create an API key from the DeepSeek dashboard
3. Copy the generated API key which will be used to connect the ChatDeepseek model in THub

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2F42PJlwSkrr79L8y6lERq%2FScreenshot%202026-03-13%20160917.png?alt=media&#x26;token=37dd3edb-7557-434a-9edc-72ad3265a96e" alt=""><figcaption></figcaption></figure>

1. Chat Models in THub > drag ChatDeepseek node
2. Click Connect Credential > click Create New
3. Select DeepseekAI API and provide the API Key
4. Select the Model Name (for example: deepseek-chat)
5. Configure parameters such as Temperature if required
6. Click Save and the ChatDeepseek model will be ready to use

Successfully created ChatDeepseek

• Model name: deepseek-chat

• Instance name: top right corner

#### **6)GroqChat**

Wrapper around Groq API with LPU Inference Engine.

**Prerequisite**

•            An Groqchat account

•            Create an API key

**Setup**

•             Chat Models > drag GroqChat node

•             Connect Credential > click Create New

•             Fill in the Groqchat credential, Model name and temperature details.

•             you can now use Groqchat node in THub.

<figure><img src="https://1720595571-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FxWXmt1Z68dgle5JORrEw%2Fuploads%2FH4RwF6F73p8TI3a0CSji%2Fimage.png?alt=media&#x26;token=3d62856d-2e5c-4631-a17f-3a893e274008" alt=""><figcaption></figcaption></figure>

&#x20;Successfully created GroqChat

• Model name: Groq-chat

• Instance name: top right corner
