ChatOpenAI

Prerequisite

  1. An OpenAI account

  2. Create an API key

Setup

  1. Chat Models > drag ChatOpenAI node

  1. Connect Credential > click Create New

  1. Fill in the ChatOpenAI credential

  1. Voila 🎉, you can now use ChatOpenAI node in Flowise

Custom base URL and headers

Flowise 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

  1. Refer to official docs from TogetherAI

  2. Create a new credential with TogetherAI API key

  3. Click Additional Parameters on ChatOpenAI node.

  4. Change the Base Path:

Open Router

  1. Refer to official docs from OpenRouter

  2. Create a new credential with OpenRouter API key

  3. Click Additional Parameters on ChatOpenAI node

  4. Change the Base Path and Base Options:

Custom Model

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:

Last updated