Creating a simple LLM app

To create your first LLM app, you'll need 3 things: credential, one LLM Node and one LLM Chain node.

For the sake of this example, we'll make an app that uses ChatGPT.

1. Create New Chatbot

Open the main menu and click on "Chatbots" -> "Create new chatbot"

Create new chatbot

2. Give it a name

Give a name

3. Add a new node "ChatOpenAI"

Click on the green floating button to add a new node, and search for "ChatOpenAI". Then, drag and drop it on the editor pane:

Add ChatOpenAI Node

4. Set the credentials

Click on "Change Parameters" button. It'll open the node's details where you will search for the credentials you've created earlier. Then Save Node Parameters

Here you can also configure other parameters if you want

5. Add a "LLM Chain" node

Click on the green floating button to add a new node, and search for "LLM Chain". Then, drag and drop it on the editor pane:

Add LLM Chain node

6. Connect the dots

Last updated