MCPcopy Create free account

hub / github.com/akdeb/ElatoAI / functions

Functions473 in github.com/akdeb/ElatoAI

↓ 106 callersFunctioncn
(...inputs: ClassValue[])
frontend-nextjs/utils/cn.ts:4
↓ 99 callersMethodlog
* Writes WebSocket logs to console * @param {...any} args * @returns {true}
server/deno/realtime/api.js:39
↓ 84 callersMethodsend
* Sends an event to WebSocket and dispatches as "client.{eventName}" and "client.*" events * @param {string} eventName * @param {{[key: stri
server/deno/realtime/api.js:189
↓ 56 callersMethodon
* Listen to specific events * @param {string} eventName The name of the event to listen to * @param {EventHandlerCallbackType} callback Code
server/deno/realtime/event_handler.js:39
↓ 33 callersMethodclose
(self)
server/fastapi/esp32_transport.py:119
↓ 24 callersFunctioncreateClient
(opts?: SupabaseClientOptions<"public">)
frontend-nextjs/utils/supabase/server.ts:5
↓ 15 callersMethoddispatch
* Executes all events in the order they were added, with .on() event handlers executing before .onNext() handlers * @param {string} eventName
server/deno/realtime/event_handler.js:131
↓ 13 callersFunctionsendClientEvent
(eventObj: any, eventNameSuffix = "")
frontend-nextjs/app/components/Realtime/App.tsx:77
↓ 10 callersFunctionaddConversation
( supabase: SupabaseClient, speaker: "user" | "assistant", content: string, user: IUser, )
server/deno/supabase.ts:201
↓ 10 callersFunctionautodiscovered_provider_factory
(provider_label: str, category: str)
server/fastapi/models/_unsupported.py:144
↓ 10 callersFunctioncreateClient
()
frontend-nextjs/utils/supabase/client.ts:3
↓ 9 callersFunctioncreateServerMessage
(msg: string, extra: Record<string, unknown> = {})
server/cloudflare/models/session.ts:19
↓ 9 callersMethoddisconnect
* Disconnects from Realtime API server * @param {WebSocket} [ws] * @returns {true}
server/deno/realtime/api.js:162
↓ 9 callersMethodgenerateId
* Generates an id to send with events and messages * @param {string} prefix * @param {number} [length] * @returns {string}
server/deno/realtime/utils.js:93
↓ 8 callersFunctionencodedRedirect
( type: "error" | "success", path: string, message: string, )
frontend-nextjs/utils/utils.ts:11
↓ 8 callersFunctionlogClientEvent
(eventObj, eventNameSuffix = "")
frontend-nextjs/app/components/Realtime/contexts/EventContext.tsx:34
↓ 8 callersFunctionuseMediaQuery
(query: string)
frontend-nextjs/hooks/useMediaQuery.ts:3
↓ 7 callersMethodflush
(self, pad_final_frame: bool = False)
server/fastapi/esp32_transport.py:104
↓ 7 callersFunctiontoast
({ ...props }: Toast)
frontend-nextjs/components/ui/use-toast.ts:145
↓ 6 callersMethodclear
* Clears the conversation history and resets to default * @returns {true}
server/deno/realtime/conversation.js:253
↓ 6 callersFunctionfetch
(request: Request, env: Env)
server/cloudflare/src/index.ts:6
↓ 6 callersFunctiongetPersonalityImageSrc
(title: string)
frontend-nextjs/lib/utils.ts:34
↓ 6 callersFunctiongetUserById
(supabase: SupabaseClient, id: string)
frontend-nextjs/db/users.ts:50
↓ 5 callersFunctionaddTranscriptBreadcrumb
(title, data)
frontend-nextjs/app/components/Realtime/contexts/TranscriptContext.tsx:67
↓ 5 callersMethodclose
()
server/cloudflare/src/opus.ts:120
↓ 5 callersFunctioncloseHandler
()
server/deno/main.ts:70
↓ 5 callersMethodconnect
* Connects to Realtime API Websocket Server * @param {{model?: string}} [settings] * @returns {Promise<true>}
server/deno/realtime/api.js:59
↓ 5 callersFunctioncreateOpusPacketizer
( sendPacket: (packet: Uint8Array) => void, )
server/deno/utils.ts:34
↓ 5 callersFunctiondispatch
(action: Action)
frontend-nextjs/components/ui/use-toast.ts:136
↓ 5 callersMethodencode
(self, pcm_audio: bytes)
server/fastapi/esp32_transport.py:89
↓ 5 callersFunctiongetOpenGraphMetadata
(title: string)
frontend-nextjs/lib/utils.ts:5
↓ 5 callersFunctionhandleBlur
(field: keyof FormData | 'features')
frontend-nextjs/app/components/CreateCharacter/BuildDashboard.tsx:71
↓ 5 callersMethodisConnected
* Tells us whether the realtime socket is connected and the session has started * @returns {boolean}
server/deno/realtime/client.js:371
↓ 5 callersMethodreset
* Resets the client instance entirely: disconnects and clears active config * @returns {true}
server/deno/realtime/client.js:379
↓ 5 callersFunctionupdateUser
( supabase: SupabaseClient, user: Partial<IUser>, userId: string, )
frontend-nextjs/db/users.ts:83
↓ 4 callersFunctiongetDeviceInfo
( supabase: SupabaseClient, userId: string, )
server/deno/supabase.ts:37
↓ 4 callersMethodgetItem
* Retrieves a item by id * @param {string} id * @returns {import('./client.js').ItemType}
server/deno/realtime/conversation.js:303
↓ 4 callersFunctionhandleInputChange
(field: keyof FormData, value: string)
frontend-nextjs/app/components/CreateCharacter/BuildDashboard.tsx:102
↓ 4 callersFunctionuseCarousel
()
frontend-nextjs/components/ui/carousel.tsx:37
↓ 4 callersFunctionuseFormField
()
frontend-nextjs/components/ui/form.tsx:44
↓ 4 callersFunctionvalidateField
(field: keyof FormData | 'features', value: string)
frontend-nextjs/app/components/CreateCharacter/BuildDashboard.tsx:83
↓ 3 callersFunction_normalize
(value: str)
server/fastapi/models/_unsupported.py:23
↓ 3 callersMethoddisconnect
* Disconnects from the Realtime API and clears the conversation history
server/deno/realtime/client.js:432
↓ 3 callersMethodencode
(frame: Uint8Array)
server/cloudflare/src/opus.ts:97
↓ 3 callersMethodfree
(ptr: number)
server/cloudflare/src/opus.ts:15
↓ 3 callersFunctionget_provider_registry
(category: ProviderCategory)
server/fastapi/models/providers.py:104
↓ 3 callersFunctionload_provider_factory
( registry: dict[str, str], provider_name: str, category: str, )
server/fastapi/models/_provider_loader.py:19
↓ 3 callersMethodmalloc
(size: number)
server/cloudflare/src/opus.ts:14
↓ 3 callersMethodreset
(self)
server/fastapi/esp32_transport.py:116
↓ 3 callersFunctionrun_bot_session
( transport: BaseTransport, transport_kind: Literal["browser", "esp32"], handle_sigint: bool = Fal
server/fastapi/bot.py:143
↓ 3 callersFunctionuseEvent
()
frontend-nextjs/app/components/Realtime/contexts/EventContext.tsx:65
↓ 3 callersFunctionuseToast
()
frontend-nextjs/components/ui/use-toast.ts:174
↓ 3 callersFunctionuseTranscript
()
frontend-nextjs/app/components/Realtime/contexts/TranscriptContext.tsx:116
↓ 2 callersMethod__init__
(self, input_sample_rate: int, input_channels: int = 1)
server/fastapi/esp32_transport.py:35
↓ 2 callersMethod_addAPIEventHandlers
* Sets up event handlers for a fully-functional application control flow * @private * @returns {true}
server/deno/realtime/client.js:250
↓ 2 callersFunction_instantiate_service
(service_cls, provider_label: str, category: str, kwargs: dict[str, object])
server/fastapi/models/_unsupported.py:119
↓ 2 callersMethod_resetConfig
* Resets sessionConfig and conversationConfig to default * @private * @returns {true}
server/deno/realtime/client.js:237
↓ 2 callersFunctionaddLoggedEvent
(direction: "client" | "server", eventName: string, eventData: Record<string, any>)
frontend-nextjs/app/components/Realtime/contexts/EventContext.tsx:19
↓ 2 callersFunctionaddToRemoveQueue
(toastId: string)
frontend-nextjs/components/ui/use-toast.ts:61
↓ 2 callersFunctionaddTranscriptMessage
(itemId, role, text = "", isHidden = false)
frontend-nextjs/app/components/Realtime/contexts/TranscriptContext.tsx:30
↓ 2 callersMethodarrayBufferToBase64
* Converts an ArrayBuffer, Int16Array or Float32Array to a base64 string * @param {ArrayBuffer|Int16Array|Float32Array} arrayBuffer * @retur
server/deno/realtime/utils.js:45
↓ 2 callersMethodclearEventHandlers
* Clears all event handlers * @returns {true}
server/deno/realtime/event_handler.js:27
↓ 2 callersFunctionconnectToRealtime
()
frontend-nextjs/app/components/Realtime/App.tsx:131
↓ 2 callersFunctioncreatePersonality
( supabase: SupabaseClient, userId: string, personality: IPersonality, )
frontend-nextjs/db/personalities.ts:3
↓ 2 callersMethodcreateResponse
* Forces a model response generation * @returns {true}
server/deno/realtime/client.js:605
↓ 2 callersFunctioncreateUser
( supabase: SupabaseClient, user: User, userProps: Partial<IUser>, )
frontend-nextjs/db/users.ts:3
↓ 2 callersFunctioncreate_browser_transport
(websocket: WebSocket)
server/fastapi/server.py:207
↓ 2 callersFunctiondisconnectFromRealtime
()
frontend-nextjs/app/components/Realtime/App.tsx:173
↓ 2 callersFunctiondoesUserExist
( supabase: SupabaseClient, authUser: User, )
frontend-nextjs/db/users.ts:66
↓ 2 callersFunctionensureOk
(code: number, memory: Uint8Array, wasm: OpusExports)
server/cloudflare/src/opus.ts:57
↓ 2 callersFunctionerrorMessage
(error: unknown)
server/cloudflare/models/session.ts:27
↓ 2 callersFunctionfetchGithubStars
(repo: string)
frontend-nextjs/app/actions.ts:142
↓ 2 callersFunctiongetAllLanguages
(supabase: SupabaseClient)
frontend-nextjs/db/languages.ts:2
↓ 2 callersFunctiongetAllPersonalities
(supabase: SupabaseClient)
frontend-nextjs/db/personalities.ts:40
↓ 2 callersFunctiongetProviderBadge
(provider: ModelProvider)
frontend-nextjs/app/components/CreateCharacter/BuildDashboard.tsx:253
↓ 2 callersFunctiongetSimpleUserById
( supabase: SupabaseClient, id: string, )
frontend-nextjs/db/users.ts:33
↓ 2 callersFunctionhandleClientMessage
(data: any, isBinary: boolean)
server/deno/models/elevenlabs.ts:89
↓ 2 callersFunctionhandleVoiceCharacteristicChange
(characteristic: 'features' | 'emotion' | 'pitchFactor', value: string | number)
frontend-nextjs/app/components/CreateCharacter/BuildDashboard.tsx:112
↓ 2 callersFunctionhexToRgb
(hex)
frontend-nextjs/app/components/Realtime/Animation1.jsx:181
↓ 2 callersMethodisConnected
* Tells us whether or not the WebSocket is connected * @returns {boolean}
server/deno/realtime/api.js:30
↓ 2 callersFunctionlogServerEvent
(eventObj, eventNameSuffix = "")
frontend-nextjs/app/components/Realtime/contexts/EventContext.tsx:39
↓ 2 callersMethodmergeInt16Arrays
* Merge two Int16Arrays from Int16Arrays or ArrayBuffers * @param {ArrayBuffer|Int16Array} left * @param {ArrayBuffer|Int16Array} right
server/deno/realtime/utils.js:67
↓ 2 callersFunctionmessageHandler
(data: any, isBinary: boolean)
server/deno/models/openai.ts:206
↓ 2 callersFunctionmessageHandler
(data: RawData, isBinary: boolean)
server/deno/models/hume.ts:235
↓ 2 callersFunctionmessageHandler
(data: RawData, isBinary: boolean)
server/deno/models/grok.ts:173
↓ 2 callersFunctionnewTimestampPretty
()
frontend-nextjs/app/components/Realtime/contexts/TranscriptContext.tsx:21
↓ 2 callersFunctiononPersonalityPicked
(personalityIdPicked: string)
frontend-nextjs/app/components/Playground/PlaygroundComponent.tsx:38
↓ 2 callersFunctiononSave
(values: any, userType: "doctor" | "user", userId: string)
frontend-nextjs/app/components/Settings/AppSettings.tsx:76
↓ 2 callersMethodprocessEvent
* Process an event from the WebSocket server and compose items * @param {Object} event * @param {...any} args * @returns {item: import
server/deno/realtime/conversation.js:280
↓ 2 callersMethodreceive
* Receives an event from WebSocket and dispatches as "server.{eventName}" and "server.*" events * @param {string} eventName * @param {{[key:
server/deno/realtime/api.js:176
↓ 2 callersMethodrefreshMemory
()
server/cloudflare/src/opus.ts:91
↓ 2 callersFunctionresamplePcm16Mono
( inputBytes: Buffer, fromRate: number, toRate: number, )
server/deno/models/elevenlabs.ts:34
↓ 2 callersMethodresetSessionState
()
server/cloudflare/models/session.ts:46
↓ 2 callersMethodserialize
(self, frame: Frame)
server/fastapi/esp32_transport.py:40
↓ 2 callersMethodstreamAssistantReply
(websocket: WebSocket, reply: string)
server/cloudflare/models/session.ts:98
↓ 2 callersMethodupdateSession
* Updates session configuration * If the client is not yet connected, will save details and instantiate upon connection * @param {SessionRes
server/deno/realtime/client.js:499
↓ 2 callersFunctionupdateTranscriptMessage
(itemId, newText, append = false)
frontend-nextjs/app/components/Realtime/contexts/TranscriptContext.tsx:53
↓ 2 callersMethodwaitForNext
* Waits for next event of a specific type and returns the payload * @param {string} eventName * @param {number|null} [timeout] * @retur
server/deno/realtime/event_handler.js:109
↓ 1 callersFunctionUserPromptTemplate
(user: IUser)
frontend-nextjs/app/api/session/route.ts:43
↓ 1 callersFunctionUserPromptTemplate
(user: IUser)
server/deno/supabase.ts:96
next →1–100 of 473, ranked by callers