Skip to content

Getting Started

Nappai is a no-code platform for developing artificial intelligence-powered solutions, primarily aimed at automating workflows that mainly require interaction with language models.

First Flow

Let’s start by creating a simple flow that allows interaction between a user and a language model in a question-and-answer format.

Creating First Project

Click on the New project button.

Projects Button

Click on the Empty project section and then on the Use this template button.

Empty project template

The project view will then load.

Projects view

Press the Add your first component button.

Projects view

A menu will appear on the left containing all the available components to add to your flow.

Projects view

Adding Components to Your Project

To create a question-and-answer application, we will initially need to add some components. Note that there is a wide variety of components oriented to different roles. At the top of the component menu, you will find filters to help you locate different components.

Components menu

For this flow, we need the following components:

  • Chat Input This component is responsible for receiving user input in chat form.
  • Prompt This component provides the language model with a template where you can give instructions on how to respond to user messages.
  • Google Generative AI This component represents the language model, and its parameters are configured here.
  • Chat Output This component allows you to display the output in the playground.

To add a component, locate it in the component menu and drag it to the flow map.

After adding the components to the flow map, the view should look like this:

Projects view

In the Template section of the Prompt component, add the following text:

Answer the user as if you were an expert on LLM and AI.
User: {user_input}
Answer: