SYMBOL INDEX (729 symbols across 183 files) FILE: src/chain/chat-with-website.ts type RetrievalChainInput (line 19) | type RetrievalChainInput = { function groupMessagesByConversation (line 24) | function groupMessagesByConversation(messages: ChatHistory) { FILE: src/chain/chat-with-x.ts type RetrievalChainInput (line 18) | type RetrievalChainInput = { FILE: src/components/Common/CodeBlock.tsx type Props (line 16) | interface Props { FILE: src/components/Common/DocumentCard.tsx type Props (line 4) | type Props = { FILE: src/components/Common/Markdown.tsx function Markdown (line 15) | function Markdown({ FILE: src/components/Common/Mermaid.tsx function Mermaid (line 4) | function Mermaid({ code }: { code: string }) { FILE: src/components/Common/Message/ReasoningSection.tsx type ReasoningSectionProps (line 14) | interface ReasoningSectionProps { method code (line 68) | code({ node, inline, className, children, ...props }) { FILE: src/components/Common/ModelSelect.tsx type Props (line 10) | type Props = { FILE: src/components/Common/Playground/ActionInfo.tsx type Props (line 4) | type Props = { FILE: src/components/Common/Playground/DocumentChip.tsx type DocumentChipProps (line 4) | interface DocumentChipProps { FILE: src/components/Common/Playground/DocumentFile.tsx type DocumentFileProps (line 5) | interface DocumentFileProps { FILE: src/components/Common/Playground/EditMessageForm.tsx type Props (line 6) | type Props = { FILE: src/components/Common/Playground/GenerationInfo.tsx type GenerationMetrics (line 1) | type GenerationMetrics = { type Props (line 12) | type Props = { FILE: src/components/Common/Playground/HumanMessge.tsx type Props (line 5) | type Props = { constant MAX_MESSAGE_LENGTH (line 10) | const MAX_MESSAGE_LENGTH = 500 FILE: src/components/Common/Playground/McpInvocationBlock.tsx constant OUTPUT_CLAMP_HEIGHT (line 14) | const OUTPUT_CLAMP_HEIGHT = 200 constant MAX_PREVIEW_CHARS (line 15) | const MAX_PREVIEW_CHARS = 2000 type Props (line 17) | type Props = { FILE: src/components/Common/Playground/Message.tsx type Props (line 42) | type Props = { FILE: src/components/Common/Playground/MessageSource.tsx type Props (line 3) | type Props = { FILE: src/components/Common/Playground/MessageSourcePopup.tsx type Props (line 4) | type Props = { FILE: src/components/Common/Playground/PlaygroundUserMessage.tsx type Props (line 19) | type Props = { FILE: src/components/Common/Playground/message-groups.ts type PlaygroundToolResult (line 6) | type PlaygroundToolResult = { type PlaygroundToolInvocation (line 14) | type PlaygroundToolInvocation = { type PlaygroundMessageSegment (line 23) | type PlaygroundMessageSegment = type PlaygroundMessageGroup (line 36) | type PlaygroundMessageGroup = Message & { FILE: src/components/Common/PromptSelect.tsx type Props (line 8) | type Props = { FILE: src/components/Common/QueuedMessagesList.tsx type Props (line 5) | type Props = { FILE: src/components/Common/SaveButton.tsx type Props (line 4) | type Props = { FILE: src/components/Common/Settings/CurrentChatModelSettings.tsx type Props (line 26) | type Props = { FILE: src/components/Common/ShareModal.tsx type Props (line 15) | type Props = { FILE: src/components/Common/TableBlock.tsx type TableProps (line 14) | interface TableProps { type TableData (line 18) | interface TableData { FILE: src/components/Layouts/Header.tsx type Props (line 26) | type Props = { FILE: src/components/Layouts/Layout.tsx function OptionLayout (line 23) | function OptionLayout({ FILE: src/components/Layouts/LinkComponent.tsx function classNames (line 4) | function classNames(...classes: string[]) { FILE: src/components/Layouts/MoreOptions.tsx type MoreOptionsProps (line 20) | interface MoreOptionsProps { FILE: src/components/Layouts/NewChat.tsx type Props (line 8) | type Props = { FILE: src/components/Option/Knowledge/AddKnowledge.tsx type Props (line 15) | type Props = { FILE: src/components/Option/Knowledge/EditKnowledgeSettings.tsx constant DEFAULT_RAG_QUESTION_PROMPT (line 8) | const DEFAULT_RAG_QUESTION_PROMPT = constant DEFAUTL_RAG_SYSTEM_PROMPT (line 11) | const DEFAUTL_RAG_SYSTEM_PROMPT = `You are a helpful AI assistant. Use t... type Props (line 13) | type Props = { FILE: src/components/Option/Knowledge/KnowledgeIcon.tsx type Props (line 5) | type Props = { FILE: src/components/Option/Knowledge/UpdateKnowledge.tsx type Props (line 24) | type Props = { FILE: src/components/Option/Models/AddCustomModelModal.tsx type Props (line 11) | type Props = { FILE: src/components/Option/Models/AddOllamaModelModal.tsx type Props (line 11) | type Props = { FILE: src/components/Option/Models/AddUpdateModelSettings.tsx type Props (line 16) | type Props = { FILE: src/components/Option/Models/AddUpdateOAIModelSettings.tsx type Props (line 17) | type Props = { FILE: src/components/Option/Models/CancelPullingModel.tsx type Props (line 4) | type Props = { FILE: src/components/Option/Models/ModelNicknameModal.tsx type Props (line 8) | type Props = { FILE: src/components/Option/Playground/DocumentChip.tsx type DocumentChipProps (line 5) | interface DocumentChipProps { FILE: src/components/Option/Playground/MentionHighlighter.tsx type MentionHighlighterProps (line 3) | interface MentionHighlighterProps { FILE: src/components/Option/Playground/MentionsDropdown.tsx type MentionsDropdownProps (line 5) | interface MentionsDropdownProps { FILE: src/components/Option/Playground/PlaygroundFile.tsx type Props (line 5) | type Props = { FILE: src/components/Option/Playground/PlaygroundForm.tsx type Props (line 45) | type Props = { FILE: src/components/Option/Prompt/index.tsx function customPrompts (line 278) | function customPrompts() { function copilotPrompts (line 387) | function copilotPrompts() { function customCopilotPrompts (line 461) | function customCopilotPrompts() { FILE: src/components/Option/Settings/mcp.tsx type ValidationSnapshot (line 48) | type ValidationSnapshot = { FILE: src/components/Option/Settings/openai-fetch-model.tsx type Props (line 11) | type Props = { FILE: src/components/Option/Sidebar.tsx type Props (line 61) | type Props = { FILE: src/components/Select/index.tsx type SelectOption (line 6) | interface SelectOption { type SelectProps (line 11) | interface SelectProps { FILE: src/components/Sidepanel/Chat/form.tsx type Props (line 39) | type Props = { FILE: src/components/Sidepanel/Chat/header.tsx type SidepanelHeaderProps (line 25) | type SidepanelHeaderProps = { FILE: src/context/FontSizeProvider.tsx type FontSizeContextType (line 4) | interface FontSizeContextType { type FontSizeProviderProps (line 13) | interface FontSizeProviderProps { FILE: src/context/index.tsx type PageAssistContext (line 4) | interface PageAssistContext { FILE: src/db/dexie/chat.ts constant PAGE_SIZE (line 17) | const PAGE_SIZE = 30 function searchQueryInContent (line 19) | function searchQueryInContent(content: string, query: string): boolean { function fastForward (line 35) | function fastForward( class PageAssistDatabase (line 50) | class PageAssistDatabase { method getSessionFiles (line 51) | async getSessionFiles(sessionId: string): Promise { method getProjectFolders (line 56) | async getProjectFolders(): Promise { method addProjectFolder (line 60) | async addProjectFolder(project: ProjectFolder) { method updateProjectFolder (line 64) | async updateProjectFolder(id: string, title: string) { method deleteProjectFolder (line 68) | async deleteProjectFolder(id: string) { method assignHistoryToFolder (line 82) | async assignHistoryToFolder(history_id: string, folder_id?: string) { method getSessionFilesInfo (line 86) | async getSessionFilesInfo(sessionId: string): Promise { method getChatHistories (line 161) | async getChatHistories(): Promise { method fullTextSearchChatHistories (line 165) | async fullTextSearchChatHistories(query: string): Promise { method getChatHistoryTitleById (line 202) | async getChatHistoryTitleById(id: string): Promise { method getHistoryInfo (line 207) | async getHistoryInfo(id: string): Promise { method addChatHistory (line 211) | async addChatHistory(history: HistoryInfo) { method updateChatHistoryCreatedAt (line 215) | async updateChatHistoryCreatedAt(id: string, createdAt: number) { method addMessage (line 219) | async addMessage(message: Message) { method updateMessage (line 223) | async updateMessage(history_id: string, message_id: string, content: s... method removeChatHistory (line 227) | async removeChatHistory(id: string) { method removeMessage (line 231) | async removeMessage(history_id: string, message_id: string) { method updateLastUsedModel (line 235) | async updateLastUsedModel(history_id: string, model_id: string) { method updateLastUsedPrompt (line 239) | async updateLastUsedPrompt( method clear (line 246) | async clear() { method deleteChatHistory (line 251) | async deleteChatHistory(id: string) { method deleteAllChatHistory (line 258) | async deleteAllChatHistory() { method clearDB (line 265) | async clearDB() { method deleteMessage (line 270) | async deleteMessage(history_id: string) { method getChatHistoriesPaginated (line 273) | async getChatHistoriesPaginated( method getChatHistoriesPaginatedOptimized (line 327) | async getChatHistoriesPaginatedOptimized( method getAllPrompts (line 370) | async getAllPrompts(): Promise { method addPrompt (line 374) | async addPrompt(prompt: Prompt) { method deletePrompt (line 378) | async deletePrompt(id: string) { method updatePrompt (line 382) | async updatePrompt( method getPromptById (line 391) | async getPromptById(id: string): Promise { method getWebshare (line 396) | async getWebshare(id: string) { method getAllWebshares (line 400) | async getAllWebshares(): Promise { method addWebshare (line 404) | async addWebshare(webshare: Webshare) { method deleteWebshare (line 408) | async deleteWebshare(id: string) { method getUserID (line 413) | async getUserID(): Promise { method setUserID (line 418) | async setUserID(id: string) { method importChatHistoryV2 (line 422) | async importChatHistoryV2( method importPromptsV2 (line 455) | async importPromptsV2( method importSessionFilesV2 (line 479) | async importSessionFilesV2( FILE: src/db/dexie/knowledge.ts class PageAssistKnowledge (line 12) | class PageAssistKnowledge { method getAll (line 13) | async getAll(): Promise { method getById (line 17) | async getById(id: string): Promise { method create (line 21) | async create(knowledge: Knowledge): Promise { method update (line 25) | async update(knowledge: Knowledge): Promise { method delete (line 29) | async delete(id: string): Promise { method deleteSource (line 33) | async deleteSource(id: string, source_id: string): Promise { method importDataV2 (line 43) | async importDataV2( FILE: src/db/dexie/mcp.ts class McpServerDb (line 12) | class McpServerDb { method importDataV2 (line 37) | async importDataV2( FILE: src/db/dexie/migration.ts class DatabaseMigration (line 16) | class DatabaseMigration { method constructor (line 25) | constructor() { method migrateAllData (line 35) | async migrateAllData(): Promise<{ method migrateSessionFiles (line 217) | async migrateSessionFiles(sessionIds: string[]): Promise<{ method verifyMigration (line 252) | async verifyMigration(): Promise<{ method clearDexieDatabase (line 331) | async clearDexieDatabase(): Promise { FILE: src/db/dexie/modelState.ts class ModelStateDb (line 4) | class ModelStateDb { method getModelState (line 5) | async getModelState(model_id: string): Promise { method getAllModelStates (line 9) | async getAllModelStates(): Promise { method setModelState (line 13) | async setModelState(model_id: string, is_enabled: boolean): Promise { method importDataV2 (line 25) | async importDataV2( FILE: src/db/dexie/models.ts class ModelDb (line 153) | class ModelDb { method importDataV2 (line 178) | async importDataV2( FILE: src/db/dexie/nickname.ts class ModelNickname (line 4) | class ModelNickname { method saveModelNickname (line 5) | async saveModelNickname( method getModelNicknameByID (line 24) | async getModelNicknameByID(model_id: string) { method getAllModelNicknames (line 28) | async getAllModelNicknames() { method importDataV2 (line 32) | async importDataV2( FILE: src/db/dexie/openai.ts class OpenAIModelDb (line 21) | class OpenAIModelDb { method importDataV2 (line 41) | async importDataV2( FILE: src/db/dexie/providerState.ts class ProviderStateDb (line 4) | class ProviderStateDb { method getProviderState (line 5) | async getProviderState(provider_id: string): Promise { method setProviderState (line 13) | async setProviderState(provider_id: string, is_enabled: boolean): Prom... method deleteProviderState (line 21) | async deleteProviderState(provider_id: string): Promise { method importDataV2 (line 25) | async importDataV2( FILE: src/db/dexie/schema.ts class PageAssistDexieDB (line 22) | class PageAssistDexieDB extends Dexie { method constructor (line 49) | constructor() { FILE: src/db/dexie/types.ts type LastUsedModelType (line 4) | type LastUsedModelType = { prompt_id?: string; prompt_content?: string } type HistoryInfo (line 6) | type HistoryInfo = { type WebSearch (line 19) | type WebSearch = { type UploadedFile (line 29) | type UploadedFile = { type SessionFiles (line 40) | type SessionFiles = { type Message (line 48) | type Message = { type Webshare (line 72) | type Webshare = { type Prompt (line 81) | type Prompt = { type UserSettings (line 90) | type UserSettings = { type Source (line 95) | type Source = { type Knowledge (line 102) | type Knowledge = { type PageAssistVector (line 115) | interface PageAssistVector { type VectorData (line 122) | type VectorData = { type DocumentSource (line 128) | type DocumentSource = { type Document (line 135) | type Document = { type OpenAIModelConfig (line 149) | type OpenAIModelConfig = { type McpServerConfig (line 161) | type McpServerConfig = McpServer type Model (line 163) | type Model = { type ModelNickname (line 175) | type ModelNickname = { type ModelState (line 182) | type ModelState = { type ProviderState (line 188) | type ProviderState = { type Memory (line 194) | type Memory = { type ProjectFolder (line 201) | type ProjectFolder = { type MessageHistory (line 207) | type MessageHistory = Message[] type ChatHistory (line 208) | type ChatHistory = HistoryInfo[] type Prompts (line 209) | type Prompts = Prompt[] type OpenAIModelConfigs (line 210) | type OpenAIModelConfigs = OpenAIModelConfig[] type McpServerConfigs (line 211) | type McpServerConfigs = McpServerConfig[] type Models (line 212) | type Models = Model[] type ModelNicknames (line 213) | type ModelNicknames = ModelNickname[] type ModelStates (line 214) | type ModelStates = ModelState[] type ProviderStates (line 215) | type ProviderStates = ProviderState[] type Memories (line 216) | type Memories = Memory[] type ProjectFolders (line 217) | type ProjectFolders = ProjectFolder[] FILE: src/db/dexie/vector.ts class PageAssistVectorDb (line 5) | class PageAssistVectorDb { method insertVector (line 6) | async insertVector(id: string, vector: PageAssistVector[]): Promise { method deleteVectorByFileId (line 24) | async deleteVectorByFileId(id: string, file_id: string): Promise { method getVector (line 32) | async getVector(id: string): Promise { method getAll (line 36) | async getAll(): Promise { method saveImportedData (line 40) | async saveImportedData(data: VectorData[]): Promise { method saveImportedDataV2 (line 43) | async saveImportedDataV2(data: VectorData[], options: { FILE: src/db/document.ts type Source (line 4) | type Source = { type Document (line 11) | type Document = { class PageAssistDocument (line 31) | class PageAssistDocument { method constructor (line 34) | constructor() { FILE: src/db/index.ts type HistoryInfo (line 7) | type HistoryInfo = { type WebSearch (line 17) | type WebSearch = { type UploadedFile (line 27) | type UploadedFile = { type SessionFiles (line 38) | type SessionFiles = { type Message (line 45) | type Message = { function simpleFuzzyMatch (line 62) | function simpleFuzzyMatch(text: string, query: string): boolean { type Webshare (line 107) | type Webshare = { type Prompt (line 116) | type Prompt = { type MessageHistory (line 125) | type MessageHistory = Message[] type ChatHistory (line 127) | type ChatHistory = HistoryInfo[] type Prompts (line 129) | type Prompts = Prompt[] class PageAssitDatabase (line 131) | class PageAssitDatabase { method constructor (line 134) | constructor() { method getSessionFiles (line 138) | async getSessionFiles(sessionId: string): Promise { method getSessionFilesInfo (line 149) | async getSessionFilesInfo(sessionId: string): Promise { method getChatHistories (line 233) | async getChatHistories(): Promise { method getChatHistoryTitleById (line 241) | async getChatHistoryTitleById(id: string): Promise { method addChatHistory (line 247) | async addChatHistory(history: HistoryInfo) { method addMessage (line 253) | async addMessage(message: Message) { method updateMessage (line 260) | async updateMessage(history_id: string, message_id: string, content: s... method removeChatHistory (line 271) | async removeChatHistory(id: string) { method removeMessage (line 279) | async removeMessage(history_id: string, message_id: string) { method clear (line 287) | async clear() { method deleteChatHistory (line 291) | async deleteChatHistory(id: string) { method deleteAllChatHistory (line 300) | async deleteAllChatHistory() { method deleteMessage (line 308) | async deleteMessage(history_id: string) { method getAllPrompts (line 312) | async getAllPrompts(): Promise { method bulkAddPrompts (line 320) | async bulkAddPrompts(prompts: Prompt[]) { method addPrompt (line 325) | async addPrompt(prompt: Prompt) { method deletePrompt (line 331) | async deletePrompt(id: string) { method updatePrompt (line 337) | async updatePrompt( method getPromptById (line 355) | async getPromptById(id: string) { method getWebshare (line 360) | async getWebshare(id: string) { method getAllWebshares (line 368) | async getAllWebshares(): Promise { method addWebshare (line 376) | async addWebshare(webshare: Webshare) { method deleteWebshare (line 382) | async deleteWebshare(id: string) { method getUserID (line 388) | async getUserID() { method setUserID (line 396) | async setUserID(id: string) { method searchChatHistories (line 400) | async searchChatHistories(query: string): Promise { FILE: src/db/knowledge.ts type Source (line 3) | type Source = { type Knowledge (line 12) | type Knowledge = { class PageAssistKnowledge (line 30) | class PageAssistKnowledge { method constructor (line 33) | constructor() { FILE: src/db/models.ts type Model (line 8) | type Model = { class ModelDb (line 130) | class ModelDb { method constructor (line 133) | constructor() { FILE: src/db/nickname.ts class ModelNickname (line 4) | class ModelNickname { method constructor (line 8) | constructor() { method saveModelNickname (line 14) | async saveModelNickname( method getModelNicknameByID (line 29) | async getModelNicknameByID(model_id: string) { method getAllModelNicknames (line 34) | async getAllModelNicknames() { FILE: src/db/openai.ts class OpenAIModelDb (line 12) | class OpenAIModelDb { method constructor (line 15) | constructor() { FILE: src/db/vector.ts type PageAssistVector (line 3) | interface PageAssistVector { type VectorData (line 10) | type VectorData = { class PageAssistVectorDb (line 15) | class PageAssistVectorDb { method constructor (line 18) | constructor() { FILE: src/entries-firefox/background.ts method main (line 11) | main() { FILE: src/entries-firefox/hf-pull.content.ts method main (line 2) | main(ctx) { FILE: src/entries-firefox/ollama-pull.content.ts method main (line 4) | main(ctx) { FILE: src/entries-firefox/options/App.tsx function IndexOption (line 14) | function IndexOption() { FILE: src/entries-firefox/sidepanel/App.tsx function IndexSidepanel (line 14) | function IndexSidepanel() { FILE: src/entries-firefox/youtube-summarize.content.ts method main (line 2) | async main(ctx) { FILE: src/entries/background.ts method main (line 11) | main() { FILE: src/entries/hf-pull.content.ts method main (line 2) | main(ctx) { FILE: src/entries/ollama-pull.content.ts method main (line 4) | main(ctx) { FILE: src/entries/options/App.tsx function IndexOption (line 15) | function IndexOption() { FILE: src/entries/sidepanel/App.tsx function IndexSidepanel (line 14) | function IndexSidepanel() { FILE: src/entries/youtube-summarize.content.ts method main (line 2) | async main(ctx) { FILE: src/hooks/chat-modes/continueChatMode.ts method handleLLMEnd (line 115) | handleLLMEnd(output: any): any { FILE: src/hooks/chat-modes/documentChatMode.ts method handleLLMEnd (line 347) | handleLLMEnd(output: any): any { FILE: src/hooks/chat-modes/normalChatMode.ts method handleLLMEnd (line 282) | handleLLMEnd(output: any): any { FILE: src/hooks/chat-modes/ragMode.ts method handleLLMEnd (line 223) | handleLLMEnd(output: any): any { FILE: src/hooks/chat-modes/searchChatMode.ts method handleLLMEnd (line 223) | handleLLMEnd(output: any): any { FILE: src/hooks/chat-modes/tabChatMode.ts method handleLLMEnd (line 179) | handleLLMEnd(output: any): any { FILE: src/hooks/keyboard/useKeyboardShortcuts.ts type KeyboardShortcut (line 4) | interface KeyboardShortcut { type KeyboardShortcutConfig (line 14) | interface KeyboardShortcutConfig { FILE: src/hooks/keyboard/useShortcutConfig.ts type ShortcutConfig (line 4) | interface ShortcutConfig { FILE: src/hooks/useBackgroundMessage.tsx type Message (line 3) | interface Message { function useBackgroundMessage (line 9) | function useBackgroundMessage() { FILE: src/hooks/useDarkmode.tsx type DarkModeState (line 4) | type DarkModeState = { FILE: src/hooks/useLocal.tsx function useLocal (line 3) | function useLocal(key: string) { function useChatWidget (line 26) | function useChatWidget() { FILE: src/hooks/useMessage.tsx method handleLLMEnd (line 388) | handleLLMEnd(output: any): any { method handleLLMEnd (line 645) | handleLLMEnd(output: any): any { method handleLLMEnd (line 914) | handleLLMEnd(output: any): any { method handleLLMEnd (line 1235) | handleLLMEnd(output: any): any { method handleLLMEnd (line 1484) | handleLLMEnd(output: any): any { FILE: src/hooks/useMessageQueue.ts type QueuedMessage (line 3) | type QueuedMessage = { FILE: src/hooks/useMigration.tsx type MigrationResult (line 18) | interface MigrationResult { FILE: src/hooks/useSpeechRecognition.tsx type SpeechRecognitionEvent (line 3) | type SpeechRecognitionEvent = { type SpeechRecognitionErrorEvent (line 9) | interface SpeechRecognitionErrorEvent extends Event { type Window (line 13) | interface Window { type SpeechRecognition (line 19) | type SpeechRecognition = { type SpeechRecognitionProps (line 32) | type SpeechRecognitionProps = { type ListenArgs (line 41) | type ListenArgs = { type SpeechRecognitionHook (line 52) | type SpeechRecognitionHook = { FILE: src/hooks/useTTS.tsx type VoiceOptions (line 20) | interface VoiceOptions { method onEvent (line 54) | onEvent(event) { FILE: src/hooks/useTabMentions.ts type TabInfo (line 4) | interface TabInfo { type MentionPosition (line 11) | interface MentionPosition { FILE: src/libs/PAMemoryVectorStore.ts type MemoryVector (line 7) | interface MemoryVector { type MemoryVectorStoreArgs (line 13) | interface MemoryVectorStoreArgs { class PAMemoryVectorStore (line 17) | class PAMemoryVectorStore extends VectorStore { method constructor (line 25) | constructor(embeddings: EmbeddingsInterface, args?: MemoryVectorStoreA... method _vectorstoreType (line 30) | _vectorstoreType(): string { method addVectors (line 34) | async addVectors(vectors: number[][], documents: DocumentInterface[], ... method similaritySearchVectorWithScore (line 43) | similaritySearchVectorWithScore(query: number[], k: number, filter?: t... method addDocuments (line 47) | async addDocuments(documents: Document[]): Promise { method similaritySearch (line 53) | async similaritySearch(query: string, k = 4): Promise { method similaritySearchWithScore (line 74) | async similaritySearchWithScore(query: string, k = 4): Promise<[Docume... method fromDocuments (line 94) | static async fromDocuments( FILE: src/libs/PageAssistVectorStore.ts type PageAssistVector (line 12) | interface PageAssistVector { type MemoryVectorStoreArgs (line 23) | interface MemoryVectorStoreArgs { class PageAssistVectorStore (line 34) | class PageAssistVectorStore extends VectorStore { method _vectorstoreType (line 46) | _vectorstoreType(): string { method constructor (line 50) | constructor(embeddings: EmbeddingsInterface, args: MemoryVectorStoreAr... method addDocuments (line 67) | async addDocuments(documents: Document[]): Promise { method addVectors (line 83) | async addVectors(vectors: number[][], documents: Document[]): Promise<... method similaritySearchVectorWithScore (line 109) | async similaritySearchVectorWithScore( method getAllPageContent (line 158) | async getAllPageContent() { method fromTexts (line 205) | static async fromTexts( method fromDocuments (line 231) | static async fromDocuments( method fromExistingIndex (line 249) | static async fromExistingIndex( method clearMemory (line 257) | clearMemory() { method similaritySearchKB (line 261) | async similaritySearchKB(queryTxt: string, k = 4, filter = undefined) { FILE: src/libs/byte-formater.ts constant UNITS (line 1) | const UNITS = [ FILE: src/libs/get-html.ts function extractYouTubeData (line 32) | function extractYouTubeData(htmlContent: string) { function fetchTranscript (line 185) | async function fetchTranscript(extractedData: any) { function parseTranscriptResponse (line 224) | function parseTranscriptResponse(data: any) { FILE: src/libs/mcp/errors.ts class McpBootstrapError (line 1) | class McpBootstrapError extends Error { method constructor (line 2) | constructor(message: string, public readonly cause?: unknown) { constant LEGACY_MCP_ERROR_PATTERNS (line 8) | const LEGACY_MCP_ERROR_PATTERNS = [ FILE: src/libs/mcp/http-client.ts type McpClientCallbacks (line 13) | type McpClientCallbacks = { type ConnectedServer (line 19) | type ConnectedServer = { class HttpOnlyMcpClient (line 222) | class HttpOnlyMcpClient { method constructor (line 227) | constructor(servers: McpServer[], callbacks?: McpClientCallbacks) { method getTools (line 234) | async getTools() { method close (line 247) | async close() { method loadTools (line 263) | private async loadTools() { method buildToolsFromCache (line 283) | private buildToolsFromCache(server: McpServer) { method getOrCreateConnection (line 297) | private async getOrCreateConnection(server: McpServer) { method loadToolsForConnection (line 323) | private async loadToolsForConnection(connection: ConnectedServer) { method fetchTools (line 336) | private async fetchTools(connection: ConnectedServer) { FILE: src/libs/mcp/normal-chat.ts type SetMessages (line 41) | type SetMessages = (messages: Message[] | ((prev: Message[]) => Message[... type SetHistory (line 42) | type SetHistory = (history: ChatHistory) => void type RunMcpNormalChatParams (line 44) | type RunMcpNormalChatParams = { constant STREAM_THROTTLE_MS (line 90) | const STREAM_THROTTLE_MS = 50 method handleLLMEnd (line 118) | handleLLMEnd(output: any) { FILE: src/libs/mcp/oauth-flow.ts type PendingOAuthFlow (line 16) | type PendingOAuthFlow = { FILE: src/libs/mcp/oauth.ts type OAuthDiscoveryResult (line 35) | type OAuthDiscoveryResult = { FILE: src/libs/mcp/remote-tools.ts type McpConnectableServer (line 9) | type McpConnectableServer = Pick< type McpRemoteTool (line 14) | type McpRemoteTool = { type McpServerConnection (line 20) | type McpServerConnection = { type McpToolValidationResult (line 25) | type McpToolValidationResult = { constant MCP_CLIENT_INFO (line 31) | const MCP_CLIENT_INFO: Implementation = { FILE: src/libs/mcp/types.ts type ChatMessageKind (line 1) | type ChatMessageKind = "text" | "assistant_tool_calls" | "tool_result" type McpHeader (line 3) | type McpHeader = { type McpAvailableTool (line 8) | type McpAvailableTool = { type McpOAuthTokens (line 15) | type McpOAuthTokens = { type McpOAuthClientRegistration (line 23) | type McpOAuthClientRegistration = { type McpOAuthMetadata (line 30) | type McpOAuthMetadata = { type McpServer (line 39) | type McpServer = { type McpServerInput (line 58) | type McpServerInput = Pick< type McpToolCall (line 72) | type McpToolCall = { type ChatActionInfo (line 81) | type ChatActionInfo = FILE: src/libs/mcp/utils.ts constant MCP_TOOL_NAME_SEPARATOR (line 10) | const MCP_TOOL_NAME_SEPARATOR = "__" FILE: src/libs/model-utils.ts function isThinkingCapableModel (line 12) | function isThinkingCapableModel(modelId: string | null | undefined): boo... function isGptOssModel (line 37) | function isGptOssModel(modelId: string | null | undefined): boolean { function getThinkingType (line 48) | function getThinkingType(modelId: string | null | undefined): "boolean" ... FILE: src/libs/openai.ts type Model (line 4) | type Model = { FILE: src/libs/reasoning.ts function parseReasoning (line 2) | function parseReasoning(text: string): { function isReasoningStarted (line 74) | function isReasoningStarted(text: string): boolean { function isReasoningEnded (line 79) | function isReasoningEnded(text: string): boolean { function removeReasoning (line 84) | function removeReasoning(text: string): string { function mergeReasoningContent (line 91) | function mergeReasoningContent( function replaceThinkTagToEM (line 102) | function replaceThinkTagToEM(text: string): string { FILE: src/loader/csv.ts type WebLoaderParams (line 5) | interface WebLoaderParams { class PageAssisCSVUrlLoader (line 14) | class PageAssisCSVUrlLoader method constructor (line 23) | constructor({ url, name }: WebLoaderParams) { method parse (line 30) | public async parse(raw: string): Promise { method load (line 52) | async load(): Promise>[]> { FILE: src/loader/docx.ts type WebLoaderParams (line 5) | interface WebLoaderParams { class PageAssistDocxLoader (line 10) | class PageAssistDocxLoader method constructor (line 16) | constructor({ fileName, buffer }: WebLoaderParams) { method load (line 22) | public async load(): Promise { FILE: src/loader/html.ts type WebLoaderParams (line 15) | interface WebLoaderParams { class PageAssistHtmlLoader (line 20) | class PageAssistHtmlLoader method constructor (line 26) | constructor({ html, url }: WebLoaderParams) { method load (line 32) | async load(): Promise>[]> { method loadByURL (line 69) | async loadByURL(): Promise>[]> { FILE: src/loader/pdf-url.ts type WebLoaderParams (line 4) | interface WebLoaderParams { class PageAssistPDFUrlLoader (line 9) | class PageAssistPDFUrlLoader method constructor (line 17) | constructor({ url, name }: WebLoaderParams) { method load (line 23) | async load(): Promise>[]> { FILE: src/loader/pdf.ts type WebLoaderParams (line 3) | interface WebLoaderParams { class PageAssistPDFLoader (line 8) | class PageAssistPDFLoader method constructor (line 15) | constructor({ pdf, url }: WebLoaderParams) { method load (line 21) | async load(): Promise>[]> { FILE: src/loader/txt.ts type WebLoaderParams (line 3) | interface WebLoaderParams { class PageAssisTXTUrlLoader (line 8) | class PageAssisTXTUrlLoader method constructor (line 16) | constructor({ url, name }: WebLoaderParams) { method parse (line 22) | public async parse(raw: string): Promise { method load (line 25) | async load(): Promise>[]> { FILE: src/models/ChatChromeAi.ts type AITextSessionOptions (line 15) | interface AITextSessionOptions { type AIModelAvailability (line 20) | const enum AIModelAvailability { type ChromeAIInputs (line 26) | interface ChromeAIInputs extends BaseChatModelParams { type ChromeAICallOptions (line 35) | interface ChromeAICallOptions extends BaseLanguageModelCallOptions {} function formatPrompt (line 37) | function formatPrompt(messages: BaseMessage[]): string { class ChatChromeAI (line 53) | class ChatChromeAI extends SimpleChatModel { method lc_name (line 62) | static lc_name() { method constructor (line 66) | constructor(inputs?: ChromeAIInputs) { method _llmType (line 76) | _llmType() { method initialize (line 83) | async initialize() { method destroy (line 108) | destroy() { method _streamResponseChunks (line 115) | async *_streamResponseChunks( method _call (line 145) | async _call( FILE: src/models/ChatGoogleAI.ts class ChatGoogleAI (line 3) | class ChatGoogleAI extends ChatOpenAI { method lc_name (line 8) | static lc_name() { FILE: src/models/ChatOllama.ts type ChatOllamaCallOptions (line 31) | interface ChatOllamaCallOptions extends BaseChatModelCallOptions { type ChatOllamaInput (line 35) | interface ChatOllamaInput extends OllamaInput { } class ChatOllama (line 37) | class ChatOllama method lc_name (line 40) | static lc_name() { method constructor (line 126) | constructor(fields: OllamaInput & BaseChatModelParams) { method getLsParams (line 172) | getLsParams(options: this["ParsedCallOptions"]): LangSmithParams { method _llmType (line 184) | _llmType() { method bindTools (line 188) | override bindTools( method invocationParams (line 204) | invocationParams(options?: this["ParsedCallOptions"]) { method _combineLLMOutput (line 252) | _combineLLMOutput() { method _generate (line 256) | async _generate( method _streamResponseChunksLegacy (line 295) | async *_streamResponseChunksLegacy( method _streamResponseChunks (line 336) | async *_streamResponseChunks( method _convertMessagesToOllamaMessages (line 412) | protected _convertMessagesToOllamaMessages( method _formatMessagesAsPrompt (line 490) | protected _formatMessagesAsPrompt(messages: BaseMessage[]): string { FILE: src/models/ChatTypes.ts type ChatDocument (line 1) | type ChatDocument = { type ChatDocuments (line 11) | type ChatDocuments = ChatDocument[] FILE: src/models/CustomAIMessageChunk.ts type BaseMessageFields (line 1) | interface BaseMessageFields { class CustomAIMessageChunk (line 9) | class CustomAIMessageChunk { method constructor (line 19) | constructor(fields: BaseMessageFields) { method _mergeAdditionalKwargs (line 31) | static _mergeAdditionalKwargs( method _getType (line 62) | _getType(): string { method _updateId (line 66) | _updateId(value: string | undefined) { method concat (line 70) | concat(chunk: CustomAIMessageChunk) { function isAiMessageChunkFields (line 81) | function isAiMessageChunkFields(value: unknown): value is BaseMessageFie... function isAiMessageChunkFieldsList (line 86) | function isAiMessageChunkFieldsList( FILE: src/models/CustomChatAnthropic.ts type AnthropicMessageOptions (line 24) | interface AnthropicMessageOptions { type AnthropicCallOptions (line 35) | interface AnthropicCallOptions extends BaseChatModelCallOptions { function detectImageMediaType (line 39) | function detectImageMediaType(base64Data: string): string | null { function convertToAnthropicTools (line 67) | function convertToAnthropicTools(tools: BindToolsInput[]): any[] { function convertMessagesToAnthropicFormat (line 79) | function convertMessagesToAnthropicFormat(messages: BaseMessage[]): Arra... class ChatAnthropic (line 205) | class ChatAnthropic extends BaseChatModel { method embedQuery (line 125) | async embedQuery(text: string): Promise { method _embed (line 138) | async _embed(texts: string[]): Promise { method embeddingWithRetry (line 146) | protected async embeddingWithRetry( FILE: src/models/OllamaEmbedding.ts type OllamaInput (line 6) | interface OllamaInput { type OllamaRequestParams (line 44) | interface OllamaRequestParams { type CamelCasedRequestOptions (line 83) | type CamelCasedRequestOptions = Omit< type OllamaEmbeddingsParams (line 92) | interface OllamaEmbeddingsParams extends EmbeddingsParams { class OllamaEmbeddingsPageAssist (line 114) | class OllamaEmbeddingsPageAssist extends Embeddings { method constructor (line 127) | constructor(params?: OllamaEmbeddingsParams) { method _convertOptions (line 159) | _convertOptions(requestOptions: CamelCasedRequestOptions) { method _request (line 205) | async _request(prompt: string | string[]): Promise { method embedDocuments (line 258) | async embedDocuments(documents: string[]) { method embedQuery (line 262) | async embedQuery(document: string) { FILE: src/models/embedding.ts type EmbeddingModel (line 6) | type EmbeddingModel = { FILE: src/models/types.ts type OpenAICoreRequestOptions (line 1) | type OpenAICoreRequestOptions< type LegacyOpenAIInput (line 18) | interface LegacyOpenAIInput { FILE: src/models/utils/chrome.ts type AITextSession (line 51) | interface AITextSession { FILE: src/models/utils/ollama.ts type OllamaInput (line 6) | interface OllamaInput { type OllamaRequestParams (line 49) | interface OllamaRequestParams { type OllamaToolFunction (line 91) | interface OllamaToolFunction { type OllamaToolCall (line 97) | interface OllamaToolCall { type OllamaMessage (line 101) | type OllamaMessage = { type OllamaGenerateRequestParams (line 109) | interface OllamaGenerateRequestParams extends OllamaRequestParams { type OllamaChatRequestParams (line 113) | interface OllamaChatRequestParams extends OllamaRequestParams { type BaseOllamaGenerationChunk (line 119) | type BaseOllamaGenerationChunk = { type OllamaGenerationChunk (line 131) | type OllamaGenerationChunk = BaseOllamaGenerationChunk & { type OllamaChatGenerationChunk (line 135) | type OllamaChatGenerationChunk = BaseOllamaGenerationChunk & { type OllamaCallOptions (line 139) | type OllamaCallOptions = BaseLanguageModelCallOptions & { FILE: src/models/utils/openai.ts function wrapOpenAIClientError (line 14) | function wrapOpenAIClientError(e: any) { function formatToOpenAIAssistantTool (line 33) | function formatToOpenAIAssistantTool(tool: StructuredToolInterface) { type OpenAIToolChoice (line 44) | type OpenAIToolChoice = function formatToOpenAIToolChoice (line 49) | function formatToOpenAIToolChoice( FILE: src/parser/google-docs.ts function traverse (line 8) | function traverse( FILE: src/public/ocr/tesseract-core-simd.js function xa (line 15) | function xa(a,c){for(var d=c+NaN,e=c;a[e]&&!(e>=d);)++e;if(16>2]=c};this.... function gb (line 26) | function gb(){if("object"==typeof crypto&&"function"==typeof crypto.getR... function hb (line 27) | function hb(){for(var a="",c=!1,d=arguments.length-1;-1<=d&&!c;d--){c=0<... function d (line 28) | function d(k){for(var m=0;m{g||n('Loading data file "'+a+'... function d (line 47) | function d(k){D.Gg--;return c(k)} function e (line 47) | function e(k){if(k){if(!e.Vh)return e.Vh=!0,d(k)}else++h>= function h (line 68) | function h(){this.$g=!1;this.Vf=[]} function k (line 68) | function k(p,x,N,l,w){p=p.node.Lf;if(w>=p.length)return 0;l=Math.min(p.l... function p (line 73) | function p(l){function w(B){u&&u();m||D.wg(a,c,B,e,g,t);h&&h();Ra(N)}sb.... function tb (line 75) | function tb(a,c,d){if("/"===c.charAt(0))return c;if(-100===a)a=D.cwd();e... function ub (line 76) | function ub(a,c,d){try{var e=a(c)}catch(g){if(g&&g.node&&cb(c)!==cb(D.fg... function wb (line 78) | function wb(){vb+=4;return v[vb-4>>2]} function xb (line 78) | function xb(a){a=D.gg(a);if(!a)throw new D.Jf(8);return a} function yb (line 79) | function yb(a){var c=Aa(a)+1,d=zb(c);d&&za(a,r,d,c);return d} function Ab (line 79) | function Ab(a,c,d){function e(t){return(t=t.toTimeString().match(/\(([A-... function Bb (line 79) | function Bb(a,c,d){Bb.Mh||(Bb.Mh=!0,Ab(a,c,d))} function Fb (line 80) | function Fb(){if(!Gb){var a={USER:"web_user",LOGNAME:"web_user",PATH:"/"... function Hb (line 80) | function Hb(a){return 0===a%4&&(0!==a%100||0===a%400)} function Kb (line 82) | function Kb(a,c,d,e){function g(l,w,B){for(l="number"==typeof l?l.toStri... function Mb (line 89) | function Mb(a){var c=Lb[a];c||(a>=Lb.length&&(Lb.length=a+1),Lb[a]=c=Ga.... function Nb (line 89) | function Nb(a,c,d,e){a||(a=this);this.parent=a;this.Sf=a.Sf;this.zg=null... function a (line 104) | function a(g){b.asm=g.exports;ta=b.asm.X;Fa();Ga=b.asm.tf;Ia.unshift(b.a... function c (line 104) | function c(g){a(g.instance)} function d (line 104) | function d(g){return Va().then(function(h){return WebAssembly.instantiat... function Rb (line 193) | function Rb(a,c,d,e){var g=Dh();try{return Mb(a)(c,d,e)}catch(h){Eh(g);i... function Ub (line 193) | function Ub(a,c){var d=Dh();try{Mb(a)(c)}catch(e){Eh(d);if(e!==e+0)throw... function Pb (line 193) | function Pb(a,c){var d=Dh();try{return Mb(a)(c)}catch(e){Eh(d);if(e!==e+... function Wb (line 193) | function Wb(a,c,d,e){var g=Dh();try{Mb(a)(c,d,e)}catch(h){Eh(g);if(h!==h... function Vb (line 193) | function Vb(a,c,d){var e=Dh();try{Mb(a)(c,d)}catch(g){Eh(e);if(g!==g+0)t... function Qb (line 194) | function Qb(a,c,d){var e=Dh();try{return Mb(a)(c,d)}catch(g){Eh(e);if(g!... function Sb (line 194) | function Sb(a,c,d,e,g){var h=Dh();try{return Mb(a)(c,d,e,g)}catch(k){Eh(... function Xb (line 194) | function Xb(a,c,d,e,g){var h=Dh();try{Mb(a)(c,d,e,g)}catch(k){Eh(h);if(k... function Tb (line 194) | function Tb(a,c,d,e,g,h){var k=Dh();try{return Mb(a)(c,d,e,g,h)}catch(m)... function Zb (line 195) | function Zb(a,c,d,e,g,h,k,m,t,u){var p=Dh();try{Mb(a)(c,d,e,g,h,k,m,t,u)... function Yb (line 195) | function Yb(a,c,d,e,g,h){var k=Dh();try{Mb(a)(c,d,e,g,h)}catch(m){Eh(k);... function Hh (line 196) | function Hh(){function a(){if(!Fh&&(Fh=!0,b.calledRun=!0,!ua)){La=!0;b.n... function G (line 197) | function G(){} function Ih (line 197) | function Ih(a){return(a||G).Of} function H (line 197) | function H(a,c){var d=Ih(c),e=d[a];if(e)return e;e=Object.create((c||G).... function I (line 198) | function I(){if(Nh){for(var a=0;a { function decompressData (line 21) | async function decompressData(compressedData: ArrayBuffer): Promise string function markedKatexExtension (line 68) | function markedKatexExtension(options: KatexOptions = {}): KatexMarkedEx... function createRenderer (line 77) | function createRenderer(options: any, newlineAfter: boolean): RendererFu... function inlineKatex (line 93) | function inlineKatex( function blockKatex (line 145) | function blockKatex( FILE: src/utils/oai-api-providers.ts constant OAI_API_PROVIDERS (line 1) | const OAI_API_PROVIDERS = [ FILE: src/utils/ocr.ts function processImageForOCR (line 4) | async function processImageForOCR(imageData: string): Promise { FILE: src/utils/ollama-pull-inject.ts function makeDownloadButton (line 5) | function makeDownloadButton( function injectOllamaPullButtons (line 32) | function injectOllamaPullButtons( FILE: src/utils/search-provider.ts constant SUPPORTED_SEARCH_PROVIDERS (line 1) | const SUPPORTED_SEARCH_PROVIDERS = [ FILE: src/utils/supported-languages.ts constant SUPPORTED_LANGUAGES (line 1) | const SUPPORTED_LANGUAGES = [ FILE: src/utils/tts.ts constant CODE_BLOCK_PATTERN (line 3) | const CODE_BLOCK_PATTERN = /```[\s\S]*?```/g; FILE: src/web/search-engines/bing.ts constant BING_SEARCH_URL (line 19) | const BING_SEARCH_URL = "https://www.bing.com/search?q=" FILE: src/web/search-engines/brave-api.ts type BraveAPIResult (line 14) | interface BraveAPIResult { type BraveAPIResponse (line 20) | interface BraveAPIResponse { FILE: src/web/search-engines/exa.ts type ExaAPIResult (line 18) | interface ExaAPIResult { type ExaAPIResponse (line 24) | interface ExaAPIResponse { FILE: src/web/search-engines/firecrawl.ts type FirecrawlAPIResult (line 19) | interface FirecrawlAPIResult { type FirecrawlAPIResponse (line 26) | interface FirecrawlAPIResponse { FILE: src/web/search-engines/kagi-api.ts type KagiSearchResult (line 14) | interface KagiSearchResult { type KagiAPIResponse (line 28) | interface KagiAPIResponse { FILE: src/web/search-engines/ollama.ts type OllamaAPIResult (line 19) | interface OllamaAPIResult { type OllamaAPIResponse (line 25) | interface OllamaAPIResponse { FILE: src/web/search-engines/perplexity-api.ts type PerplexitySearchResult (line 18) | interface PerplexitySearchResult { type PerplexityAPIResponse (line 26) | interface PerplexityAPIResponse { FILE: src/web/search-engines/searxng.ts type SearxNGJSONResult (line 15) | interface SearxNGJSONResult { type SearxNGJSONResponse (line 21) | interface SearxNGJSONResponse { FILE: src/web/search-engines/stract.ts type Snippet (line 15) | interface Snippet { type Text (line 20) | interface Text { type Fragment (line 24) | interface Fragment { type StractAPIResult (line 29) | interface StractAPIResult { type StractAPIResponse (line 36) | interface StractAPIResponse { FILE: src/web/search-engines/tavily-api.ts type Results (line 14) | interface Results { type TavilyAPIResult (line 20) | interface TavilyAPIResult { FILE: src/web/web.ts type ProviderResults (line 21) | interface ProviderResults { type SearchProviderResult (line 26) | interface SearchProviderResult {