# TextGenerator(ロブロックス クラス) > Gives access to a large language model for text generation. - URL:https://roblox.minecraft-okinawa.com/reference/classes/TextGenerator/ - 公式:https://create.roblox.com/docs/reference/engine/classes/TextGenerator - 受け継いでいるクラス:Instance ## プロパティ - `TextGenerator.Seed: int`:Sets a fixed seed for the random number generator, allowing reproducible responses in cases where the same input parameters are used across multiple requests. - `TextGenerator.SystemPrompt: string`:Provides context to the model about its role, tone, or behavior during conversation. - `TextGenerator.Temperature: float`:Controls the "creativity" or randomness of the model's responses. - `TextGenerator.TopP: float`:Helps the AI model narrow or expand the range of possible words to sample from while generating the next token. ## メソッド - `TextGenerator:GenerateTextAsync(request: Dictionary): Dictionary`:Returns text generated by an LLM based on the provided system and user prompts. 英語の説明とメンバー一覧:Roblox Creator Documentation(CC BY 4.0)。日本語の解説はこのサイト独自のものです。 執筆:鈴木孝昌(現役プロジェクトマネージャー/プログラミング講師)/運営:沖縄マイクラ部 プログラミングスクール「クロスウェーブ」(https://minecraft-okinawa.com/)