MCPcopy Create free account

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

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

↓ 1 callersMethodresetPluginOptions
(pluginID: string, chatID?: string | null)
app/src/core/index.ts:241
↓ 1 callersMethodsaveYUpdate
(userID: string, update: Uint8Array)
server/src/database/knex.ts:195
↓ 1 callersMethodscheduleTimeout
()
app/src/core/chat/create-reply.ts:53
↓ 1 callersFunctionserializeChat
(chat: Chat)
app/src/core/chat/types.ts:52
↓ 1 callersMethodsetChatTitle
(title: string)
app/src/core/plugins/plugin-context.ts:8
↓ 1 callersMethodsetPendingMessageContent
(messageID: string, value: string)
app/src/core/chat/y-chat.ts:75
↓ 1 callersFunctionshare
(text: string)
app/src/core/utils/index.ts:74
↓ 1 callersMethodshareChat
(chat: Chat)
app/src/core/backend.ts:214
↓ 1 callersFunctionshouldUseProxy
(apiKey: string | undefined | null)
app/src/tts-plugins/elevenlabs.tsx:12
↓ 1 callersMethodspeakToBuffer
(text: string, voice?: Voice)
app/src/core/tts/tts-plugin.ts:13
↓ 1 callersFunctionstreamingHandler
(req: express.Request, res: express.Response)
server/src/endpoints/service-proxies/openai/streaming.ts:7
↓ 1 callersMethodsync
()
app/src/core/backend.ts:88
↓ 1 callersMethodtick
()
app/src/core/tts/direct-tts-player.ts:26
↓ 1 callersMethodtrimMessagesStrategy
(excessTokens: number)
app/src/core/tokenizer/chat-history-trimmer.ts:119
↓ 1 callersFunctionuseChat
(chatManager: ChatManager, id: string | undefined | null, share = false)
app/src/core/chat/use-chat.ts:14
↓ 1 callersFunctionuseChatSpotlightProps
()
app/src/spotlight.tsx:6
↓ 1 callersFunctionuseCreateAppContext
()
app/src/core/context.tsx:38
↓ 1 callersFunctionuseTTSPlayerState
()
app/src/core/tts/use-tts.tsx:45
↓ 1 callersFunctionuserPrompt
(messages: OpenAIMessage[])
app/src/plugins/titles.ts:19
FunctionAppContextProvider
(props: { children: React.ReactNode })
app/src/core/context.tsx:249
FunctionAudioControls
(props: any)
app/src/components/tts-controls.tsx:41
FunctionChatListItem
(props: { chat: any, onClick: any, selected: boolean })
app/src/components/sidebar/recent-chats.tsx:72
FunctionChatOptionsTab
(props: any)
app/src/components/settings/chat.tsx:3
FunctionChatPage
(props: any)
app/src/components/pages/chat.tsx:38
FunctionCreateAccountModal
(props: any)
app/src/components/auth-modals.tsx:72
FunctionHeader
(props: HeaderProps)
app/src/components/header.tsx:144
FunctionHeaderButton
(props: ButtonProps & { icon?: string, onClick?: any, children?: any })
app/src/components/header.tsx:124
FunctionInlineLoader
()
app/src/components/message.tsx:198
FunctionInstallUpdateNotification
()
app/src/components/pwa-notifications.tsx:5
FunctionLandingPage
(props: any)
app/src/components/pages/landing.tsx:23
FunctionLoginModal
(props: any)
app/src/components/auth-modals.tsx:36
FunctionMarkdown
(props: MarkdownProps)
app/src/components/markdown.tsx:59
FunctionMessageComponent
(props: { message: Message, last: boolean, share?: boolean })
app/src/components/message.tsx:208
FunctionMessageInput
(props: MessageInputProps)
app/src/components/input.tsx:40
FunctionPage
(props: { id: string; headerProps?: HeaderProps; showSubHeader?: boolean; children: any; })
app/src/components/page.tsx:71
FunctionPluginOptionWidget
(props: { pluginID: string, option: Option, chatID?: string | null | undefined, context: Context })
app/src/components/settings/tab.tsx:87
FunctionQuickSettings
(props: any)
app/src/components/quick-settings.tsx:55
FunctionQuickSettingsButton
(props: { groupID: string, option: Option })
app/src/components/quick-settings.tsx:29
FunctionRecentChats
(props: any)
app/src/components/sidebar/recent-chats.tsx:183
FunctionSettingsDrawer
(props: SettingsDrawerProps)
app/src/components/settings/index.tsx:78
FunctionSettingsOption
(props: { focused?: boolean; heading?: string; description?: any; children?: any; span?: n
app/src/components/settings/option.tsx:1
FunctionSettingsTab
(props: { name: string; children?: any; })
app/src/components/settings/tab.tsx:212
FunctionSidebar
(props: { className?: string; })
app/src/components/sidebar/index.tsx:102
FunctionSpeechOptionsTab
()
app/src/components/settings/speech.tsx:3
FunctionSubHeader
(props: any)
app/src/components/header.tsx:238
FunctionSubHeaderMenuItem
(props: { item: MenuItem })
app/src/components/header.tsx:229
FunctionTTSButton
(props: { id: string, selector: string, complete: boolean, autoplay?: boolean })
app/src/components/tts-button.tsx:10
FunctionTTSContextProvider
(props: { children: React.ReactNode })
app/src/core/tts/use-tts.tsx:159
FunctionUIPreferencesTab
(props: any)
app/src/components/settings/ui-preferences.tsx:3
FunctionUserOptionsTab
(props: any)
app/src/components/settings/user.tsx:9
Method[Symbol.asyncIterator]
()
app/src/core/utils/event-emitter-async-iterator.ts:88
MethodaddFromString
(string: string, weight?: number)
app/src/core/speech-recognition-types.ts:17
MethodaddFromURI
(src: string, weight?: number)
app/src/core/speech-recognition-types.ts:18
FunctionbytePairSplit
(piece: Uint8Array, ranks: RankMap)
app/src/core/tokenizer/bpe.ts:78
FunctionbytePairSplit
(piece: Uint8Array, ranks: RankMap)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:73
MethodchatIDMap
()
app/src/core/chat/y-chat.ts:182
FunctioncloseSidebar
(state)
app/src/store/sidebar.ts:15
Functioncode
({ node, inline, className, children, ...props })
app/src/components/markdown.tsx:91
Functionconstructor
(public context: ChatServer, private req: express.Request, private res: express.Response)
server/src/endpoints/base.ts:11
Methodconstructor
()
app/src/core/index.ts:30
Methodconstructor
(private context: ChatManager)
app/src/core/search.ts:12
Methodconstructor
(private context: ChatManager)
app/src/core/backend.ts:38
Methodconstructor
* Constructor takes an EventEmitter instance and an array of event names to listen to. * For each event name, it binds the pushEvent method with
app/src/core/utils/event-emitter-async-iterator.ts:39
Methodconstructor
(public url: string, public options: any)
app/src/core/utils/sse.ts:33
Methodconstructor
* Creates a new instance of the AsyncLoop class. * @param {Function} handler - The function to be executed in the loop. * @param {number} pa
app/src/core/utils/async-loop.ts:18
Methodconstructor
(private chat: Chat, private yChat: YChat, private messages: Message[],
app/src/core/chat/create-reply.ts:19
Methodconstructor
(public readonly id: string, public root: Y.Doc)
app/src/core/chat/y-chat.ts:24
Methodconstructor
()
app/src/core/chat/y-chat.ts:155
Methodconstructor
(messages: (Message | MessageNode)[] = [])
app/src/core/chat/message-tree.ts:36
Methodconstructor
(private yDoc: YChatDoc, private pluginMetadata: PluginDescription[])
app/src/core/options/index.ts:19
Methodconstructor
(private plugin: WebSpeechPlugin)
app/src/core/tts/direct-tts-player.ts:16
Methodconstructor
(private plugin: TTSPlugin)
app/src/core/tts/audio-file-player.ts:70
Methodconstructor
(public context?: PluginContext)
app/src/core/plugins/index.ts:6
Methodconstructor
(private messages: OpenAIMessage[], private readonly options: ChatHistoryTrimmerOptions)
app/src/core/tokenizer/chat-history-trimmer.ts:14
Methodconstructor
( encoder: RankMap, specialTokensEncoder: Map<string, number>, regex: RegExp )
app/src/core/tokenizer/bpe.ts:94
Methodconstructor
()
server/src/index.ts:45
Methodconstructor
(private knexConfig: Knex.Config = config.database)
server/src/database/knex.ts:18
Methodconstructor
( encoder: RankMap, specialTokensEncoder: Map<string, number>, regex: RegExp )
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:89
Methodcontent
()
app/src/core/chat/y-chat.ts:57
FunctioncountTokensForMessages
(messages: OpenAIMessage[])
app/src/core/tokenizer/index.ts:44
FunctioncountTokensForMessages
(messages: OpenAIMessage[])
app/src/core/tokenizer/worker.ts:15
FunctioncountTokensForText
(text: string)
app/src/core/tokenizer/worker.ts:11
MethoddecodeBytes
(tokens: number[])
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:226
MethoddecodeSingleTokenBytes
(token: number)
app/src/core/tokenizer/bpe.ts:235
MethoddecodeSingleTokenBytes
(token: number)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:230
Functiondel
(key: string)
app/src/core/utils/idb.ts:98
FunctiondelMany
(keys: string[])
app/src/core/utils/idb.ts:109
Methoddelete
(id: string)
app/src/core/chat/y-chat.ts:203
MethoddeleteChat
(id: string, broadcast = true)
app/src/core/index.ts:218
Methoddeleted
()
app/src/core/chat/y-chat.ts:37
Methoddescribe
* The `describe` function is responsible for providing a description of the ElevenLabsPlugin class, * including its ID, name, and options. *
app/src/tts-plugins/elevenlabs.tsx:61
Methoddescribe
()
app/src/tts-plugins/web-speech.ts:27
Methoddescribe
()
app/src/plugins/trimmer.ts:15
Methoddescribe
()
app/src/plugins/system-prompt.tsx:17
Methoddescribe
()
app/src/plugins/titles.ts:26
FunctiondeserializeChat
(serialized: string)
app/src/core/chat/types.ts:59
Methoddestroy
()
app/src/core/tts/audio-file-player.ts:271
MethoddisplayStatistics
()
server/src/index.ts:168
Methoddone
()
app/src/core/chat/y-chat.ts:61
Methodencode
(text: string, allowedSpecial: Set<string>)
server/src/endpoints/service-proxies/openai/tokenizer/bpe.ts:198
← previousnext →201–300 of 401, ranked by callers