Assistants are the core of Kosmoy Studio’s no-code AI application development. They are AI-powered entities designed to perform specific tasks or fulfill particular business objectives. This section guides you through creating, configuring, deploying, testing, and monitoring your Assistants.
Navigate to Assistants: From the Kosmoy Studio home page, click on the “Apps” menu in the left-hand navigation bar, then select “Assistants”.
Add a New Assistant: Click the ”+ ADD” button located in the upper right corner of the Assistants section.
Step 1: Set Assistant Properties:
Avatar: Select an avatar for your Assistant.
Name: Give your Assistant a unique and descriptive name.
Description: Provide a brief description of your Assistant’s purpose.
Template: Choose an Assistant template from the dropdown menu.
Note: If you select the “Receptionist Assistant” template, you will be prompted to select a pre-configured Google or Outlook Calendar integration.
Scope: Select either “Private” or “Public” from the dropdown menu. This determines how the Assistant will be deployed and accessed.
Language: Select the primary language for your Assistant. The default is “auto,” which attempts to automatically detect the language. Other options include English, Spanish, Italian, and French.
Click “Next”.
Step 2: Set Assistant Data Access and Memory:
Data Channel (Optional): Select a pre-configured Data Channel from the dropdown menu to connect your Assistant to a data source.
Memory: Configure the Assistant’s memory settings:
Time Window: Define the length of time (e.g., minutes, hours, days) for which messages should be kept in memory. The default is 1 day.
Past Interactions: Specify the maximum number of past interactions (question-answer pairs) to retain within the time window. The maximum is 25, and the default is 10.
Conversation Logger (Optional): Enable this feature to record assistant interactions, which is helpful to perform a QA over the AI assistant performance.
Select SQL database with write rights enabled
Conversation Breakdown Strategy: Select the amount of time needed to pass from the last message received to consider the current conversation session finalized.
Decide if you would like to track user data or not
Click “Next”.
Step 3: Set Assistant Security Parameters: This step will be deprecated in the future.
Guardrails Panel (Optional): Enable the global toggle and select individual guardrails (Prompt Injection, Harmful Content, Toxic Language) to apply additional safety measures. Note: Guardrail configuration will eventually be handled exclusively at the Gateway level.
Click “Next”.
Step 4: Set Assistant Models and Prompt:
Model Panel:
Conversational Model: Select the primary model that will power the Assistant’s conversational abilities.
Instructional Model: Select the model used for instructional tasks or specific commands.
NOTE: In the future the user will be prompted to select a gateway and, based on that selection, models and routers will be listed here to be selected by the user.
Assistant Prompt Panel: Define the core instructions and personality of your Assistant:
Role: Describe the Assistant’s role (e.g., “Helpful Customer Support Agent”).
Task: Specify the Assistant’s primary task (e.g., “Answer customer questions about products and services”).
Operating Principles: Define guidelines for the Assistant’s behavior (e.g., “Be polite and professional,” “Provide accurate information”).
Attitude: Describe the desired attitude of your assistant (e.g. “Friendly and easy-going”).
Welcoming Message: Set the initial message the Assistant will use to greet users.
Goodbye Message: Set the message the Assistant will use when ending a conversation.
Click “Review”: Review all the Assistant’s configuration details.
The Assistants section displays each created Assistant as a card. Each card shows:
Assistant Avatar: The selected avatar for the Assistant will be displayed as the card background.
Assistant Name: The name you assigned to the Assistant.
Description: The description you provided for the Assistant.
Scope Icon:
Globe Icon: Indicates a Public Assistant.
Person Icon: Indicates a Private Assistant.
Deployment Status:
Rocket Icon (no background): Indicates the Assistant is not deployed. Hovering over this icon will reveal a white background, indicating it’s clickable.
Rocket Icon (with background): Indicates that the assistant is deployed (Future Enhancement).
Test/Insights Icon:
Multi-panel Icon: If undeployed, clicking this icon initiates the Assistant Test creation workflow within the Quality Assurance section.
Check Mark Icon: If deployed, clicking this icon navigates you to the Assistant’s dashboard within the Insights section.
Edit Icon (Pencil): Click this icon to update the Assistant’s configuration (only if the Assistant is not deployed).
Delete Icon (Trash Bin): Click this icon to remove the Assistant (only if the Assistant is not deployed).
You can update all configuration parameters of an Assistant only if it is not deployed. If the assistant is deployed, you will not be able to edit its parameters.
Navigate to Assistants: Go to “Apps” > “Assistants”.
Locate the Assistant Card: Find the card for the Assistant you want to update.
Click the Edit (Pencil) Icon: This will open the update dialog.
Modify Assistant Parameters: Update the Assistant’s configuration as needed.
Click “Save”: Save the changes.
If you attempt to edit a deployed Assistant, a warning banner will be displayed, preventing modifications.
Before deploying your Assistants, it’s highly recommended to thoroughly test them using the Assistant Tests feature in the Quality Assurance section. This allows you to interact with your Assistant in a controlled environment and refine its configuration. See Assistant Tests for more details.