Quickstart
This guide will walk you through the basic steps to get started with our platform, from creating your first project to running your custom prompts using our API or SDKs.
Step 1: Create a New Project
Log in to your Mirai admin panel.
Click on the "Add new project" button at the bottom of the projects list.
Give your project a name and description.
Click "Create" to set up your new project.
Step 2: Create a Prompt
Navigate to your newly created project.
Click the "+ Add new prompt" button in the Prompts section.
Name your prompt (e.g., "Test Prompt").
Step 3: Customize Your Prompt
In the prompt editor, you'll see a Python code interface.
Use our Python SDK to define your prompt's behavior. Here's a basic example:
Adjust parameters like Temperature and Max tokens length as needed.
Click "Save" to store your prompt.
Step 4: Add Data Samples (Optional)
In your project view, find the "Data samples" section.
Click "+ Add new data sample" to create sample data for testing your prompt.
Step 5: Test Your Prompt
In the prompt editor, select your data sample from the "Connected data sample" dropdown.
Choose an LLM model from the "Active LLM models" dropdown.
Click the "Run" button to test your prompt and see the results.
Step 6: Use Your Prompt in Applications
To use your prompt in your applications:
Note your Project ID and Prompt ID from the URL in the admin panel.
Use these IDs when calling our API or integrating with our Web/iOS SDK.
Example API call (pseudocode):
Congratulations! You've created your first Mirai project and prompt. For more detailed information on our SDK functions and API endpoints, please refer to our full documentation.
Last updated