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.
Click on the Empty project
section and then on the Use this template
button.
The project view will then load.
Press the Add your first component
button.
A menu will appear on the left containing all the available components to add to your flow.
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.
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:
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: