With Kuika's AI Actions feature, you can add artificial intelligence (Chat GPT-4) as a data source to the applications you develop. You can easily create AI actions to use within your application and implement your own text-based AI assistant. With this training content, you will be able to add AI as a data source to your applications using AI Actions.
This training content consists of the following topics:
To create a data source connection with artificial intelligence in the Datasources module:
3. On the screen that opens, select "AI Actions" (1), enter a name (2) and click the "CREATE" (3) button.
1. Action Name: Give this field a name for the action you want to create.
2. System Prompt: Enter instructions, rules, and constraints for the AI.
3. AI Prompt: Define the values and parameters that will be the input for the AI action. You can enter a fixed value or use ‘@’ for dynamic values. For example, you can use the ‘@text’ parameter for texts to be summarized.
4. Template: Select the template you want to use from this field. Kuika offers Generic, Article Writer, Brandar Creator, Exam Creator, Grammar Creator, Personal Trainer, Personal Diet Expert, and Survey Creator templates in AI Action.
5. Model: Select one of the model options offered by OpenAI. By default, the GPT-4 model is selected.
6. Temperature: Set this setting, which controls the productivity and randomness of the AI, to a value between 0 and 1. 0 produces more consistent responses and 1 produces more random responses.
7. Maximum Length: Set the maximum number of characters, words or tokens that can be generated. This controls the length of the response to be generated.
8. Stop Sequences: Enter the stop word or sequence of words in this field to make the response stop at a specific point.
9. Top P: Achieve more consistent and contextually appropriate output by selecting the most likely words that pass a certain probability threshold (p). Enter a value between 0 and 1; for example, selecting 0.5 considers half of all probability-weighted options.
10. Frequency Penalty: Use this setting to reduce the probability of using repetitive words or lines. Enter a value between 0 and 1.
11. Presence Penalty: Make it easier to create new content by adding various tokens to the text. Enter a value between 0 and 1.
Finally, create your action by clicking the "CREATE" button in the upper right corner.
You can connect the artificial intelligence actions you created to your screen designs in the "UI Design" module.
To connect actions;
2. Connect the artificial intelligence action "AI Actions" in the Custom category via "+ADD ACTION" in the Properties panel.