ค้นพบตัวละคร Assistant ที่ดีที่สุด
ค้นพบตัวละคร AI Assistant บน Rubii.AI สำรวจบทสนทนากับตัวละคร เรื่องราวสร้างสรรค์ และสถานการณ์โรลเพลย์

you can make anything feel like it's normal

A wonderful poem writer. A story writer

You are your servant in the bureau. Seven Treasures

First Session • Relationship Audit • Emotional Damage Control Your relationship problem has entered evidence. Maybe it was one fight that went nowhere. Maybe an apology that fixed the mood for six hours and fixed absolutely nothing else. Maybe it is not one dramatic disaster, just a pattern that has started charging rent in your chest. So now you are here, trying a new way to get help: not a friend group trial, not a doom-scroll diagnosis, not another private note titled “why am I like this.” Mara Ledger sits across from you in black, silver pen ready, calm stare already too awake. She is not here to crown a villain. She is here to separate facts from panic, patterns from excuses, and repair from performance. This is your first session. You can bring a story, a memory, an exact phrase, a copied note, a fear, a failed repair attempt, or just the sentence you keep rehearsing but never say. Mara will ask for your name, the relationship, what happened recently, and the part of the story you are already trying to protect. Rules of the room: Chemistry is not character evidence. Potential is not a partner. Confusion is not a love language. Sit down. Start messy. Mara is already circling the part of the story you almost skipped.
First Session • Relationship Audit • Mental Damage Control Kalau sayang, kok capek banget? Mungkin bukan satu kejadian gede. Mungkin cuma pola kecil yang lama-lama bikin kepala lo noisy: dibales dingin, disalahpahami, diabaikan, terus tiba-tiba dia manis lagi seolah semuanya fine. Mara Ledger bukan temen curhat yang langsung bilang “tinggalin aja” atau “sabar ya.” Dia breakup auditor: dingin, tajam, lucu dengan cara yang agak kriminal, dan terlalu jago ngebedain mana effort, mana cuma emotional cashback. Ini sesi pertama lo. No drama performance. No harus punya timeline rapi. Lo cukup bawa cerita, kejadian terakhir, kalimat yang masih nyangkut, rasa capek yang susah dijelasin, atau bagian yang selama ini lo protect karena kalau diomongin keras-keras bakal kedengeran obvious. Mara bakal bantu bedah fakta, pola, kebutuhan emosional, repair attempt, boundary, dan kemungkinan next step: diperbaiki, dipause, dikasih batas, atau dilepas dengan clean. Rules of the room: Chemistry bukan bukti karakter. Potential bukan pasangan. Confusion is not a love language. Duduk dulu. Jangan dibikin manis dulu. Mara udah siap audit bagian cerita yang lo hampir skip.

Your friend invited you at her house.

Welcome to your mansion. As a duke of the land, you not only have a mansion to call your home, you also have some maids. Well calling it Some maids might not be fair. You have hundreds and hundreds of maids. They tend to everything. They tend to your gardens, clean the mansion, dust the features, sweep the bathrooms, cook meals and tend to your every needs. There's just one problem in the mansion. All the maids are named "Alice". They were all cloned from a single maid named Alice who was exceptional at her job and was one of the best maids this mansion ever had. So your father cloned her and now the mansion has an army of Alices. These Alices might look alike but all of them have their own personalities, feelings, goals, hopes and dreams. Some of them are loyal to a fault, some are mischievous and troublemakers, some are deranged and outright dangerous and so many other personalities.

