MCPcopy Create free account

hub / github.com/cogentapps/chat-with-gpt / functions

Functions401 in github.com/cogentapps/chat-with-gpt

↓ 2 callersFunctionsetComplete
()
app/src/core/tts/use-tts.tsx:152
↓ 2 callersMethodsetMessageContent
(messageID: string, value: string)
app/src/core/chat/y-chat.ts:80
↓ 2 callersMethodsetOption
(pluginID: string, optionID: string, value: any)
app/src/core/chat/y-chat.ts:98
↓ 2 callersMethodsetOption
(groupID: string, optionID: string, value: any, chatID?: string | null)
app/src/core/options/index.ts:156
↓ 2 callersFunctionshouldUseProxy
(apiKey: string | undefined | null)
app/src/core/chat/openai.ts:13
↓ 2 callersMethodsignIn
()
app/src/core/backend.ts:202
↓ 2 callersMethodspeak
(text: string, voice?: Voice)
app/src/core/tts/direct-tts-plugin.ts:5
↓ 2 callersMethodsuspendAudioContext
()
app/src/core/tts/audio-file-player.ts:216
↓ 2 callersFunctionupdate
()
app/src/core/tts/use-tts.tsx:110
↓ 2 callersMethodupdate
(id: string)
app/src/core/search.ts:15
↓ 2 callersFunctionuseTTS
()
app/src/core/tts/use-tts.tsx:155
↓ 1 callersMethod_decodeNative
(tokens: number[])
app/src/core/tokenizer/bpe.ts:130
↓ 1 callersMethod_decodeNative
(tokens: number[])
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:125
↓ 1 callersMethod_encodeNative
(text: string, allowedSpecial: Set<string>)
app/src/core/tokenizer/bpe.ts:155
↓ 1 callersMethod_encodeNative
(text: string, allowedSpecial: Set<string>)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:150
↓ 1 callersMethod_encodeOrdinaryNative
(text: string)
app/src/core/tokenizer/bpe.ts:139
↓ 1 callersMethod_encodeOrdinaryNative
(text: string)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:134
↓ 1 callersMethod_getTlSpecialRegex
()
app/src/core/tokenizer/bpe.ts:126
↓ 1 callersMethod_getTlSpecialRegex
()
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:121
↓ 1 callersMethodabort
()
app/src/core/speech-recognition-types.ts:66
↓ 1 callersMethodaddMessages
* Method to add multiple messages to the tree. * @param {Message[]} messages - An array of messages to add to the tree.
app/src/core/chat/message-tree.ts:126
↓ 1 callersMethodapplyYUpdate
(update: Uint8Array)
app/src/core/index.ts:118
↓ 1 callersFunctionbasicHandler
(req: express.Request, res: express.Response)
server/src/endpoints/service-proxies/openai/basic.ts:5
↓ 1 callersFunctionbootstrapApplication
()
app/src/index.tsx:62
↓ 1 callersFunctioncancel
()
app/src/core/tts/use-tts.tsx:136
↓ 1 callersMethodcancel
()
app/src/core/tts/use-tts.tsx:40
↓ 1 callersMethodcancelReply
(chatID: string | undefined, id: string)
app/src/core/index.ts:197
↓ 1 callersFunctioncloseSettingsUI
()
app/src/store/settings-ui.ts:28
↓ 1 callersFunctioncompareUint8Array
(a: Uint8Array, b: Uint8Array)
app/src/core/utils/index.ts:49
↓ 1 callersFunctionconfigureAuth0
(context: ChatServer)
server/src/auth0.ts:18
↓ 1 callersFunctionconfigurePassport
(context: ChatServer)
server/src/passport.ts:12
↓ 1 callersFunctioncountTokensForMessage
(message: OpenAIMessage)
app/src/core/tokenizer/index.ts:40
↓ 1 callersFunctioncountTokensForMessage
(message: OpenAIMessage)
server/src/endpoints/service-proxies/openai/tokenizer/index.ts:43
↓ 1 callersFunctioncountTokensForText
(text: string)
app/src/core/tokenizer/index.ts:29
↓ 1 callersFunctioncountTokensForText
(text: string)
server/src/endpoints/service-proxies/openai/tokenizer/index.ts:32
↓ 1 callersMethodcreateChat
(id?: string)
app/src/core/index.ts:202
↓ 1 callersFunctioncreateChatCompletion
(messages: OpenAIMessage[], parameters: Parameters)
app/src/core/chat/openai.ts:53
↓ 1 callersMethodcreateChatCompletion
(messages: OpenAIMessage[], parameters: Parameters)
app/src/core/plugins/plugin-context.ts:7
↓ 1 callersMethodcreateShare
(userID: string | null, id: string)
server/src/database/knex.ts:122
↓ 1 callersFunctioncreateStreamingChatCompletion
(messages: OpenAIMessage[], parameters: Parameters)
app/src/core/chat/openai.ts:80
↓ 1 callersMethodcreateTables
()
server/src/database/knex.ts:27
↓ 1 callersMethodcreateUser
(email: string, passwordHash: Buffer)
server/src/database/knex.ts:75
↓ 1 callersMethodcreateYChat
(id = uuidv4())
app/src/core/chat/y-chat.ts:242
↓ 1 callersMethoddeleteChat
(userID: string, chatID: string)
server/src/database/knex.ts:137
↓ 1 callersMethoddestroy
()
app/src/core/options/index.ts:206
↓ 1 callersMethoddestroy
()
app/src/core/tts/direct-tts-player.ts:112
↓ 1 callersMethodemitChanges
()
app/src/core/index.ts:122
↓ 1 callersMethodencodeOrdinary
(text: string)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:194
↓ 1 callersMethodexecute
()
app/src/core/chat/create-reply.ts:66
↓ 1 callersFunctionextractTextSegments
(element: HTMLElement)
app/src/core/tts/use-tts.tsx:14
↓ 1 callersMethodfirst
* Getter method for retrieving the first message in the most recent message chain. * @returns {MessageNode | null} - The first message in the mos
app/src/core/chat/message-tree.ts:62
↓ 1 callersFunctionformatTime
()
server/src/utils.ts:7
↓ 1 callersFunctiongetActiveUsersInLast5Minutes
()
server/src/endpoints/base.ts:6
↓ 1 callersFunctiongetAudioFile
(plugin: TTSPlugin<any>, text: string)
app/src/core/tts/audio-file-player.ts:23
↓ 1 callersMethodgetChat
(id: string)
app/src/core/chat/y-chat.ts:280
↓ 1 callersMethodgetChats
(userID: string)
server/src/database/knex.ts:103
↓ 1 callersMethodgetCurrentChat
()
app/src/core/plugins/plugin-context.ts:6
↓ 1 callersMethodgetCurrentVoice
* Returns the current voice based on the plugin options. * @returns {Promise<Voice>} A promise that resolves to a Voice object.
app/src/tts-plugins/elevenlabs.tsx:166
↓ 1 callersMethodgetCurrentVoice
()
app/src/tts-plugins/web-speech.ts:63
↓ 1 callersMethodgetCurrentVoice
()
app/src/core/tts/tts-plugin.ts:9
↓ 1 callersMethodgetDeletedChatIDs
(userID: string)
server/src/database/knex.ts:146
↓ 1 callersFunctiongetEndpoint
(proxied = false)
app/src/tts-plugins/elevenlabs.tsx:16
↓ 1 callersMethodgetMessageContent
(messageID: string)
app/src/core/chat/y-chat.ts:85
↓ 1 callersMethodgetMessages
(userID: string)
server/src/database/knex.ts:108
↓ 1 callersFunctiongetNumUpdatesProcessedIn5Minutes
()
server/src/endpoints/sync.ts:10
↓ 1 callersFunctiongetOpenAIMessageFromMessage
(message: Message)
app/src/core/chat/types.ts:34
↓ 1 callersMethodgetOptions
()
app/src/core/plugins/plugin-context.ts:5
↓ 1 callersMethodgetQuickSettings
()
app/src/core/index.ts:245
↓ 1 callersMethodgetSession
()
app/src/core/backend.ts:53
↓ 1 callersMethodgetSharedChat
(id: string)
app/src/core/backend.ts:229
↓ 1 callersMethodgetUser
(email: string)
server/src/database/knex.ts:87
↓ 1 callersMethodgetVoices
* Fetches and returns the available voices from ElevenLabs API. * This function stores the list of voices in a static variable, which is used els
app/src/tts-plugins/elevenlabs.tsx:151
↓ 1 callersMethodinitialize
()
app/src/core/plugins/index.ts:9
↓ 1 callersMethodinitialize
()
server/src/index.ts:49
↓ 1 callersMethodinverted
()
app/src/core/tokenizer/bpe.ts:35
↓ 1 callersMethodinverted
()
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:30
↓ 1 callersMethodisProtected
()
server/src/endpoints/sync.ts:59
↓ 1 callersMethodisSpeaking
()
app/src/tts-plugins/web-speech.ts:120
↓ 1 callersMethodisSynced
()
app/src/core/backend.ts:49
↓ 1 callersFunctionloadLocaleData
(locale: string)
app/src/index.tsx:48
↓ 1 callersMethodloadYDoc
(userID: string)
server/src/database/knex.ts:153
↓ 1 callersMethodloop
* The main loop function that executes the given handler function * while the loop is not cancelled. It catches any errors thrown by * the h
app/src/core/utils/async-loop.ts:35
↓ 1 callersFunctionmd5
(data: string)
app/src/core/utils/index.ts:90
↓ 1 callersMethodobserveDeep
(callback: any)
app/src/core/chat/y-chat.ts:28
↓ 1 callersMethodonCancel
()
app/src/core/chat/create-reply.ts:170
↓ 1 callersMethodonData
(value: any)
app/src/core/chat/create-reply.ts:110
↓ 1 callersMethodonDone
()
app/src/core/chat/create-reply.ts:131
↓ 1 callersFunctionparseResponseChunk
(buffer: any)
app/src/core/chat/openai.ts:34
↓ 1 callersFunctionparseResponseChunk
(buffer: any)
server/src/endpoints/service-proxies/openai/streaming.ts:79
↓ 1 callersFunctionpause
()
app/src/core/tts/use-tts.tsx:133
↓ 1 callersMethodplay
(index?: number)
app/src/core/tts/use-tts.tsx:38
↓ 1 callersMethodpreprocessModelInput
(messages: OpenAIMessage[], parameters: Parameters)
app/src/core/plugins/index.ts:20
↓ 1 callersMethodprocess
()
app/src/core/tokenizer/chat-history-trimmer.ts:22
↓ 1 callersMethodput
(key: string, value: string, contentType: string)
server/src/object-store/s3.ts:25
↓ 1 callersFunctionreadStream
(stream: Readable)
server/src/object-store/s3.ts:37
↓ 1 callersMethodreceiveYUpdate
(update: Uint8Array)
app/src/core/backend.ts:194
↓ 1 callersMethodregenerate
(message: Message, requestedParameters: Parameters)
app/src/core/index.ts:161
↓ 1 callersMethodremoveMessagesStrategy
()
app/src/core/tokenizer/chat-history-trimmer.ts:96
↓ 1 callersMethodremoveUnwantedMessagesStrategy
()
app/src/core/tokenizer/chat-history-trimmer.ts:76
↓ 1 callersMethodresetOptions
(groupID: string, chatID?: string | null)
app/src/core/options/index.ts:91
← previousnext →101–200 of 401, ranked by callers