TurboMind Documentation

Complete reference for all blocks and features

get text Block


get text [PROMPT] systemPrompt [SYSTEM_PROMPT] provider [PROVIDER] model [MODEL]
                

Retrieves AI-generated text based on the given prompt and parameters.

Parameters

Parameter Type Description Default
PROMPT String The user's input/question for the AI "Hello"
SYSTEM_PROMPT String Instructions guiding the AI's behavior "You are a helpful assistant"
PROVIDER Menu AI service provider (Gemini/OpenAI) "gemini"
MODEL Menu Specific AI model version to use "gemini-1.5-flash"

Example Usage


when flag clicked
ask [Enter your question] and wait
set [response v] to (get text (answer) systemPrompt [Respond like a pirate] provider [gemini] model [gemini-1.5-flash])
say (response) for (2) secs
                

save memory Block


save memory [KEY] [VALUE]
                

Stores information in the AI's long-term memory for future conversations.

Example Usage


when [m v] key pressed
if <(answer) contains [my name is]> then
  save memory [username] (text after [my name is] in (answer))
end
                

Supported Models

Google Gemini Models

  • gemini-1.5-flash - Fastest response time, good for simple queries
  • gemini-1.5-pro - More capable model for complex tasks

OpenAI Models

  • gpt-3.5-turbo - Cost-effective balance of speed and capability
  • gpt-4 - Most advanced model (requires OpenAI API key)

Download & Installation

Installation Steps

  1. Download the extension file below
  2. In TurboWarp/PenguinMod:
    • Click the Extensions button (bottom-left)
    • Select "Custom Extension"
    • Upload the ai.js file

Fetching latest version...