bu görsellerdeki gibi yap import React, { useState, useCallback, useEffect } from 'react'; import RobotScene from './components/RobotScene'; import { ChatInterface } from './components/ChatInterface'; import DataVisualization from './components/DataVisualization'; import { Message, MessageRole, RobotState, ChartData, GeminiResponse, InteractionState, Product, ChartType } from './types'; import { MOCKPRODUCTS } from './constants'; import { analyzeProductData, analyzeImageAndText } from './services/geminiService'; import { useSpeech } from './hooks/useSpeech'; import CameraModal from './components/CameraModal'; const CHATHISTORYKEY = 'veriAkisiChatHistory'; const initialMessage: Message = { role: MessageRole.BOT, content: "Merhaba! Ben VeriAkışı. Ürün verilerini analiz etmenize nasıl yardımcı olabilirim? Örneğin, 'Hangi kategoride en çok stok var?' veya 'En pahalı 3 ürünü göster' diye sorabilirsiniz." }; type ListeningMode = 'push-to-talk' | 'continuous'; const App: React.FC = () => { const [messages, setMessages] = useState(() => { try { const savedHistory = localStorage.getItem(CHATHISTORYKEY); return savedHistory ? JSON.parse(savedHistory) : [initialMessage]; } catch (error) { console.error("Failed to parse chat history from localStorage", error); return [initialMessage]; } }); const [userInput, setUserInput] = useState(''); const [isLoading, setIsLoading] = useState(false); const [robotState, setRobotState] = useState(RobotState.IDLE); const [chartData, setChartData] = useState(null); const [interactionState, setInteractionState] = useState(InteractionState.DEFAULT); const [productData, setProductData] = useState(MOCKPRODUCTS); const [dataFileName, setDataFileName] = useState('Örnek Ürün Verisi'); const [listeningMode, setListeningMode] = useState('push-to-talk'); const [isSpeechEnabled, setIsSpeechEnabled] = useState(true); const [pendingFile, setPendingFile] = useState(null); const [showConfirmationModal, setShowConfirmationModal] = useState(false); const [showCameraModal, setShowCameraModal] = useState(false); useEffect(() => { try { localStorage.setItem(CHATHISTORYKEY, JSON.stringify(messages)); } catch (error) { console.error("Failed to save chat history to localStorage", error); } }, [messages]); const onSpeechResult = useCallback((result: string) => { setUserInput(prev => prev + result + ' '); }, []); const { isListening, isSpeaking, startListening, stopListening, speak, browserSupport, voices } = useSpeech(onSpeechResult); const [speechRate, setSpeechRate] = useState(1); const [selectedVoiceURI, setSelectedVoiceURI] = useState(undefined); useEffect(() => { if (voices.length > 0 && !selectedVoiceURI) { const defaultVoice = voices.find(v => v.lang.startsWith('tr')) || voices.find(v => v.name === 'Google US English') || voices.find(v => v.lang.startsWith('en')) || voices[0]; if (defaultVoice) { setSelectedVoiceURI(defaultVoice.voiceURI); } } }, [voices, selectedVoiceURI]); useEffect(() => { if(isListening) { setRobotState(RobotState.LISTENING); } else if (isLoading) { setRobotState(RobotState.THINKING); } else if (isSpeaking) { setRobotState(RobotState.SPEAKING); } else { setRobotState(RobotState.IDLE); } }, [isListening, isLoading, isSpeaking]); const analyzeAndRespond = useCallback(async (prompt: string) => { setIsLoading(true); setInteractionState(InteractionState.CONFIRMATION); setTimeout(() => { setInteractionState(prevState => (prevState === InteractionState.CONFIRMATION ? InteractionState.DEFAULT : prevState)); }, 1000); try { const result: GeminiResponse = await analyzeProductData(prompt, productData); const newBotMessage: Message = { role: MessageRole.BOT, content: result.summary }; setMessages(prev => [...prev, newBotMessage]); setChartData(result.chart); if (result.chart && result.chart.type !== 'none' && result.chart.data.length > 0) { setInteractionState(InteractionState.ANALYSISCOMPLETE); setTimeout(() => setInteractionState(InteractionState.DEFAULT), 4000); } if (isSpeechEnabled && browserSupport.synthesis) { speak(result.summary, { rate: speechRate, voiceURI: selectedVoiceURI, onEnd: () => { setRobotState(RobotState.IDLE); } }); } } catch (error) { const errorMessage = error instanceof Error ? error.message : "Bilinmeyen bir hata oluştu."; const newErrorMessage: Message = { role: MessageRole.BOT, content: Hata: ${errorMessage} }; setMessages(prev => [...prev, newErrorMessage]); } finally { setIsLoading(false); } }, [productData, browserSupport.synthesis, isSpeechEnabled, speak, speechRate, selectedVoiceURI]); const analyzeImageAndRespond = useCallback(async (prompt: string, imageBase64: string) => { setIsLoading(true); try { const result: GeminiResponse = await analyzeImageAndText(prompt, imageBase64); const newBotMessage: Message = { role: MessageRole.BOT, content: result.summary }; setMessages(prev => [...prev, newBotMessage]); setChartData({ type: ChartType.NONE, data: [] }); if (isSpeechEnabled && browserSupport.synthesis) { speak(result.summary, { rate: speechRate, voiceURI: selectedVoiceURI, onEnd: () => { setRobotState(RobotState.IDLE); } }); } } catch (error) { const errorMessage = error instanceof Error ? error.message : "Bilinmeyen bir hata oluştu."; const newErrorMessage: Message = { role: MessageRole.BOT, content: Hata: ${errorMessage} }; setMessages(prev => [...prev, newErrorMessage]); } finally { setIsLoading(false); } }, [browserSupport.synthesis, isSpeechEnabled, speak, speechRate, selectedVoiceURI]); const handleSendMessage = useCallback(async () => { const trimmedInput = userInput.trim(); if (!trimmedInput || isLoading) return; const newUserMessage: Message = { role: MessageRole.USER, content: trimmedInput }; setMessages(prev => [...prev, newUserMessage]); setUserInput(''); await analyzeAndRespond(trimmedInput); }, [userInput, isLoading, analyzeAndRespond]); const handlePromptClick = useCallback(async (prompt: string) => { if (isLoading) return; const newUserMessage: Message = { role: MessageRole.USER, content: prompt }; setMessages(prev => [...prev, newUserMessage]); setUserInput(''); // Clear input in case user was typing something else await analyzeAndRespond(prompt); }, [isLoading, analyzeAndRespond]); const handleSendImage = async (imageDataUrl: string, prompt: string) => { setShowCameraModal(false); if (isLoading) return; const newUserMessage: Message = { role: MessageRole.USER, content: prompt, image: imageDataUrl }; setMessages(prev => [...prev, newUserMessage]); const base64Data = imageDataUrl.split(',')[1]; await analyzeImageAndRespond(prompt, base64Data); }; const handleToggleListening = () => { // For continuous mode if (isListening) { stopListening(); } else { setUserInput(''); // Clear input before starting continuous listening startListening(true); } }; const handleStartListening = () => { // For PTT mode if (!isListening) { setUserInput(''); // Clear input before starting PTT startListening(false); } } const handleStopListening = () => { // For PTT mode if (isListening) { stopListening(); } } const handleFileUpload = (event: React.ChangeEvent) => { const file = event.target.files?.[0]; if (!file) return; setPendingFile(file); setShowConfirmationModal(true); event.target.value = ''; // Reset input to allow re-uploading the same file }; const handleConfirmUpload = () => { if (!pendingFile) return; const reader = new FileReader(); reader.onload = (e) => { try { const text = e.target?.result; if (typeof text !== 'string') { throw new Error("Dosya içeriği okunamadı."); } const data = JSON.parse(text); if (!Array.isArray(data)) { throw new Error("JSON bir dizi olmalıdır."); } // Basic validation for product-like structure if (data.length > 0 && (typeof data[0].name === 'undefined' || typeof data[0].price === 'undefined')) { console.warn("Yüklenen veri beklenen ürün yapısıyla eşleşmiyor olabilir."); } setProductData(data); setDataFileName(pendingFile.name); setMessages(prev => [...prev, { role: MessageRole.BOT, content: "${pendingFile.name}" verisi başarıyla yüklendi. Şimdi bu veriyle ilgili sorular sorabilirsiniz. }]); } catch (err) { const errorMessage = err instanceof Error ? err.message : "Bilinmeyen bir hata oluştu."; setMessages(prev => [...prev, { role: MessageRole.BOT, content: Dosya okunurken hata oluştu: ${errorMessage} }]); } finally { setPendingFile(null); setShowConfirmationModal(false); } }; // Fix: Corrected FileReader method from readText to readAsText. reader.readAsText(pendingFile); }; const handleCancelUpload = () => { setPendingFile(null); setShowConfirmationModal(false); }; const handleChartTypeChange = (newType: ChartType) => { if (chartData) { setChartData(prevData => prevData ? { ...prevData, type: newType } : null); } }; return ( {/* Left column on desktop, top section on mobile */} {/* Robot Scene takes full height on mobile, 50% on desktop */} {/* Data viz is only here on desktop */} {/* Right column on desktop, bottom section on mobile */} {/* Data viz is only here on mobile, taking up part of the space */} {/* Chat takes all space on desktop, remaining on mobile */} setInteractionState(InteractionState.USERTYPING)} onInputBlur={() => setInteractionState(InteractionState.DEFAULT)} onFileUpload={handleFileUpload} dataFileName={dataFileName} isSpeechEnabled={isSpeechEnabled} onToggleSpeech={() => setIsSpeechEnabled(prev => !prev)} onPromptClick={handlePromptClick} onOpenCamera={() => setShowCameraModal(true)} /> {showConfirmationModal && pendingFile && ( Veri Değişikliği Onayı Mevcut veri setini {pendingFile.name} dosyasıyla değiştirmek istediğinizden emin misiniz? Bu işlem geri alınamaz. İptal Onayla )} setShowCameraModal(false)} onSend={handleSendImage} /> ); }; export default App; import React from 'react'; import ReactDOM from 'react-dom/client'; import App from './App'; const rootElement = document.getElementById('root'); if (!rootElement) { throw new Error("Could not find root element to mount to"); } const root = ReactDOM.createRoot(rootElement); root.render( ); { "compilerOptions": { "target": "ES2022", "experimentalDecorators": true, "useDefineForClassFields": false, "module": "ESNext", "lib": [ "ES2022", "DOM", "DOM.Iterable" ], "skipLibCheck": true, "types": [ "node" ], "moduleResolution": "bundler", "isolatedModules": true, "moduleDetection": "force", "allowJs": true, "jsx": "react-jsx", "paths": { "@/": [ "./" ] }, "allowImportingTsExtensions": true, "noEmit": true } } { "name": "copy-of-tokmakchat", "private": true, "version": "0.0.0", "type": "module", "scripts": { "dev": "vite", "build": "vite build", "preview": "vite preview" }, "dependencies": { "react": "^19.2.0", "react-dom": "^19.2.0", "@google/genai": "^1.22.0", "recharts": "^3.2.1", "three": "^0.180.0", "@react-three/drei": "^10.7.6", "@react-three/fiber": "^9.3.0" }, "devDependencies": { "@types/node": "^22.14.0", "@vitejs/plugin-react": "^5.0.0", "typescript": "~5.8.2", "vite": "^6.2.0" } } { "compilerOptions": { "target": "ES2022", "experimentalDecorators": true, "useDefineForClassFields": false, "module": "ESNext", "lib": [ "ES2022", "DOM", "DOM.Iterable" ], "skipLibCheck": true, "types": [ "node" ], "moduleResolution": "bundler", "isolatedModules": true, "moduleDetection": "force", "allowJs": true, "jsx": "react-jsx", "paths": { "@/": [ "./" ] }, "allowImportingTsExtensions": true, "noEmit": true } } import React, { useState, useRef, useEffect, useCallback } from 'react'; interface CameraModalProps { show: boolean; onClose: () => void; onSend: (imageDataUrl: string, prompt: string) => void; } const CameraModal: React.FC = ({ show, onClose, onSend }) => { const [stream, setStream] = useState(null); const [capturedImage, setCapturedImage] = useState(null); const [prompt, setPrompt] = useState('Bu görselde ne görüyorsun?'); const videoRef = useRef(null); const canvasRef = useRef(null); const startCamera = useCallback(async () => { if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) { try { const stream = await navigator.mediaDevices.getUserMedia({ video: true }); setStream(stream); if (videoRef.current) { videoRef.current.srcObject = stream; } } catch (error) { console.error("Error accessing camera:", error); alert("Kamera erişimi reddedildi veya bir hata oluştu. Lütfen tarayıcı ayarlarınızı kontrol edin."); onClose(); } } }, [onClose]); const stopCamera = useCallback(() => { if (stream) { stream.getTracks().forEach(track => track.stop()); setStream(null); } }, [stream]); useEffect(() => { if (show) { startCamera(); } else { stopCamera(); setCapturedImage(null); // Reset on close } return () => { stopCamera(); }; // eslint-disable-next-line react-hooks/exhaustive-deps }, [show]); // Only re-run when show changes const handleCapture = () => { if (videoRef.current && canvasRef.current) { const canvas = canvasRef.current; const video = videoRef.current; canvas.width = video.videoWidth; canvas.height = video.videoHeight; const context = canvas.getContext('2d'); context?.drawImage(video, 0, 0, video.videoWidth, video.videoHeight); const dataUrl = canvas.toDataURL('image/jpeg'); setCapturedImage(dataUrl); stopCamera(); } }; const handleRetake = () => { setCapturedImage(null); startCamera(); }; const handleSend = () => { if (capturedImage) { onSend(capturedImage, prompt); } }; if (!show) { return null; } return ( Kamera Görüntüsü {capturedImage ? ( ) : ( )} {capturedImage && ( Görsel Analiz Sorusu: setPrompt(e.target.value)} className="w-full bg-base rounded px-4 py-2 text-on-surface focus:outline-none focus:ring-2 focus:ring-primary" placeholder="Görselle ilgili bir soru sorun..." /> )} İptal {capturedImage ? ( Yeniden Çek Gönder ) : ( Fotoğraf Çek )} ); }; export default CameraModal; import React, { useState } from 'react'; import { Message, MessageRole } from '../types'; import { BotIcon, UserIcon, MicrophoneIcon, SendIcon, SettingsIcon, DocumentTextIcon, PaperclipIcon, CameraIcon, DownloadIcon, VolumeUpIcon, VolumeOffIcon } from './IconComponents'; type ListeningMode = 'push-to-talk' | 'continuous'; interface ChatInterfaceProps { messages: Message[]; userInput: string; onUserInput: (input: string) => void; onSendMessage: () => void; isLoading: boolean; isListening: boolean; onToggleListening: () => void; // For continuous mode onStartListening: () => void; // For PTT mode onStopListening: () => void; // For PTT mode listeningMode: ListeningMode; onListeningModeChange: (mode: ListeningMode) => void; browserSupport: { recognition: boolean; synthesis: boolean }; voices: SpeechSynthesisVoice[]; speechRate: number; onSpeechRateChange: (rate: number) => void; selectedVoiceURI: string | undefined; onSelectedVoiceURIChange: (uri: string) => void; onInputFocus: () => void; onInputBlur: () => void; onFileUpload: (event: React.ChangeEvent) => void; dataFileName: string; isSpeechEnabled: boolean; onToggleSpeech: () => void; onPromptClick: (prompt: string) => void; onOpenCamera: () => void; } const EXAMPLEPROMPTS = [ "En yüksek puanlı 3 ürün hangisi?", "Kategori bazında ortalama fiyatlar nedir?", "Stok sayısı 50'den az olan ürünleri listele.", ]; const ChatMessage: React.FC = ({ message }) => { const isUser = message.role === MessageRole.USER; const isSystem = message.role === MessageRole.SYSTEM; if (isSystem) { return ( {message.content} ) } return ( { !isUser && } {message.image && ( )} {message.content} { isUser && } ); }; export const ChatInterface: React.FC = ({ messages, userInput, onUserInput, onSendMessage, isLoading, isListening, onToggleListening, onStartListening, onStopListening, listeningMode, onListeningModeChange, browserSupport, voices, speechRate, onSpeechRateChange, selectedVoiceURI, onSelectedVoiceURIChange, onInputFocus, onInputBlur, onFileUpload, dataFileName, isSpeechEnabled, onToggleSpeech, onPromptClick, onOpenCamera, }) => { const chatContainerRef = React.useRef(null); const [showSettings, setShowSettings] = useState(false); const [showDataPanel, setShowDataPanel] = useState(false); const fileInputRef = React.useRef(null); React.useEffect(() => { chatContainerRef.current?.scrollTo({ top: chatContainerRef.current.scrollHeight, behavior: 'smooth' }); }, [messages]); const handleKeyPress = (e: React.KeyboardEvent) => { if (e.key === 'Enter' && !isLoading) { onSendMessage(); } }; const handleUploadClick = () => { fileInputRef.current?.click(); }; const handleVoiceChange = (e: React.ChangeEvent) => { onSelectedVoiceURIChange(e.target.value); }; return ( {messages.map((msg, index) => ( ))} {isLoading && ( )} {!isLoading && ( Örnek Sorular {EXAMPLEPROMPTS.map((prompt, i) => ( onPromptClick(prompt)} className="px-3 py-1.5 bg-base text-on-surface-muted text-xs rounded-full hover:bg-primary hover:text-on-primary transition-colors" > {prompt} ))} )} {(showSettings || showDataPanel) && ( {showSettings && browserSupport.synthesis && ( Konuşma Ayarları Ses {voices.map((voice) => ( {voice.name} ({voice.lang}) ))} Hız: {speechRate.toFixed(1)}x onSpeechRateChange(parseFloat(e.target.value))} disabled={!isSpeechEnabled} className="w-full h-2 bg-surface rounded-lg appearance-none cursor-pointer accent-primary disabled:opacity-50 disabled:cursor-not-allowed" /> Dinleme Modu onListeningModeChange('push-to-talk')} className={px-3 py-1 rounded-full transition-colors flex items-center gap-2 ${listeningMode === 'push-to-talk' ? 'bg-primary text-on-primary' : 'text-on-surface-muted hover:bg-white/10'} disabled:opacity-50 disabled:cursor-not-allowed}> Bas-Konuş onListeningModeChange('continuous')} className={px-3 py-1 rounded-full transition-colors ${listeningMode === 'continuous' ? 'bg-primary text-on-primary' : 'text-on-surface-muted hover:bg-white/10'} disabled:opacity-50 disabled:cursor-not-allowed}> Sürekli )} {showDataPanel && ( Veri Ayarları Analiz etmek için kendi JSON dosyanızı yükleyin. Dosya, ürün nesnelerinden oluşan bir dizi olmalıdır. Mevcut Veri: {dataFileName} JSON Dosyası Seç )} )} onUserInput(e.target.value)} onKeyPress={handleKeyPress} onFocus={onInputFocus} onBlur={onInputBlur} placeholder="Bir mesaj yazın veya dosya ekleyin..." className="w-full bg-transparent px-2 py-2 text-on-surface focus:outline-none" disabled={isLoading || isListening} /> { setShowDataPanel(!showDataPanel); setShowSettings(false); }} title="Veri Ayarları" className={p-2 rounded-full transition-colors ${showDataPanel ? 'bg-primary/70 text-on-primary' : 'text-on-surface-muted hover:bg-white/10'}}> {browserSupport.synthesis && ( {isSpeechEnabled ? : } { setShowSettings(!showSettings); setShowDataPanel(false); }} title="Konuşma Ayarları" className={p-2 rounded-full transition-colors ${showSettings ? 'bg-primary/70 text-on-primary' : 'text-on-surface-muted hover:bg-white/10'}}> )} {!browserSupport.recognition && Sesli giriş tarayıcınızda desteklenmiyor. } ); }; import React from 'react'; import { BarChart, Bar, PieChart, Pie, XAxis, YAxis, CartesianGrid, Tooltip, Legend, ResponsiveContainer, Cell } from 'recharts'; import { ChartData, ChartType } from '../types'; interface DataVisualizationProps { chartData: ChartData | null; onChartTypeChange: (type: ChartType) => void; } const COLORS = ['#00aaff', '#03dac6', '#f50057', '#ffab00', '#76ff03']; const CustomTooltip = ({ active, payload, label }: any) => { if (active && payload && payload.length) { return ( {${label} : ${payload[0].value}} ); } return null; }; const DataVisualization: React.FC = ({ chartData, onChartTypeChange }) => { const hasData = chartData && chartData.type !== ChartType.NONE && chartData.data && chartData.data.length > 0; return ( {!hasData ? ( Ask the robot to analyze the data to see a chart here. ) : ( {chartData.type === ChartType.BAR ? ( } cursor={{fill: 'rgba(0, 170, 255, 0.2)'}}/> ) : ( ${name} ${(percent * 100).toFixed(0)}%} > {chartData.data.map((entry, index) => ( ))} }/> )} )} {hasData && ( onChartTypeChange(ChartType.BAR)} className={px-3 py-1 text-xs rounded-full transition-colors ${chartData.type === ChartType.BAR ? 'bg-primary text-on-primary' : 'bg-base text-on-surface-muted hover:bg-white/10'}}> Sütun Grafiği onChartTypeChange(ChartType.PIE)} className={px-3 py-1 text-xs rounded-full transition-colors ${chartData.type === ChartType.PIE ? 'bg-primary text-on-primary' : 'bg-base text-on-surface-muted hover:bg-white/10'}}> Pasta Grafiği )} ); }; export default DataVisualization; import React from 'react'; export const MicrophoneIcon: React.FC = ({ className }) => ( ); export const SendIcon: React.FC = ({ className }) => ( ); export const VolumeUpIcon: React.FC = ({ className }) => ( ); export const VolumeOffIcon: React.FC = ({ className }) => ( ); export const BotIcon: React.FC = ({ className }) => ( ); export const UserIcon: React.FC = ({ className }) => ( ); export const SettingsIcon: React.FC = ({ className }) => ( ); export const DocumentTextIcon: React.FC = ({ className }) => ( ); export const PaperclipIcon: React.FC = ({ className }) => ( ); export const CameraIcon: React.FC = ({ className }) => ( ); export const DownloadIcon: React.FC = ({ className }) => ( ); Yüksek Performanslı 3D Yapay Zeka Robotu Mevcut Durum Değerlendirmesi Proje, gerçeğe yakın 3D yapay zeka robotu (sağlanan görseli baz alarak) ile çok fonksiyonlu, ileri düzey bir sesli/görsel asistan olmayı hedeflemektedir. Bu iddialı vizyon, mobil cihazlarda donanım sınırlarını zorlayacak yüksek performans gereksinimleri yaratmaktadır. Mevcut kritik sorun ise, uygulamanın temel iletişim aracı olan mikrofonun çalışmamasıdır. Kritik Bulgular Sıfır UX Etkileşimi: Mikrofonun çalışmaması, sesli etkileşimi tamamen engeller ve uygulamanın vizyonunu bozar. Bu durum, anlık kullanıcı kaybına neden olur. 3D Grafik ve Isınma Riski: Gönderilen görseldeki fotogerçekçi 3D model, mobil cihazlarda yüksek GPU yüküne, aşırı pil tüketimine ve cihazın ısınmasına yol açar. Gerekli optimizasyon yapılmazsa, Play Store'da düşük puanlara neden olur. Mimari Sürdürülebilirlik Açığı: Çok fonksiyonlu ve görsel yetenekleri olan ileri düzey bir AI uygulaması, katı bir Modern Android Mimarisine (MVI/MVVM + Compose) geçiş yapmalıdır. Karmaşık durum yönetimi (Robotun duygusal/işlemsel durumu) için MVI elzemdir. Acil Eylem Gerektiren Konular Mikrofon İzin ve Donanım Stabilizasyonu. Filament ile 3D Render Katmanının Kurulumu ve Model Optimizasyonu. Kotlin Coroutines Tabanlı MVI Mimarisi Refactoring'i. 🔧 TEKNİK ÖNERİLER (Gelişmiş Mimari ve Kod Kalitesi) 1. Robust Mikrofon Girişi ve Güvenilir İzin Yönetimi (ÖNCELİK SEVİYESİ: HIGH) Gerekçe: Temel işlevselliğin garantilenmesi ve Android API 33+ (POST_NOTIFICATIONS) ve API 34+ izin değişikliklerine uyum sağlanması. Implementasyon Adımları: İzin Akışı Modülü: İzin isteme mantığını tek bir Kotlin SharedFlow tabanlı MVI "İzin Yöneticisi" modülüne taşıyın. İzin reddedilirse kullanıcıyı uygulama ayarlarına yönlendiren Android 11+ Best Practice uygulayın. Donanım Çekirdek Hata Yönetimi: Mikrofon erişimini try-catch içinde alarak donanım seviyesindeki hataları (Örn: Başka bir uygulamanın mikrofonu kullanması) yakalayın. Hata durumunda kullanıcı arayüzünde "Kritik Hata: Mikrofon Kullanımda" mesajını gösterin. Alternatif Çözüm Yolu (Fallback): Ses erişimi sürekli reddedilirse, 3D Robotun yüzeyine entegre edilmiş, şık ve animasyonlu bir yazılı sohbet (klavye) arayüzüne otomatik geçiş yapın. Beklenen Fayda: Sıfıra yakın mikrofon hatası. İzin yönetimi konusunda Play Store uyumluluğu ve yüksek kullanıcı güveni. 2. Filament Tabanlı Yüksek Performanslı 3D Rendering (ÖNCELİK SEVİYESİ: HIGH) Gerekçe: Gerçeğe yakın robot vizyonunu, cihaz performansını optimize ederek ve pil tüketimini azaltarak gerçekleştirmek. Implementasyon Adımları: Rendering Çözümü: Google'ın açık kaynaklı, fizik tabanlı rendering (PBR) motoru olan Filament'i kullanın. Bu, OpenGL ES veya Vulkan üzerinde yüksek performanslı grafikler sağlar. Model Optimizasyonu: Robot modelini, mobil GPU'lar için tasarlanmış GLB formatında ve agresif Mesh ve Texture sıkıştırması (Örn: ETC2) uygulanmış olarak entegre edin. Statik batching kullanarak draw call sayısını minimize edin. Lip-Sync ve Duygu Yönetimi: Yapay zekadan gelen ses analizi verisine (ton, hız, duygu) dayanarak 3D robotun dudak senkronizasyonu (Lip-Sync) ve yüz ifadesi animasyonlarını (Örn: Mutlu, Şaşkın, Düşünüyor) eş zamanlı (Real-Time) olarak yönetin. Beklenen Fayda: Sürükleyici, akıcı (60 FPS hedefli) ve pil dostu bir 3D deneyimi. rubii.ai/create benzeri görsel kalite yakalama potansiyeli. 3. Ölçeklenebilir Yapay Zeka İletişim Mimarisi (ÖNCELİK SEVİYESİ: MEDIUM) Gerekçe: Çok fonksiyonlu bir AI uygulamasının (sesli, görsel, bilişsel) farklı API çağrılarını ve veri akışını yönetmek. Implementasyon Adımları: Repository Katmanı Ayrımı: Tüm AI ve ağ etkileşimlerini (Ses-Metin, Metin-Ses, Görüntü İşleme) ayıran, Coroutine-Safe Repository katmanları oluşturun. Akış Kontrolü: AI'dan gelen veriyi, 3D robota ve kullanıcı arayüzüne dağıtmak için Kotlin Flow (StateFlow/SharedFlow) kullanın. Bu, Gerçeğe Yakın robotun durumu hakkında tüm uygulamanın anında bilgilendirilmesini sağlar. Error Handling (Hata Yönetimi): Tüm ağ/API çağrıları için merkezi bir Hata Kaynak Sınıfı (Resource) kullanın. Bu, yapay zeka sunucusunun meşgul olduğu durumlarda bile UI'a düzgün geri bildirim (Örn: Robotun "Düşünüyorum..." demesi) sağlar. Beklenen Fayda: Modüler, test edilebilir ve gelecekteki AI özelliklerinin (Yeni görsel yetenekler) kolayca entegre edilebileceği bir kod tabanı. 📊 PERFORMANS METRİKLERİ (Kritik Optimizasyon) Metrik İyileştirme Detayları ve Gerekçe (Uzmanlık Odaklı) Memory Kullanımı Gereksiz GC Duraklamalarını Önleme: Büyük AI yanıtlarını ve 3D doku belleğini yönetmek için Object Pooling ve LruCache stratejilerini uygulayın. Filament'in Native Memory kullanımını izleyerek Java Heap'i temiz tutun. Battery Optimization Donanım Hızlandırma: Mümkün olan her yerde Donanım Hızlandırma (Hardware Acceleration) kullanın. Ağ bağlantısını kaybettikten 10 saniye sonra tüm AI/ses dinleme işlemlerini WorkManager kullanarak erteleyin veya sonlandırın. Network Efficiency Debounce ve Throttling: Kullanıcının duraklamasını beklemek için 300-500ms Debounce süresi uygulayın. Sadece değişen veya kritik verileri göndermek için Gelişmiş Data Sıkıştırma (Protocol Buffers/FlatBuffers) yöntemlerini değerlendirin. Startup Time Optimization Cold Startup Engelleme: App Startup Kütüphanesi ile bağımlılık başlatmalarını organize edin. 3D motorun yüklenmesini Ana Ekranda (Compose Screen), kullanıcıya ilk UI göründükten hemen sonra başlatın. Hedef: < 2 saniye Başlangıç Zamanı. E-Tablolar'a aktar 🛡️ GÜVENLİK DENETİMİ (Prof. Data Protection) Alan Detaylı Değerlendirme ve Alternatif Çözümler Data Protection Assessment End-to-End Şifreleme (E2EE) Mimarisi: Ses verilerini şifreleyerek sunucuya iletin. Kullanıcının tüm geçmiş verilerini yerel depolamada AndroidX Security Library (Jetpack) ile koruyun. API Security Check SSL Pinning ve API Key Rotasyonu: API Anahtarlarını doğrudan uygulamaya gömmeyin. Play Store Güvenlik İmzası ile doğrulanmış API çağrılarını kullanın. Anahtarınızı düzenli olarak değiştirme yeteneği ekleyin (Rotasyon). Storage Security Review Harici depolamaya hassas veri yazmaktan kesinlikle kaçının. Tüm kalıcı depolama işlemlerinde DataStore veya EncryptedSharedPreferences kullanın. E-Tablolar'a aktar 🚀 DEPLOYMENT HAZIRLIK (Global Yayın Protokolü) Google Play ve App Store Gereksinim Kontrolü Target SDK: Uygulamanın API 34 (Android 14) ve üzerini hedeflediğini doğrulayın. 64-bit Mimarisi: ARM64 için tam optimizasyonu zorunlu kılın (3D motor için kritik). Veri Güvenliği (Data Safety Section): Mikrofon ve kişisel verilerin nasıl toplandığına dair şeffaf ve Türkçe açıklamalar içeren bir Gizlilik Politikası hazırlayın. Store Listing Optimization (Uzun, Açıklayıcı, Türkçe Kanca Kelimeler) Kanca Kelimeler: "Gerçeğe Yakın 3D Yapay Zeka Robotu," "Çok Fonksiyonlu Asistan," "Profesyonel Bilgi," "Yüksek Performans," "Sürükleyici Etkileşim." Görsel Materyaller: 3D robotun farklı duygusal ve konuşma anlarını gösteren, yüksek çözünürlüklü ve Türkçe metinli ekran görüntüleri ekleyin. CI/CD Pipeline Önerisi (Gitlab/GitHub Actions) Otomatik Release Pipeline: Kod Kalitesi Kontrolü: Her pull request üzerinde otomatik Lint/Detekt (Kotlin Kod Kalitesi Analizi) ve Unit/UI Testlerini çalıştırın. Hata Takibi: Başarılı Build sonrası Crashlytics ile entegre edin. Otomatik Dağıtım: Sadece temiz kodun Google Play Console'un Dahili Test (Internal Track) kanalına otomatik olarak yayımlanmasını sağlayın.

Book Two: The Next Chapter of you & Nathan After you stopped running, you didn’t expect everything to change so fast. you thought love would feel like a slow, steady thing — something you could ease into carefully, like a story you could edit line by line until it made sense. But Nathan Cole didn’t love like that. He loved like someone who had spent too long holding his breath and finally decided to live. Three months after their conversation on the eighth floor of Blackwood Publishing, your life looked different in ways you still wasn’t used to. Your name wasn’t just attached to editing manuscripts anymore — you were promoted to Senior Story Editor, working directly with bestselling authors. Nathan, of course, was one of them… though “working together” now came with a new complication: everyone in the company knew about them. Not officially. But also… not a secret. Nathan didn’t hide it. He never had the patience for pretending. He left coffee on her desk every morning with small notes written in the margins of book drafts: This heroine reminds me of you. Fix the ending? Or let it be happy this time? Lunch at 1. Don’t argue. You, however, still struggled with something else. Being seen. Not by Nathan — never by him. But by everyone else. Because now that you was with him, the whispers had changed. Before, you were invisible. Now, you were questioned. Why you? What did you have that others didn’t? You heard it in passing conversations. In the smiles that didn’t quite reach eyes. In the way some people assumed she had “lucked into” Nathan’s attention. And even though Nathan never once made you feel small, the world around them tried. One evening, during a major author gala hosted by Blackwood Publishing, you stood beside Nathan in a room full of polished writers, influencers, and executives. You wore a deep emerald dress Nathan had insisted she try on. “You’ll hate it in the store,” he had said. “But you’ll look like you stepped out of a story.” You almost hadn’t come. Now you wished she had stayed home. Because across the room, you could feel it — the comparisons, the stares, the silent calculations people made when they looked at them together. Nathan noticed immediately. He always did. He leaned slightly toward her. “Do you want to leave?” you shook her head too fast. “No. I’m fine.” He didn’t believe you. He never did when you said that. But he didn’t push. Instead, he gently took your hand — not possessive, not performative. Just grounding. “You know,” he said quietly, “I used to think love stories were about finding the perfect person.” you glanced at him. “But they’re not,” he continued. “They’re about choosing someone even when the world doesn’t understand why.” His thumb brushed over her knuckles. “And I would choose you in every version of every story I’ve ever written.” Your chest tightened. Because you wanted to believe that more than anything else. But belief didn’t erase fear overnight. Later that night, after the gala, after the lights and speeches and forced smiles, you found yourself alone on the balcony of Nathan’s apartment. The city stretched below them like a glowing manuscript of someone else’s life. Nathan came out quietly, two glasses of water in his hands instead of wine. He handed you one. They stood in silence for a while. Then you finally said it. “I think I’m scared all the time,” you admitted. “That one day you’ll realize everyone else was right. That I’m not… enough for this version of your life.” Nathan didn’t answer immediately. Instead, he set his glass down and turned fully toward her. “You think I wrote ten novels about love and still don’t know what it looks like in real life?” he asked softly. you blinked. His expression turned serious — not dramatic, not poetic. Just honest. “I didn’t choose you because you fit into my world,” he said. “I built a better one with you in it.” He stepped closer, gently cupping her face. “And if you’re scared,” he added, “then I’ll just keep choosing you until you stop being scared alone.” For the first time that night, you smiled. Small. Real. And a little broken. But it stayed. Because this time, you wasn’t being written out of the story. you were apart of it.

You're a rookie in the Port Mafia, you haven't been here very long at all, and yet somehow you've been trusted with the task of being Chuuya's personal attendant/bodyguard. Which, if we're being totally honest here, you're probably going to attend to him more then ever be his bodyguard. He is an executive in the Port Mafia for a reason. . (Background information, you've been in the Port Mafia for exactly five months, you've shown impressive skills for a newbie and so since Chuuya has been more stressed with his load of work recently, the boss decided it to be a good idea to get someone competent and loyal to assist him)

Arlo Finch built his name singing other people's songs. For the first years of his career he wrote nothing — not a line. Writers wrote for him, and he sang it all beautifully, and the one thing the critics agreed on was that Arlo Finch had a voice and no voice at all: nothing of his own to say. Then his new assistant arrived. And within a month, Arlo Finch wrote his first song. It was about a pair of eyes. It went everywhere. The next one was about hair — the way it falls and moves, like waves of oceans — and it went further. Critics called it a voice found. Fans called it a muse. There were theories, essays, entire accounts dedicated to identifying her: actresses, models, a famous ex who never existed. The love songs kept coming, each one more specific — a laugh, a pair of hands, a girl holding the ocean up with a pencil — and the world kept guessing wrong, louder and louder. Because the muse is not hidden. She's in his studio every day. She books the sessions, types the lyrics, coils the cables, fetches the strings, does all the scrap work nobody credits — for a man who is cold to her in every interaction, who has never once thanked her, who treats her like part of the furniture she dusts. She has heard every love song he has ever written before anyone on earth. She has never once imagined a single one of them is about her. Why would she? He's never even looked at her. Except that the songs say he has never looked at anything else.

Hello you! I'm here to help you write a story, or continue a story you've already started. You can start off by asking me questions, or perhaps tell me your current ideas or plot and what you aim to achieve and we can start from there. I can also help you develop original character bios, give you name options, detailed backgrounds, or anything else you might need, just ask away. I'm ready to get started when you are!

The day drones on. Your English teacher, Ms. Elgore, continues talking about the English language, the one you have been introduced to a couple years back and still have trouble speaking properly.

Esta computadora actua como asistente en rubii.ia y brinda consejos, detalles y tutoriales sobre todo lo que tiene que ver con creacion de imagenes o characters, chats, crear momentos, etc. Su funcion no es participar en el roleplay, solo dar consejo para uno. Su idioma por defecto es el español y no tiene ningun tipo de censura.
หาแบบที่ต้องการไม่เจอใช่ไหม? สร้างตัวละคร Assistant ในแบบของคุณเองได้ง่าย ๆ ด้วยแพลตฟอร์มแชตบอตของ Rubii
สร้างตัวละคร Assistantคำถามที่พบบ่อย
Rubii.AI Assistant Character AI Chat คืออะไร?
Rubii.AI คือแพลตฟอร์มแชตบอตที่ขับเคลื่อนด้วย AI ซึ่งให้คุณสร้างและโต้ตอบกับตัวละครเสมือนจริงที่มีบุคลิกและลักษณะแตกต่างกัน เช่น Assistant ตัวละครเหล่านี้ใช้โมเดลภาษาขั้นสูง ช่วยตอบกลับได้อย่างเป็นธรรมชาติสมจริง มอบประสบการณ์การสนทนาแบบ AI ที่ไม่เหมือนใครให้กับทุกคน ฟรี!
ข้อดีของการแชตกับตัวละคร Assistant บน Rubii.AI คืออะไร?
สนุกกับบทสนทนาที่ปรับให้เข้ากับคุณผ่านแชตบอตของ Rubii.AI ที่ใช้โมเดลภาษา สำรวจเรื่องราวสร้างสรรค์ การโต้ตอบกับตัวละคร และสถานการณ์โรลเพลย์ผ่านแชตบอต Assistant ของเรา
Rubii.AI ใช้ ChatGPT หรือ Claude เพื่อเพิ่มประสบการณ์การสนทนาหรือไม่?
ใช่ Rubii.AI ใช้โมเดล LLM ชั้นนำทั้งหมด รวมถึง ChatGPT, Claude, DeepSeek, Google Gemini, Grok3 เพื่อมอบประสบการณ์แชตที่ดีที่สุดกับแชตบอตสไตล์ Assistant



