このドキュメントは、Gemini CLIで使用されているすべてのプロンプトをまとめたものです。各プロンプトは英語の原文とその日本語訳を併記しています。
/packages/core/src/core/prompts.ts に定義されている、AIエージェントの動作を制御する主要なプロンプトです。
| #include <opencv2/opencv.hpp> | |
| #include <k4a/k4a.hpp> | |
| int main() | |
| { | |
| try | |
| { | |
| // Kinectの接続数を取得する | |
| auto count = k4a::device::get_installed_count(); | |
| if (count == 0) { |
| #include <opencv2/opencv.hpp> | |
| #include <k4a/k4a.hpp> | |
| int main() | |
| { | |
| try | |
| { | |
| auto getDefaultConfig = []() | |
| { | |
| // パラメーターは全部設定しないとエラーになる |
| public IEnumerator Save(string filename, byte[] buffer) | |
| { | |
| #if UNITY_UWP | |
| var task = Task.Run(async () => | |
| { | |
| StorageFolder folder = await GetStorageFolder(); | |
| var file = await folder.CreateFileAsync(filename, CreationCollisionOption.ReplaceExisting); | |
| using (var stream = await file.OpenStreamForWriteAsync()) | |
| { | |
| await stream.WriteAsync(buffer, 0, buffer.Length); |
NaturalSoftware.jp(以下「本サイト」)は、閲覧者のプライバシー・個人情報及び設定内容などを保護することは、本サイトの責務と考えています。
本サイトからのお申込、お問い合わせ、申込書によるお申込、メール・電話によるお問い合わせを問わず、閲覧者から明示された特定の個人を識別できる情報(以下「個人情報」)について下記のとおり取り扱うものとします。
| using UnityEngine; | |
| [RequireComponent(typeof(AudioSource))] | |
| public class SpatialSound : MonoBehaviour | |
| { | |
| public void Awake() | |
| { | |
| var audio = GetComponent<AudioSource>(); | |
| audio.spatialize = true; | |
| audio.spatialBlend = 1.0f; |
| using UnityEngine; | |
| public class CubeCommand : MonoBehaviour | |
| { | |
| public void OnRed() | |
| { | |
| GetComponent<Renderer>().material.color = Color.red; | |
| } | |
| public void OnBlue() |
| using UnityEngine; | |
| using UnityEngine.Windows.Speech; | |
| using System.Collections.Generic; | |
| using System.Linq; | |
| using HoloToolkit.Unity; | |
| public class VoiceCommandManager : MonoBehaviour { | |
| KeywordRecognizer keywordRecognizer = null; |
| using UnityEngine; | |
| using System.Collections; | |
| public class CubeCommand : MonoBehaviour { | |
| public Material first; | |
| public Material second; | |
| public void OnSelect() | |
| { |