Icon

1.5 - OpenAI Simple DataApp

You can easily download and run the workflow directly in your KNIME installation. We recommend that you use the latest version of the KNIME Analytics Platform for optimal performance. It can also be deployed as a Data App in KNIME Business Hub.

To run the workflow, you need an OpenAI API key. If you don't have one yet, register with OpenAI and create a new API key under https://platform.openai.com/account/api-keys.

In this example, we have used the "gpt-3.5-turbo-instruct" model for its ability to answer questions directly and complete text tasks quickly, in line with its purpose of following instructions effectively.
More information can be found at https://platform.openai.com/docs/models.

To access the data app in your KNIME Analytics Platform installation, hover over the component and click the lens icon. You can input any task for the model, such as "Write a Python script", along with your desired input, such as "I need to filter the first five rows of my data". The app will then perform the task and provide you with the results.

To deploy the data app in KNIME Business Hub, please refer to the "External resources" section below.

OpenAI LLM Data App

  • This workflow shows how to build a simple data app that connects to an OpenAI LLM and sends prompt to it.

  • In order to run the workflow you need an OpenAI API key. If you don't have one already, register with OpenAI and create a new API key under https://platform.openai.com/account/api-keys

  • To learn more about the workflow, click the left bar and check the description section.


OpenAIAPI Key
Credentials Configuration
OpenAI LLM DataApp

Nodes

Extensions

Links