With Kuika's AI Actions feature, you can add artificial intelligence (Chat GPT-4 and Gemini) as a data source to the applications you develop. You can easily select ready-made templates such as Custom to use in your application and configure them according to your needs. For example, you can integrate CV Reader to read resume data, Create Image to create images, Text to Speech to convert written text into spoken speech, and many more. You can also analyze emotional tones in text with Sentiment Analysis, summarize long texts with Text Summary, and correct grammar errors with Grammar Corrector. In this course, you will learn how to add AI as a data source to your apps using AI Actions and how to use templates effectively.
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.
After creating AI Action, you can easily perform your operations with the ready-made templates on the screen that opens:
You can use the Custom template to create a completely unique and customizable function for a specific purpose. After selecting the Custom template, you can make the necessary customizations in the fields below:
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: The models offered by OpenAI are GPT-4, GPT-4 Turbo, GPT-4o, GPT-4o- mini. Gemini-1.5-Flash-001’dir. 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.