MCPcopy Create free account

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

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

↓ 34 callersMethodset
(bytes: Uint8Array, rank: number)
app/src/core/tokenizer/bpe.ts:21
↓ 23 callersMethodfrom
(texts: string[])
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:8
↓ 23 callersMethodget
(bytes: Uint8Array)
app/src/core/tokenizer/bpe.ts:26
↓ 21 callersMethodgetOption
(pluginID: string, optionID: string)
app/src/core/chat/y-chat.ts:93
↓ 17 callersMethodget
* Method to get a message node from the tree by its ID. * @param {string} id - The ID of the message node to retrieve. * @returns {MessageNo
app/src/core/chat/message-tree.ts:76
↓ 17 callersMethodget
(bytes: Uint8Array)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:21
↓ 15 callersFunctionuseAppContext
()
app/src/core/context.tsx:245
↓ 14 callersMethodfrom
(root: Y.Doc, id: string)
app/src/core/chat/y-chat.ts:19
↓ 14 callersFunctionuseOption
(groupID: string, optionID: string, chatID?: string)
app/src/core/options/use-option.ts:5
↓ 12 callersMethodgetYChat
(id: string, expectContent = false)
app/src/core/chat/y-chat.ts:186
↓ 12 callersMethodhas
(id: string)
app/src/core/chat/y-chat.ts:207
↓ 12 callersMethodkeys
()
app/src/core/tokenizer/bpe.ts:31
↓ 11 callersMethodpost
(url: string, data: any)
app/src/core/backend.ts:263
↓ 10 callersMethodaddEventListener
( type: K, listener: ( this: SpeechRecognition, ev: Sp
app/src/core/speech-recognition-types.ts:69
↓ 10 callersMethodget
(key: string)
server/src/object-store/s3.ts:16
↓ 9 callersMethodfrom
(texts: string[])
app/src/core/tokenizer/bpe.ts:13
↓ 8 callersFunctioncacheKey
(groupID: string, optionID: string, chatID?: string | null)
app/src/core/options/index.ts:11
↓ 8 callersMethodhas
(id: string)
app/src/core/index.ts:210
↓ 7 callersMethodall
()
app/src/core/index.ts:214
↓ 7 callersMethoddelete
(id: string)
app/src/core/search.ts:33
↓ 7 callersFunctionplay
(index?: number)
app/src/core/tts/use-tts.tsx:130
↓ 7 callersMethodset
(bytes: Uint8Array, rank: number)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:16
↓ 7 callersMethodstart
()
app/src/core/speech-recognition-types.ts:67
↓ 6 callersMethodcreateTableIfNotExists
(tableName: string, tableBuilderCallback: (tableBuilder: Knex.CreateTableBuilder) => any)
server/src/database/knex.ts:68
↓ 6 callersMethodgetState
()
app/src/core/tts/direct-tts-player.ts:101
↓ 6 callersFunctionresetAudioContext
()
app/src/core/tts/audio-file-player.ts:10
↓ 5 callersMethoddelete
()
app/src/core/chat/y-chat.ts:108
↓ 5 callersMethodencode
(text: string, allowedSpecial: Set<string>)
app/src/core/tokenizer/bpe.ts:203
↓ 5 callersMethodget
(url: string)
app/src/core/backend.ts:252
↓ 5 callersMethodgetState
()
app/src/core/tts/audio-file-player.ts:224
↓ 5 callersFunctionisProxySupported
()
app/src/core/chat/openai.ts:9
↓ 5 callersFunctionopenOpenAIApiKeyPanel
()
app/src/store/settings-ui.ts:33
↓ 5 callersMethodserialize
* Method to serialize the message tree into an array of message nodes, excluding parent and replies properties. * @returns {Omit<MessageNode, 'pa
app/src/core/chat/message-tree.ts:180
↓ 5 callersMethodstop
()
app/src/core/speech-recognition-types.ts:68
↓ 4 callersMethodcountExcessTokens
()
app/src/core/tokenizer/chat-history-trimmer.ts:18
↓ 4 callersMethoddescribe
()
app/src/core/plugins/index.ts:12
↓ 4 callersMethodfindOption
(groupID: string, optionID: string)
app/src/core/options/index.ts:194
↓ 4 callersMethodgetAllOptions
(groupID: string, chatID?: string | null)
app/src/core/options/index.ts:103
↓ 4 callersMethodgetChatIDs
()
app/src/core/chat/y-chat.ts:211
↓ 4 callersMethodgetOption
(groupID: string, optionID: string, chatID?: string | null, validate = false)
app/src/core/options/index.ts:115
↓ 4 callersFunctiongetRateLimitResetTimeFromResponse
(response: Response)
app/src/core/utils/index.ts:102
↓ 4 callersMethodkeys
()
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:26
↓ 4 callersFunctionpluginRunner
(name: string, pluginContext: (pluginID: string) => PluginContext, callback: (p: Plugin<any>) => Promise<any>)
app/src/core/plugins/plugin-runner.ts:6
↓ 4 callersMethodresume
()
app/src/tts-plugins/web-speech.ts:105
↓ 4 callersFunctionsetSourceElement
()
app/src/core/tts/use-tts.tsx:151
↓ 3 callersMethodaddMessage
* Method to add a message to the tree. If a message with the same ID already exists in the tree, this method does nothing. * @param {Message} mes
app/src/core/chat/message-tree.ts:84
↓ 3 callersFunctionbytePairEncode
(piece: Uint8Array, ranks: RankMap)
app/src/core/tokenizer/bpe.ts:71
↓ 3 callersFunctionbytePairEncode
(piece: Uint8Array, ranks: RankMap)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:66
↓ 3 callersFunctioncallback
()
server/src/endpoints/base.ts:15
↓ 3 callersMethodcallback
(https = false)
server/src/index.ts:135
↓ 3 callersFunctioncloneArrayBuffer
(buffer: ArrayBuffer)
app/src/core/utils/index.ts:36
↓ 3 callersFunctioncountTokens
(messages: OpenAIMessage[])
app/src/core/tokenizer/wrapper.ts:18
↓ 3 callersMethodencodeOrdinary
(text: string)
app/src/core/tokenizer/bpe.ts:199
↓ 3 callersMethodget
(id: string)
app/src/core/index.ts:206
↓ 3 callersMethodgetValidatedOption
(groupID: string, optionID: string, chatID?: string | null)
app/src/core/options/index.ts:152
↓ 3 callersMethodgetVoices
()
app/src/tts-plugins/web-speech.ts:54
↓ 3 callersFunctionimportChat
(doc: YChatDoc, chat: Chat)
app/src/core/chat/chat-persistance.ts:31
↓ 3 callersMethodlogout
()
app/src/core/backend.ts:210
↓ 3 callersMethodmostRecentLeaf
* Method to get the most recent leaf message in the message tree. * @returns {MessageNode | null} - The most recent leaf message, or null if the
app/src/core/chat/message-tree.ts:194
↓ 3 callersMethodonError
(error: string)
app/src/core/chat/create-reply.ts:154
↓ 3 callersMethodonMessageDone
(messageID: string)
app/src/core/chat/y-chat.ts:89
↓ 3 callersMethodpause
()
app/src/core/tts/use-tts.tsx:39
↓ 3 callersMethodprocessSearchResults
(searchResults: SearchResult[] | Chat[])
app/src/core/search.ts:60
↓ 3 callersMethodreloadOptions
()
app/src/core/options/index.ts:66
↓ 3 callersMethodresumeAudioContext
()
app/src/core/tts/audio-file-player.ts:207
↓ 3 callersMethodsendMessage
(userSubmittedMessage: UserSubmittedMessage)
app/src/core/index.ts:136
↓ 3 callersFunctionsleep
(ms: number)
app/src/core/utils/index.ts:10
↓ 3 callersFunctiontoggleSidebar
(state)
app/src/store/sidebar.ts:18
↓ 3 callersMethodtransact
(cb: () => void)
app/src/core/chat/y-chat.ts:219
↓ 2 callersMethod_getTlRegex
()
app/src/core/tokenizer/bpe.ts:122
↓ 2 callersMethod_getTlRegex
()
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:117
↓ 2 callersMethodaddMessage
(message: Message)
app/src/core/chat/y-chat.ts:223
↓ 2 callersMethodattachYDoc
(username: string)
app/src/core/index.ts:60
↓ 2 callersFunctionbytePairMerge
(piece: Uint8Array, ranks: RankMap)
app/src/core/tokenizer/bpe.ts:44
↓ 2 callersFunctionbytePairMerge
(piece: Uint8Array, ranks: RankMap)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:39
↓ 2 callersFunctioncloseModals
(state)
app/src/store/ui.ts:18
↓ 2 callersFunctioncountTokensForMessages
(messages: OpenAIMessage[])
server/src/endpoints/service-proxies/openai/tokenizer/index.ts:47
↓ 2 callersFunctioncreateBasicPluginContext
(pluginID: string, pluginOptions: OptionsManager, chatID?: string | null, chat?: Chat | null)
app/src/core/plugins/plugin-context.ts:11
↓ 2 callersMethodcreateHeaders
* Creates and returns the headers required for ElevenLabs API requests.
app/src/tts-plugins/elevenlabs.tsx:223
↓ 2 callersFunctioncreateMessageNode
(message: Message)
app/src/core/chat/message-tree.ts:18
↓ 2 callersMethoddecodeBytes
(tokens: number[])
app/src/core/tokenizer/bpe.ts:231
↓ 2 callersMethoddeleteChat
(id: string)
app/src/core/backend.ts:244
↓ 2 callersFunctionellipsize
(text: string, maxLength: number)
app/src/core/utils/index.ts:22
↓ 2 callersFunctiongetEndpoint
(proxied = false)
app/src/core/chat/openai.ts:17
↓ 2 callersMethodgetMessageChainTo
* Method to get the message chain leading to a specific message by its ID. * @param {string} messageID - The ID of the target message. * @re
app/src/core/chat/message-tree.ts:157
↓ 2 callersMethodgetMessageTree
(chatID: string)
app/src/core/chat/y-chat.ts:248
↓ 2 callersMethodgetMessagesPrecedingMessage
(chatID: string, messageID: string)
app/src/core/chat/y-chat.ts:265
↓ 2 callersMethodgetReply
(messages: Message[], requestedParameters: Parameters)
app/src/core/index.ts:166
↓ 2 callersMethodhandler
(req: express.Request, res: express.Response)
server/src/endpoints/sync.ts:15
↓ 2 callersFunctionisProxySupported
()
app/src/tts-plugins/elevenlabs.tsx:8
↓ 2 callersMethodloadOption
(groupID: string, option: Option, yChat?: YChat)
app/src/core/options/index.ts:37
↓ 2 callersMethodlogin
(username: string)
app/src/core/index.ts:53
↓ 2 callersMethodobserveChat
(id: string, yChat = this.getYChat(id))
app/src/core/chat/y-chat.ts:166
↓ 2 callersFunctionopenLoginModal
(state)
app/src/store/ui.ts:12
↓ 2 callersFunctionopenSignupModal
(state)
app/src/store/ui.ts:15
↓ 2 callersMethodpostprocessModelOutput
(message: OpenAIMessage, context: OpenAIMessage[], parameters: Parameters, done: boolean)
app/src/core/plugins/index.ts:27
↓ 2 callersMethodpurgeDeletedValues
()
app/src/core/chat/y-chat.ts:120
↓ 2 callersMethodquery
(query: string)
app/src/core/search.ts:40
↓ 2 callersFunctionrunChatTrimmer
( messages: OpenAIMessage[], options: ChatHistoryTrimmerOptions )
app/src/core/tokenizer/wrapper.ts:11
↓ 2 callersMethodsearchChats
(query: string)
app/src/core/index.ts:223
next →1–100 of 401, ranked by callers