SYMBOL INDEX (3174 symbols across 756 files) FILE: collector/extensions/index.js constant RESYNC_METHODS (line 9) | const RESYNC_METHODS = require("./resync"); function extensions (line 12) | function extensions(app) { FILE: collector/extensions/resync/index.js function resyncLink (line 8) | async function resyncLink({ link }, response) { function resyncYouTube (line 30) | async function resyncYouTube({ link }, response) { function resyncConfluence (line 57) | async function resyncConfluence({ chunkSource }, response) { function resyncGithub (line 94) | async function resyncGithub({ chunkSource }, response) { function resyncDrupalWiki (line 128) | async function resyncDrupalWiki({ chunkSource }, response) { function resyncPaperlessNgx (line 165) | async function resyncPaperlessNgx({ chunkSource }, response) { FILE: collector/index.js constant FILE_LIMIT (line 20) | const FILE_LIMIT = "3GB"; FILE: collector/middleware/setDataSigner.js function setDataSigner (line 28) | function setDataSigner(request, response, next) { FILE: collector/middleware/verifyIntegrity.js function verifyPayloadIntegrity (line 5) | function verifyPayloadIntegrity(request, response, next) { FILE: collector/processLink/convert/generic.js function scrapeGenericUrl (line 28) | async function scrapeGenericUrl({ function validatedHeaders (line 112) | function validatedHeaders(headers = {}) { function getPageContent (line 136) | async function getPageContent({ link, captureAs = "text", headers = {} }) { FILE: collector/processLink/helpers/index.js function getContentTypeFromURL (line 14) | async function getContentTypeFromURL(url) { function returnResult (line 69) | function returnResult({ function determineContentType (line 89) | async function determineContentType(uri) { function processAsFile (line 123) | async function processAsFile({ uri, saveAsDocument = true }) { FILE: collector/processLink/index.js function processLink (line 13) | async function processLink(link, scraperHeaders = {}, metadata = {}) { function getLinkText (line 33) | async function getLinkText(link, captureAs = "text") { FILE: collector/processRawText/index.js function stripAndSlug (line 8) | function stripAndSlug(input) { constant METADATA_KEYS (line 13) | const METADATA_KEYS = { function processRawText (line 49) | async function processRawText(textContent, metadata) { FILE: collector/processSingleFile/convert/asAudio.js constant WHISPER_PROVIDERS (line 12) | const WHISPER_PROVIDERS = { function asAudio (line 17) | async function asAudio({ FILE: collector/processSingleFile/convert/asDocx.js function asDocX (line 11) | async function asDocX({ FILE: collector/processSingleFile/convert/asEPub.js function asEPub (line 11) | async function asEPub({ FILE: collector/processSingleFile/convert/asImage.js function asImage (line 11) | async function asImage({ FILE: collector/processSingleFile/convert/asMbox.js function asMbox (line 12) | async function asMbox({ FILE: collector/processSingleFile/convert/asOfficeMime.js function asOfficeMime (line 11) | async function asOfficeMime({ FILE: collector/processSingleFile/convert/asPDF/PDFLoader/index.js class PDFLoader (line 3) | class PDFLoader { method constructor (line 4) | constructor(filePath, { splitPages = true } = {}) { method load (line 9) | async load() { method getPdfJS (line 84) | async getPdfJS() { FILE: collector/processSingleFile/convert/asPDF/index.js function asPdf (line 12) | async function asPdf({ FILE: collector/processSingleFile/convert/asTxt.js function asTxt (line 11) | async function asTxt({ FILE: collector/processSingleFile/convert/asXlsx.js function convertToCSV (line 14) | function convertToCSV(data) { function asXlsx (line 29) | async function asXlsx({ function processSheet (line 171) | function processSheet(sheet) { FILE: collector/processSingleFile/index.js constant RESERVED_FILES (line 13) | const RESERVED_FILES = ["__HOTDIR__.md"]; function processSingleFile (line 23) | async function processSingleFile(targetFilename, options = {}, metadata ... FILE: collector/utils/EncryptionWorker/index.js class EncryptionWorker (line 6) | class EncryptionWorker { method constructor (line 7) | constructor(presetKeyBase64 = "") { method log (line 13) | log(text, ...args) { method expandPayload (line 23) | expandPayload(chunkSource = "") { method encrypt (line 43) | encrypt(plainTextString = null) { method decrypt (line 60) | decrypt(encryptedString) { FILE: collector/utils/OCRLoader/index.js class OCRLoader (line 6) | class OCRLoader { method constructor (line 23) | constructor({ targetLanguages = "eng" } = {}) { method parseLanguages (line 45) | parseLanguages(language = null) { method log (line 61) | log(text, ...args) { method ocrPDF (line 70) | async ocrPDF( method ocrImage (line 221) | async ocrImage(filePath, { maxExecutionTime = 300_000 } = {}) { class PDFSharp (line 283) | class PDFSharp { method constructor (line 284) | constructor({ validOps = [] } = {}) { method log (line 289) | log(text, ...args) { method init (line 293) | async init() { method pageToBuffer (line 303) | async pageToBuffer({ page }) { FILE: collector/utils/OCRLoader/validLangs.js constant VALID_LANGUAGE_CODES (line 25) | const VALID_LANGUAGE_CODES = { FILE: collector/utils/WhisperProviders/OpenAiWhisper.js class OpenAiWhisper (line 3) | class OpenAiWhisper { method constructor (line 4) | constructor({ options }) { method #log (line 16) | #log(text, ...args) { method processFile (line 20) | async processFile(fullFilePath) { FILE: collector/utils/WhisperProviders/ffmpeg/index.js class FFMPEGWrapper (line 13) | class FFMPEGWrapper { method constructor (line 16) | constructor() { method log (line 22) | log(text, ...args) { method ffmpegPath (line 33) | async ffmpegPath() { method isValidFFMPEG (line 62) | isValidFFMPEG(pathToTest) { method convertAudioToWav (line 81) | async convertAudioToWav(inputPath, outputPath) { FILE: collector/utils/WhisperProviders/localWhisper.js class LocalWhisper (line 10) | class LocalWhisper { method constructor (line 11) | constructor({ options }) { method #log (line 28) | #log(text, ...args) { method #validateAudioFile (line 32) | #validateAudioFile(wavFile) { method #convertToWavAudioData (line 63) | async #convertToWavAudioData(sourcePath) { method client (line 118) | async client() { method processFile (line 162) | async processFile(fullFilePath, filename) { FILE: collector/utils/comKey/index.js class CommunicationKey (line 13) | class CommunicationKey { method constructor (line 17) | constructor() {} method log (line 19) | log(text, ...args) { method #readPublicKey (line 23) | #readPublicKey() { method verify (line 30) | verify(signature = "", textData = "") { method decrypt (line 47) | decrypt(base64String = "") { FILE: collector/utils/constants.js constant WATCH_DIRECTORY (line 1) | const WATCH_DIRECTORY = require("path").resolve(__dirname, "../hotdir"); constant ACCEPTED_MIMES (line 3) | const ACCEPTED_MIMES = { constant SUPPORTED_FILETYPE_CONVERTERS (line 40) | const SUPPORTED_FILETYPE_CONVERTERS = { FILE: collector/utils/downloadURIToFile/index.js function downloadURIToFile (line 14) | async function downloadURIToFile(url, maxTimeout = 10_000) { FILE: collector/utils/extensions/Confluence/ConfluenceLoader/index.js class ConfluencePagesLoader (line 7) | class ConfluencePagesLoader { method constructor (line 8) | constructor({ method log (line 33) | log(message, ...args) { method authorizationHeader (line 37) | get authorizationHeader() { method load (line 49) | async load(options) { method fetchConfluenceData (line 62) | async fetchConfluenceData(url) { method fetchAllPagesInSpace (line 89) | async fetchAllPagesInSpace(start = 0, limit = this.limit) { method createDocumentFromPage (line 107) | createDocumentFromPage(page) { FILE: collector/utils/extensions/Confluence/index.js function loadConfluence (line 15) | async function loadConfluence( function fetchConfluencePage (line 150) | async function fetchConfluencePage({ function validBaseUrl (line 237) | function validBaseUrl(baseUrl) { function generateChunkSource (line 254) | function generateChunkSource( FILE: collector/utils/extensions/DrupalWiki/DrupalWiki/index.js class Page (line 26) | class Page { method constructor (line 37) | constructor({ id, title, created, type, processedBody, url, spaceId }) { class DrupalWiki (line 48) | class DrupalWiki { method constructor (line 55) | constructor({ baseUrl, accessToken }) { method loadAndStoreAllPagesForSpace (line 69) | async loadAndStoreAllPagesForSpace(spaceId, encryptionWorker) { method loadPage (line 95) | async loadPage(pageId) { method #getPageIndexForSpace (line 104) | async #getPageIndexForSpace(spaceId) { method #getPagesForSpacePaginated (line 130) | async #getPagesForSpacePaginated(spaceId, pageNr) { method #fetchPage (line 158) | async #fetchPage(pageId) { method #storePage (line 182) | #storePage(page, encryptionWorker) { method #generateChunkSource (line 222) | #generateChunkSource(pageId, encryptionWorker) { method _doFetch (line 235) | async _doFetch(url) { method #getHeaders (line 245) | #getHeaders() { method #prepareStoragePath (line 253) | #prepareStoragePath(baseUrl) { method #processPageBody (line 269) | #processPageBody({ body, title }) { method #downloadAndProcessAttachments (line 293) | async #downloadAndProcessAttachments(pageId) { FILE: collector/utils/extensions/DrupalWiki/index.js function loadAndStoreSpaces (line 11) | async function loadAndStoreSpaces( function loadPage (line 80) | async function loadPage({ baseUrl, pageId, accessToken }) { FILE: collector/utils/extensions/ObsidianVault/index.js function parseObsidianVaultPath (line 11) | function parseObsidianVaultPath(files = []) { function loadObsidianVault (line 28) | async function loadObsidianVault({ files = [] }) { FILE: collector/utils/extensions/PaperlessNgx/PaperlessNgxLoader/index.js class PaperlessNgxLoader (line 4) | class PaperlessNgxLoader { method constructor (line 5) | constructor({ baseUrl, apiToken }) { method load (line 13) | async load() { method fetchAllDocuments (line 27) | async fetchAllDocuments() { method fetchDocumentContent (line 92) | async fetchDocumentContent(documentId) { method parsePdfContent (line 123) | async parsePdfContent(buffer) { method createDocumentFromPage (line 133) | createDocumentFromPage(doc) { FILE: collector/utils/extensions/PaperlessNgx/index.js function loadPaperlessNgx (line 20) | async function loadPaperlessNgx({ baseUrl = null, apiToken = null }, res... function generateChunkSource (line 116) | function generateChunkSource({ doc, baseUrl, apiToken }, encryptionWorke... FILE: collector/utils/extensions/RepoLoader/GithubRepo/RepoLoader/index.js class GitHubRepoLoader (line 13) | class GitHubRepoLoader { method constructor (line 19) | constructor(args = {}) { method #processRepoUrl (line 38) | #processRepoUrl(repoUrl) { method #validGithubUrl (line 61) | #validGithubUrl() { method #validBranch (line 96) | async #validBranch() { method #validateAccessToken (line 108) | async #validateAccessToken() { method init (line 137) | async init() { method recursiveLoader (line 150) | async recursiveLoader() { method #branchPrefSort (line 176) | #branchPrefSort(branches = []) { method getRepoBranches (line 188) | async getRepoBranches() { method fetchSingleFile (line 234) | async fetchSingleFile(sourceFilePath) { FILE: collector/utils/extensions/RepoLoader/GithubRepo/index.js function loadGithubRepo (line 15) | async function loadGithubRepo(args, response) { function fetchGithubFile (line 98) | async function fetchGithubFile({ function generateChunkSource (line 146) | function generateChunkSource(repo, doc, encryptionWorker) { FILE: collector/utils/extensions/RepoLoader/GitlabRepo/RepoLoader/index.js constant MAX_RETRIES (line 2) | const MAX_RETRIES = 3; class GitLabRepoLoader (line 27) | class GitLabRepoLoader { method constructor (line 33) | constructor(args = {}) { method #wait (line 50) | #wait(ms) { method #validGitlabUrl (line 54) | #validGitlabUrl() { method #validBranch (line 78) | async #validBranch() { method #validateAccessToken (line 90) | async #validateAccessToken() { method init (line 110) | async init() { method recursiveLoader (line 123) | async recursiveLoader() { method #branchPrefSort (line 186) | #branchPrefSort(branches = []) { method getRepoBranches (line 198) | async getRepoBranches() { method fetchFilesRecursive (line 219) | async fetchFilesRecursive() { method fetchIssues (line 261) | async fetchIssues() { method fetchWiki (line 313) | async fetchWiki() { method fetchSingleFileContents (line 332) | async fetchSingleFileContents(sourceFilePath, retries = 0) { method fetchNextPage (line 374) | async fetchNextPage(requestData, retries = 0) { FILE: collector/utils/extensions/RepoLoader/GitlabRepo/index.js function loadGitlabRepo (line 15) | async function loadGitlabRepo(args, response) { function fetchGitlabFile (line 122) | async function fetchGitlabFile({ function generateChunkSource (line 160) | function generateChunkSource(repo, doc, encryptionWorker) { function issueToMarkdown (line 172) | function issueToMarkdown(issue) { FILE: collector/utils/extensions/RepoLoader/index.js function resolveRepoLoader (line 7) | function resolveRepoLoader(platform = "github") { function resolveRepoLoaderFunction (line 27) | function resolveRepoLoaderFunction(platform = "github") { FILE: collector/utils/extensions/WebsiteDepth/index.js function discoverLinks (line 13) | async function discoverLinks(startUrl, maxDepth = 1, maxLinks = 20) { function getPageLinks (line 48) | async function getPageLinks(url, baseUrl) { function extractLinks (line 89) | function extractLinks(html, baseUrl) { function bulkScrapePages (line 111) | async function bulkScrapePages(links, outFolderPath) { function websiteScraper (line 192) | async function websiteScraper(startUrl, depth = 1, maxLinks = 20) { FILE: collector/utils/extensions/YoutubeTranscript/YoutubeLoader/index.js class YoutubeLoader (line 10) | class YoutubeLoader { method constructor (line 15) | constructor({ videoId = null, language = null, addVideoInfo = false } ... method getVideoID (line 27) | static getVideoID(url) { method createFromUrl (line 40) | static createFromUrl(url, config = {}) { method load (line 51) | async load() { method #convertTranscriptSegmentsToText (line 88) | #convertTranscriptSegmentsToText(transcriptSegments) { FILE: collector/utils/extensions/YoutubeTranscript/YoutubeLoader/youtube-transcript.js class YoutubeTranscriptError (line 3) | class YoutubeTranscriptError extends Error { method constructor (line 4) | constructor(message) { class YoutubeTranscript (line 12) | class YoutubeTranscript { method #encodeProtobufString (line 19) | static #encodeProtobufString(fieldNumber, str) { method #encodeVarint (line 36) | static #encodeVarint(value) { method #getBase64Protobuf (line 53) | static #getBase64Protobuf({ param1, param2 }) { method #extractTranscriptFromResponse (line 64) | static #extractTranscriptFromResponse(responseData) { method #calculatePreferenceScore (line 98) | static #calculatePreferenceScore(track, preferredLanguages) { method #findPreferredCaptionTrack (line 115) | static #findPreferredCaptionTrack(videoBody, preferredLanguages) { method #getPreferredCaptionTrack (line 148) | static async #getPreferredCaptionTrack(videoId, preferredLanguages) { method fetchTranscript (line 176) | static async fetchTranscript(videoId, config = {}) { method retrieveVideoId (line 233) | static retrieveVideoId(videoId) { FILE: collector/utils/extensions/YoutubeTranscript/index.js function fetchVideoTranscriptContent (line 20) | async function fetchVideoTranscriptContent({ url }) { function loadYouTubeTranscript (line 101) | async function loadYouTubeTranscript({ url }, options = { parseOnly: fal... function buildTranscriptContentWithMetadata (line 203) | function buildTranscriptContentWithMetadata(content = "", metadata = {}) { FILE: collector/utils/files/index.js function isTextType (line 31) | function isTextType(filepath) { function isKnownTextMime (line 44) | function isKnownTextMime(filepath) { function parseableAsText (line 66) | function parseableAsText(filepath) { function trashFile (line 86) | function trashFile(filepath) { function createdDate (line 100) | function createdDate(filepath) { function writeToServerDocuments (line 120) | function writeToServerDocuments({ function wipeCollectorStorage (line 156) | async function wipeCollectorStorage() { function isWithin (line 198) | function isWithin(outer, inner) { function normalizePath (line 204) | function normalizePath(filepath = "") { function sanitizeFileName (line 213) | function sanitizeFileName(fileName) { FILE: collector/utils/files/mime.js class MimeDetector (line 2) | class MimeDetector { method constructor (line 13) | constructor() { method setOverrides (line 18) | setOverrides() { method getType (line 55) | getType(filepath) { FILE: collector/utils/http/index.js function reqBody (line 5) | function reqBody(request) { function queryParams (line 11) | function queryParams(request) { function validBaseUrl (line 22) | function validBaseUrl(baseUrl) { FILE: collector/utils/logger/index.js class Logger (line 3) | class Logger { method constructor (line 6) | constructor() { method getWinstonLogger (line 13) | getWinstonLogger() { function setLogger (line 65) | function setLogger() { FILE: collector/utils/runtimeSettings/index.js class RuntimeSettings (line 18) | class RuntimeSettings { method constructor (line 46) | constructor() { method parseOptionsFromRequest (line 58) | parseOptionsFromRequest(request = {}) { method get (line 74) | get(key) { method set (line 90) | set(key, value = null) { FILE: collector/utils/shell.js function patchShellEnvironmentPath (line 8) | async function patchShellEnvironmentPath() { FILE: collector/utils/tokenizer/index.js class TikTokenTokenizer (line 3) | class TikTokenTokenizer { method constructor (line 7) | constructor() { method log (line 20) | log(text, ...args) { method #isTooLong (line 32) | #isTooLong(input) { method tokenizeString (line 43) | tokenizeString(input = "") { FILE: collector/utils/url/index.js constant VALID_PROTOCOLS (line 15) | const VALID_PROTOCOLS = ["https:", "http:"]; constant INVALID_OCTETS (line 16) | const INVALID_OCTETS = [192, 172, 10, 127]; function isInvalidIp (line 27) | function isInvalidIp({ hostname }) { function validURL (line 64) | function validURL(url) { function validateURL (line 81) | function validateURL(url) { function validYoutubeVideoUrl (line 112) | function validYoutubeVideoUrl(link, returnVideoId = false) { FILE: extras/translator/index.mjs function getNestedValue (line 5) | function getNestedValue(obj, path) { function setNestedValue (line 15) | function setNestedValue(obj, path, value) { function extractPlaceholders (line 32) | function extractPlaceholders(text) { function restorePlaceholders (line 48) | function restorePlaceholders(text, placeholders) { function extractTransTags (line 60) | function extractTransTags(text) { function restoreTransTags (line 78) | function restoreTransTags(text, tags) { function validatePlaceholders (line 90) | function validatePlaceholders(sourceText, translatedText) { function validateTransTags (line 103) | function validateTransTags(sourceText, translatedText) { class Translator (line 110) | class Translator { method constructor (line 112) | constructor() { method getLanguageName (line 116) | getLanguageName(localeCode) { method #log (line 125) | #log(text, ...args) { method slog (line 129) | static slog(text, ...args) { method buildPrompt (line 133) | buildPrompt(text, sourceLangCode, targetLangCode, { hasPlaceholders = ... method cleanOutputText (line 159) | cleanOutputText(text) { method translate (line 163) | async translate(text, sourceLangCode, targetLangCode) { method writeTranslations (line 224) | writeTranslations(langCode, translations) { function traverseTranslations (line 247) | function traverseTranslations(translations, parentKey = '') { function translateAllLanguages (line 260) | async function translateAllLanguages() { function translateSingleLanguage (line 267) | async function translateSingleLanguage(langCode) { FILE: frontend/public/service-workers/push-notifications.js function parseEventData (line 1) | function parseEventData(event) { FILE: frontend/src/App.jsx function App (line 18) | function App() { FILE: frontend/src/AuthContext.jsx function AuthProvider (line 13) | function AuthProvider(props) { FILE: frontend/src/LogoContext.jsx constant REFETCH_LOGO_EVENT (line 8) | const REFETCH_LOGO_EVENT = "refetch-logo"; function isLightMode (line 10) | function isLightMode() { function LogoProvider (line 15) | function LogoProvider({ children }) { FILE: frontend/src/PWAContext.jsx function isStandalonePWA (line 13) | function isStandalonePWA() { function PWAModeProvider (line 33) | function PWAModeProvider({ children }) { function usePWAMode (line 91) | function usePWAMode() { FILE: frontend/src/PfpContext.jsx function PfpProvider (line 7) | function PfpProvider({ children }) { FILE: frontend/src/ThemeContext.jsx function ThemeProvider (line 6) | function ThemeProvider({ children }) { function useThemeContext (line 14) | function useThemeContext() { FILE: frontend/src/components/CanViewChatHistory/index.jsx function CanViewChatHistory (line 11) | function CanViewChatHistory({ children }) { function CanViewChatHistoryProvider (line 26) | function CanViewChatHistoryProvider({ children }) { function useCanViewChatHistory (line 36) | function useCanViewChatHistory() { FILE: frontend/src/components/ChangeWarning/index.jsx function ChangeWarningModal (line 3) | function ChangeWarningModal({ FILE: frontend/src/components/ChatBubble/index.jsx function ChatBubble (line 7) | function ChatBubble({ message, type }) { FILE: frontend/src/components/CommunityHub/PublishEntityModal/AgentFlows/index.jsx function AgentFlows (line 10) | function AgentFlows({ entity }) { FILE: frontend/src/components/CommunityHub/PublishEntityModal/SlashCommands/index.jsx function SlashCommands (line 9) | function SlashCommands({ entity }) { FILE: frontend/src/components/CommunityHub/PublishEntityModal/SystemPrompts/index.jsx function SystemPrompts (line 9) | function SystemPrompts({ entity }) { FILE: frontend/src/components/CommunityHub/PublishEntityModal/index.jsx function PublishEntityModal (line 9) | function PublishEntityModal({ FILE: frontend/src/components/CommunityHub/UnauthenticatedHubModal/index.jsx function UnauthenticatedHubModal (line 7) | function UnauthenticatedHubModal({ show, onClose }) { FILE: frontend/src/components/ContextualSaveBar/index.jsx function ContextualSaveBar (line 3) | function ContextualSaveBar({ FILE: frontend/src/components/DefaultChat/index.jsx function DefaultChatContainer (line 13) | function DefaultChatContainer() { FILE: frontend/src/components/EmbeddingSelection/AzureAiOptions/index.jsx function AzureAiOptions (line 1) | function AzureAiOptions({ settings }) { FILE: frontend/src/components/EmbeddingSelection/CohereOptions/index.jsx function CohereEmbeddingOptions (line 4) | function CohereEmbeddingOptions({ settings }) { function CohereModelSelection (line 34) | function CohereModelSelection({ apiKey, settings }) { FILE: frontend/src/components/EmbeddingSelection/EmbedderItem/index.jsx function EmbedderItem (line 1) | function EmbedderItem({ FILE: frontend/src/components/EmbeddingSelection/GeminiOptions/index.jsx constant DEFAULT_MODELS (line 4) | const DEFAULT_MODELS = [ function GeminiOptions (line 11) | function GeminiOptions({ settings }) { FILE: frontend/src/components/EmbeddingSelection/GenericOpenAiOptions/index.jsx function GenericOpenAiEmbeddingOptions (line 5) | function GenericOpenAiEmbeddingOptions({ settings }) { FILE: frontend/src/components/EmbeddingSelection/LMStudioOptions/index.jsx function LMStudioEmbeddingOptions (line 14) | function LMStudioEmbeddingOptions({ settings }) { function LMStudioModelSelection (line 202) | function LMStudioModelSelection({ settings, basePath = null, apiKey = nu... FILE: frontend/src/components/EmbeddingSelection/LemonadeOptions/index.jsx function LemonadeEmbeddingOptions (line 9) | function LemonadeEmbeddingOptions({ settings }) { function LemonadeModelSelection (line 146) | function LemonadeModelSelection({ settings, basePath = null }) { FILE: frontend/src/components/EmbeddingSelection/LiteLLMOptions/index.jsx function LiteLLMOptions (line 6) | function LiteLLMOptions({ settings }) { function LiteLLMModelSelection (line 91) | function LiteLLMModelSelection({ settings, basePath = null, apiKey = nul... function EmbeddingModelTooltip (line 168) | function EmbeddingModelTooltip() { FILE: frontend/src/components/EmbeddingSelection/LocalAiOptions/index.jsx function LocalAiOptions (line 9) | function LocalAiOptions({ settings }) { function LocalAIModelSelection (line 213) | function LocalAIModelSelection({ settings, apiKey = null, basePath = nul... FILE: frontend/src/components/EmbeddingSelection/MistralAiOptions/index.jsx function MistralAiOptions (line 1) | function MistralAiOptions({ settings }) { FILE: frontend/src/components/EmbeddingSelection/NativeEmbeddingOptions/index.jsx function NativeEmbeddingOptions (line 5) | function NativeEmbeddingOptions({ settings }) { FILE: frontend/src/components/EmbeddingSelection/OllamaOptions/index.jsx function OllamaEmbeddingOptions (line 9) | function OllamaEmbeddingOptions({ settings }) { function OllamaEmbeddingModelSelection (line 199) | function OllamaEmbeddingModelSelection({ settings, basePath = null }) { FILE: frontend/src/components/EmbeddingSelection/OpenAiOptions/index.jsx function OpenAiOptions (line 1) | function OpenAiOptions({ settings }) { FILE: frontend/src/components/EmbeddingSelection/OpenRouterOptions/index.jsx function OpenRouterOptions (line 4) | function OpenRouterOptions({ settings }) { function OpenRouterEmbeddingModelSelection (line 29) | function OpenRouterEmbeddingModelSelection({ settings }) { FILE: frontend/src/components/EmbeddingSelection/VoyageAiOptions/index.jsx function VoyageAiOptions (line 1) | function VoyageAiOptions({ settings }) { FILE: frontend/src/components/ErrorBoundaryFallback/index.jsx function ErrorBoundaryFallback (line 5) | function ErrorBoundaryFallback({ error, resetErrorBoundary }) { FILE: frontend/src/components/Footer/index.jsx constant MAX_ICONS (line 20) | const MAX_ICONS = 3; constant ICON_COMPONENTS (line 21) | const ICON_COMPONENTS = { function Footer (line 33) | function Footer() { FILE: frontend/src/components/KeyboardShortcutsHelp/index.jsx function KeyboardShortcutsHelp (line 10) | function KeyboardShortcutsHelp() { FILE: frontend/src/components/LLMSelection/AnthropicAiOptions/index.jsx function AnthropicAiOptions (line 5) | function AnthropicAiOptions({ settings }) { constant DEFAULT_MODELS (line 93) | const DEFAULT_MODELS = [ function AnthropicModelSelection (line 132) | function AnthropicModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/ApiPieOptions/index.jsx function ApiPieLLMOptions (line 4) | function ApiPieLLMOptions({ settings }) { function APIPieModelSelection (line 31) | function APIPieModelSelection({ settings }) { FILE: frontend/src/components/LLMSelection/AwsBedrockLLMOptions/index.jsx function AwsBedrockLLMOptions (line 5) | function AwsBedrockLLMOptions({ settings }) { FILE: frontend/src/components/LLMSelection/AwsBedrockLLMOptions/regions.js constant AWS_REGIONS (line 1) | const AWS_REGIONS = [ FILE: frontend/src/components/LLMSelection/AzureAiOptions/index.jsx function AzureAiOptions (line 5) | function AzureAiOptions({ settings }) { FILE: frontend/src/components/LLMSelection/CohereAiOptions/index.jsx function CohereAiOptions (line 4) | function CohereAiOptions({ settings }) { function CohereModelSelection (line 36) | function CohereModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/CometApiLLMOptions/index.jsx function CometApiLLMOptions (line 5) | function CometApiLLMOptions({ settings }) { function AdvancedControls (line 33) | function AdvancedControls({ settings }) { function CometApiModelSelection (line 77) | function CometApiModelSelection({ settings }) { FILE: frontend/src/components/LLMSelection/DPAISOptions/index.jsx function DellProAIStudioOptions (line 8) | function DellProAIStudioOptions({ settings }) { function DellProAiStudioModelSelection (line 107) | function DellProAiStudioModelSelection({ settings, basePath = null }) { FILE: frontend/src/components/LLMSelection/DeepSeekOptions/index.jsx function DeepSeekOptions (line 4) | function DeepSeekOptions({ settings }) { function DeepSeekModelSelection (line 36) | function DeepSeekModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/DockerModelRunnerOptions/index.jsx function DockerModelRunnerOptions (line 16) | function DockerModelRunnerOptions({ settings }) { function DockerModelRunnerModelSelection (line 182) | function DockerModelRunnerModelSelection({ FILE: frontend/src/components/LLMSelection/FireworksAiOptions/index.jsx function FireworksAiOptions (line 4) | function FireworksAiOptions({ settings }) { function FireworksAiModelSelection (line 38) | function FireworksAiModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/FoundryOptions/index.jsx function FoundryOptions (line 4) | function FoundryOptions({ settings }) { FILE: frontend/src/components/LLMSelection/GeminiLLMOptions/index.jsx function GeminiLLMOptions (line 4) | function GeminiLLMOptions({ settings }) { function GeminiModelSelection (line 64) | function GeminiModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/GenericOpenAiOptions/index.jsx function GenericOpenAiOptions (line 1) | function GenericOpenAiOptions({ settings }) { FILE: frontend/src/components/LLMSelection/GiteeAIOptions/index.jsx function GiteeAIOptions (line 4) | function GiteeAIOptions({ settings }) { function GiteeAIModelSelection (line 47) | function GiteeAIModelSelection({ settings }) { FILE: frontend/src/components/LLMSelection/GroqAiOptions/index.jsx function GroqAiOptions (line 4) | function GroqAiOptions({ settings }) { function GroqAIModelSelection (line 35) | function GroqAIModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/HuggingFaceOptions/index.jsx function HuggingFaceOptions (line 1) | function HuggingFaceOptions({ settings }) { FILE: frontend/src/components/LLMSelection/KoboldCPPOptions/index.jsx function KoboldCPPOptions (line 8) | function KoboldCPPOptions({ settings }) { function KoboldCPPModelSelection (line 146) | function KoboldCPPModelSelection({ settings, basePath = null }) { FILE: frontend/src/components/LLMSelection/LLMItem/index.jsx function LLMItem (line 1) | function LLMItem({ FILE: frontend/src/components/LLMSelection/LLMProviderOption/index.jsx function LLMProviderOption (line 1) | function LLMProviderOption({ FILE: frontend/src/components/LLMSelection/LMStudioOptions/index.jsx function LMStudioOptions (line 15) | function LMStudioOptions({ settings, showAlert = false }) { function LMStudioModelSelection (line 227) | function LMStudioModelSelection({ settings, basePath = null, apiKey = nu... FILE: frontend/src/components/LLMSelection/LemonadeOptions/index.jsx function cleanBasePath (line 16) | function cleanBasePath(basePath = "") { function LemonadeOptions (line 25) | function LemonadeOptions({ settings }) { function LemonadeModelSelection (line 172) | function LemonadeModelSelection({ FILE: frontend/src/components/LLMSelection/LiteLLMOptions/index.jsx function LiteLLMOptions (line 4) | function LiteLLMOptions({ settings }) { function LiteLLMModelSelection (line 76) | function LiteLLMModelSelection({ settings, basePath = null, apiKey = nul... FILE: frontend/src/components/LLMSelection/LocalAiOptions/index.jsx function LocalAiOptions (line 9) | function LocalAiOptions({ settings, showAlert = false }) { function LocalAIModelSelection (line 147) | function LocalAIModelSelection({ settings, basePath = null, apiKey = nul... FILE: frontend/src/components/LLMSelection/MistralOptions/index.jsx function MistralOptions (line 4) | function MistralOptions({ settings }) { function MistralModelSelection (line 34) | function MistralModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/MoonshotAiOptions/index.jsx function MoonshotAiOptions (line 4) | function MoonshotAiOptions({ settings }) { function MoonshotAiModelSelection (line 36) | function MoonshotAiModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/NovitaLLMOptions/index.jsx function NovitaLLMOptions (line 5) | function NovitaLLMOptions({ settings }) { function AdvancedControls (line 33) | function AdvancedControls({ settings }) { function NovitaModelSelection (line 77) | function NovitaModelSelection({ settings }) { FILE: frontend/src/components/LLMSelection/NvidiaNimOptions/index.jsx function NvidiaNimOptions (line 4) | function NvidiaNimOptions({ settings }) { FILE: frontend/src/components/LLMSelection/NvidiaNimOptions/managed.jsx function ManagedNvidiaNimOptions (line 5) | function ManagedNvidiaNimOptions({ settings: _settings }) { FILE: frontend/src/components/LLMSelection/NvidiaNimOptions/remote.jsx function RemoteNvidiaNimOptions (line 12) | function RemoteNvidiaNimOptions({ settings }) { function NvidiaNimModelSelection (line 71) | function NvidiaNimModelSelection({ settings, basePath }) { FILE: frontend/src/components/LLMSelection/OllamaLLMOptions/index.jsx function OllamaLLMOptions (line 9) | function OllamaLLMOptions({ settings }) { function OllamaLLMModelSelection (line 279) | function OllamaLLMModelSelection({ FILE: frontend/src/components/LLMSelection/OpenAiOptions/index.jsx function OpenAiOptions (line 4) | function OpenAiOptions({ settings }) { function OpenAIModelSelection (line 34) | function OpenAIModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/OpenRouterOptions/index.jsx function OpenRouterOptions (line 5) | function OpenRouterOptions({ settings }) { function AdvancedControls (line 33) | function AdvancedControls({ settings }) { function OpenRouterModelSelection (line 72) | function OpenRouterModelSelection({ settings }) { FILE: frontend/src/components/LLMSelection/PPIOLLMOptions/index.jsx function PPIOLLMOptions (line 4) | function PPIOLLMOptions({ settings }) { function PPIOModelSelection (line 31) | function PPIOModelSelection({ settings }) { FILE: frontend/src/components/LLMSelection/PerplexityOptions/index.jsx function PerplexityOptions (line 4) | function PerplexityOptions({ settings }) { function PerplexityModelSelection (line 29) | function PerplexityModelSelection({ settings }) { FILE: frontend/src/components/LLMSelection/PrivateModeOptions/index.jsx function PrivateModeOptions (line 7) | function PrivateModeOptions({ settings }) { FILE: frontend/src/components/LLMSelection/SambaNovaOptions/index.jsx function SambaNovaOptions (line 4) | function SambaNovaOptions({ settings }) { function SambaNovaModelSelection (line 34) | function SambaNovaModelSelection({ settings, apiKey }) { FILE: frontend/src/components/LLMSelection/TextGenWebUIOptions/index.jsx function TextGenWebUIOptions (line 1) | function TextGenWebUIOptions({ settings }) { FILE: frontend/src/components/LLMSelection/TogetherAiOptions/index.jsx function TogetherAiOptions (line 4) | function TogetherAiOptions({ settings }) { function TogetherAiModelSelection (line 34) | function TogetherAiModelSelection({ settings, apiKey }) { FILE: frontend/src/components/LLMSelection/XAiLLMOptions/index.jsx function XAILLMOptions (line 4) | function XAILLMOptions({ settings }) { function XAIModelSelection (line 35) | function XAIModelSelection({ apiKey, settings }) { FILE: frontend/src/components/LLMSelection/ZAiLLMOptions/index.jsx function ZAiLLMOptions (line 4) | function ZAiLLMOptions({ settings }) { function ZAiModelSelection (line 35) | function ZAiModelSelection({ apiKey, settings }) { FILE: frontend/src/components/ModalWrapper/index.jsx function ModalWrapper (line 18) | function ModalWrapper({ children, isOpen, noPortal = false }) { FILE: frontend/src/components/Modals/DisplayRecoveryCodeModal/index.jsx function RecoveryCodeModal (line 7) | function RecoveryCodeModal({ FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/ConnectorOption/index.jsx function ConnectorOption (line 1) | function ConnectorOption({ FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Confluence/index.jsx function ConfluenceOptions (line 9) | function ConfluenceOptions() { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/DrupalWiki/index.jsx function DrupalWikiOptions (line 14) | function DrupalWikiOptions() { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Github/index.jsx constant DEFAULT_BRANCHES (line 10) | const DEFAULT_BRANCHES = ["main", "master"]; function GithubOptions (line 11) | function GithubOptions() { function GitHubBranchSelection (line 172) | function GitHubBranchSelection({ repo, accessToken }) { function PATAlert (line 243) | function PATAlert({ accessToken }) { function PATTooltip (line 274) | function PATTooltip({ accessToken }) { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Gitlab/index.jsx constant DEFAULT_BRANCHES (line 11) | const DEFAULT_BRANCHES = ["main", "master"]; function GitlabOptions (line 12) | function GitlabOptions() { function GitLabBranchSelection (line 198) | function GitLabBranchSelection({ repo, accessToken }) { function PATAlert (line 271) | function PATAlert({ accessToken }) { function PATTooltip (line 301) | function PATTooltip({ accessToken }) { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Obsidian/index.jsx function ObsidianOptions (line 7) | function ObsidianOptions() { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/PaperlessNgx/index.jsx function PaperlessNgxOptions (line 6) | function PaperlessNgxOptions() { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/WebsiteDepth/index.jsx function WebsiteDepthOptions (line 7) | function WebsiteDepthOptions() { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/Connectors/Youtube/index.jsx function YoutubeOptions (line 6) | function YoutubeOptions() { FILE: frontend/src/components/Modals/ManageWorkspace/DataConnectors/index.jsx function DataConnectors (line 66) | function DataConnectors() { FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/ContextMenu/index.jsx function ContextMenu (line 3) | function ContextMenu({ FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/FileRow/index.jsx function FileRow (line 9) | function FileRow({ item, selected, toggleSelection }) { FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/FolderRow/index.jsx function FolderRow (line 6) | function FolderRow({ FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/FolderSelectionPopup/index.jsx function FolderSelectionPopup (line 3) | function FolderSelectionPopup({ folders, onSelect, onClose }) { FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/MoveToFolderIcon.jsx function MoveToFolderIcon (line 1) | function MoveToFolderIcon({ FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/NewFolderModal/index.jsx function NewFolderModal (line 5) | function NewFolderModal({ closeModal, files, setFiles }) { FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/index.jsx function Directory (line 20) | function Directory({ function DirectoryTooltips (line 359) | function DirectoryTooltips() { FILE: frontend/src/components/Modals/ManageWorkspace/Documents/Directory/utils.js constant LEVENSHTEIN_MIN (line 3) | const LEVENSHTEIN_MIN = 2; function filterFileSearchResults (line 18) | function filterFileSearchResults(files = [], searchTerm = "") { FILE: frontend/src/components/Modals/ManageWorkspace/Documents/UploadFile/FileUploadProgress/index.jsx function FileUploadProgressComponent (line 8) | function FileUploadProgressComponent({ FILE: frontend/src/components/Modals/ManageWorkspace/Documents/UploadFile/index.jsx function UploadFile (line 12) | function UploadFile({ FILE: frontend/src/components/Modals/ManageWorkspace/Documents/WorkspaceDirectory/WorkspaceFileRow/index.jsx function WorkspaceFileRow (line 12) | function WorkspaceFileRow({ FILE: frontend/src/components/Modals/ManageWorkspace/Documents/WorkspaceDirectory/index.jsx function WorkspaceDirectory (line 15) | function WorkspaceDirectory({ function dismissAlert (line 270) | function dismissAlert() { function handlePinEvent (line 276) | function handlePinEvent() { function dismissAlert (line 335) | function dismissAlert() { function handlePinEvent (line 341) | function handlePinEvent() { function RenderFileRows (line 400) | function RenderFileRows({ files, movedItems, children, workspace }) { function WorkspaceDocumentTooltips (line 429) | function WorkspaceDocumentTooltips() { FILE: frontend/src/components/Modals/ManageWorkspace/Documents/index.jsx constant MODEL_COSTS (line 12) | const MODEL_COSTS = { function DocumentSettings (line 18) | function DocumentSettings({ workspace, systemSettings }) { FILE: frontend/src/components/Modals/ManageWorkspace/index.jsx function getSettings (line 23) | async function getSettings() { function fetchWorkspace (line 31) | async function fetchWorkspace() { function useManageWorkspaceModal (line 147) | function useManageWorkspaceModal() { FILE: frontend/src/components/Modals/NewWorkspace.jsx function NewWorkspaceModal (line 9) | function NewWorkspaceModal({ hideModal = noop }) { function useNewWorkspaceModal (line 88) | function useNewWorkspaceModal() { FILE: frontend/src/components/Modals/Password/MultiUserAuth.jsx function MultiUserAuth (line 173) | function MultiUserAuth() { FILE: frontend/src/components/Modals/Password/SingleUserAuth.jsx function SingleUserAuth (line 10) | function SingleUserAuth() { FILE: frontend/src/components/Modals/Password/index.jsx function PasswordModal (line 12) | function PasswordModal({ mode = "single" }) { function usePasswordModal (line 27) | function usePasswordModal(notry = false) { FILE: frontend/src/components/Preloader.jsx function PreLoader (line 1) | function PreLoader({ size = "16" }) { function FullScreenLoader (line 9) | function FullScreenLoader() { FILE: frontend/src/components/PrivateRoute/index.jsx function useIsAuthenticated (line 14) | function useIsAuthenticated() { function AdminRoute (line 79) | function AdminRoute({ Component, hideUserMenu = false }) { function ManagerRoute (line 108) | function ManagerRoute({ Component }) { function PrivateRoute (line 129) | function PrivateRoute({ Component }) { FILE: frontend/src/components/ProviderPrivacy/constants.js constant LLM_PROVIDER_PRIVACY_MAP (line 49) | const LLM_PROVIDER_PRIVACY_MAP = { constant VECTOR_DB_PROVIDER_PRIVACY_MAP (line 257) | const VECTOR_DB_PROVIDER_PRIVACY_MAP = { constant EMBEDDING_ENGINE_PROVIDER_PRIVACY_MAP (line 320) | const EMBEDDING_ENGINE_PROVIDER_PRIVACY_MAP = { constant PROVIDER_PRIVACY_MAP (line 407) | const PROVIDER_PRIVACY_MAP = { FILE: frontend/src/components/ProviderPrivacy/index.jsx function defaultProvider (line 9) | function defaultProvider(providerString) { function ProviderPrivacy (line 21) | function ProviderPrivacy() { function ProviderPrivacyItem (line 74) | function ProviderPrivacyItem({ title, provider, altText }) { FILE: frontend/src/components/SettingsButton/index.jsx function SettingsButton (line 7) | function SettingsButton() { FILE: frontend/src/components/SettingsSidebar/MenuOption/index.jsx function MenuOption (line 7) | function MenuOption({ function useIsExpanded (line 132) | function useIsExpanded({ function hasVisibleOptions (line 173) | function hasVisibleOptions(user = null, childOptions = []) { function generateStorageKey (line 193) | function generateStorageKey({ key = "" }) { FILE: frontend/src/components/SettingsSidebar/index.jsx function SettingsSidebar (line 27) | function SettingsSidebar() { function SupportEmail (line 188) | function SupportEmail() { function HoldToReveal (line 434) | function HoldToReveal({ children, holdForMs = 3_000 }) { function AppVersion (line 483) | function AppVersion() { FILE: frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/ThreadItem/index.jsx constant THREAD_CALLOUT_DETAIL_WIDTH (line 15) | const THREAD_CALLOUT_DETAIL_WIDTH = 26; function ThreadItem (line 16) | function ThreadItem({ function OptionsMenu (line 168) | function OptionsMenu({ FILE: frontend/src/components/Sidebar/ActiveWorkspaces/ThreadContainer/index.jsx constant THREAD_RENAME_EVENT (line 8) | const THREAD_RENAME_EVENT = "renameThread"; function ThreadContainer (line 10) | function ThreadContainer({ function NewThreadButton (line 175) | function NewThreadButton({ workspace }) { function DeleteAllThreadButton (line 226) | function DeleteAllThreadButton({ ctrlPressed, threads, onDelete }) { FILE: frontend/src/components/Sidebar/ActiveWorkspaces/index.jsx function ActiveWorkspaces (line 18) | function ActiveWorkspaces() { FILE: frontend/src/components/Sidebar/SearchBox/index.jsx constant DEFAULT_SEARCH_RESULTS (line 11) | const DEFAULT_SEARCH_RESULTS = { constant SEARCH_RESULT_SELECTED (line 16) | const SEARCH_RESULT_SELECTED = "search-result-selected"; function SearchBox (line 17) | function SearchBox({ user, showNewWsModal }) { function SearchResultWrapper (line 86) | function SearchResultWrapper({ children }) { function SearchResults (line 94) | function SearchResults({ searchResults, searchTerm, loading }) { function SearchResultCategory (line 150) | function SearchResultCategory({ items, name }) { function SearchResultItem (line 171) | function SearchResultItem({ to, name, hint }) { function ShortWidthNewWorkspaceButton (line 191) | function ShortWidthNewWorkspaceButton({ user, showNewWsModal }) { FILE: frontend/src/components/Sidebar/SidebarToggle/index.jsx constant SIDEBAR_TOGGLE_STORAGE_KEY (line 5) | const SIDEBAR_TOGGLE_STORAGE_KEY = "anythingllm_sidebar_toggle"; constant SIDEBAR_TOGGLE_EVENT (line 6) | const SIDEBAR_TOGGLE_EVENT = "sidebar-toggle"; function previousSidebarState (line 15) | function previousSidebarState() { function useSidebarToggle (line 21) | function useSidebarToggle() { function ToggleSidebarButton (line 76) | function ToggleSidebarButton({ showSidebar, setShowSidebar }) { FILE: frontend/src/components/Sidebar/index.jsx function Sidebar (line 19) | function Sidebar() { function SidebarMobileHeader (line 83) | function SidebarMobileHeader() { function NewWorkspaceButton (line 191) | function NewWorkspaceButton({ user, showNewWsModal }) { function WorkspaceAndThreadTooltips (line 210) | function WorkspaceAndThreadTooltips() { FILE: frontend/src/components/SpeechToText/BrowserNative/index.jsx function BrowserNative (line 1) | function BrowserNative() { FILE: frontend/src/components/TextToSpeech/BrowserNative/index.jsx function BrowserNative (line 1) | function BrowserNative() { FILE: frontend/src/components/TextToSpeech/ElevenLabsOptions/index.jsx function ElevenLabsOptions (line 4) | function ElevenLabsOptions({ settings }) { function ElevenLabsModelSelection (line 36) | function ElevenLabsModelSelection({ apiKey, settings }) { FILE: frontend/src/components/TextToSpeech/OpenAiGenericOptions/index.jsx function OpenAiGenericTextToSpeechOptions (line 3) | function OpenAiGenericTextToSpeechOptions({ settings }) { FILE: frontend/src/components/TextToSpeech/OpenAiOptions/index.jsx function toProperCase (line 1) | function toProperCase(string) { function OpenAiTextToSpeechOptions (line 7) | function OpenAiTextToSpeechOptions({ settings }) { FILE: frontend/src/components/TextToSpeech/PiperTTSOptions/index.jsx function PiperTTSOptions (line 8) | function PiperTTSOptions({ settings }) { function voicesByLanguage (line 22) | function voicesByLanguage(voices = []) { function voiceDisplayName (line 32) | function voiceDisplayName(voice) { function PiperTTSModelSelection (line 39) | function PiperTTSModelSelection({ settings }) { function DemoVoiceSample (line 134) | function DemoVoiceSample({ voiceId }) { FILE: frontend/src/components/TranscriptionSelection/NativeTranscriptionOptions/index.jsx function NativeTranscriptionOptions (line 5) | function NativeTranscriptionOptions({ settings }) { function LocalWarning (line 39) | function LocalWarning({ model }) { function WhisperSmall (line 50) | function WhisperSmall() { function WhisperLarge (line 70) | function WhisperLarge() { FILE: frontend/src/components/TranscriptionSelection/OpenAiOptions/index.jsx function OpenAiWhisperOptions (line 3) | function OpenAiWhisperOptions({ settings }) { FILE: frontend/src/components/UserIcon/index.jsx function RenderUserPfp (line 23) | function RenderUserPfp({ pfp }) { FILE: frontend/src/components/UserMenu/AccountModal/index.jsx function AccountModal (line 21) | function AccountModal({ user, hideModal }) { function LanguagePreference (line 228) | function LanguagePreference() { function ThemePreference (line 262) | function ThemePreference() { function AutoSubmitPreference (line 289) | function AutoSubmitPreference() { function AutoSpeakPreference (line 331) | function AutoSpeakPreference() { FILE: frontend/src/components/UserMenu/UserButton/index.jsx function UserButton (line 19) | function UserButton() { function UserDisplay (line 122) | function UserDisplay() { FILE: frontend/src/components/UserMenu/index.jsx function UserMenu (line 3) | function UserMenu({ children }) { FILE: frontend/src/components/VectorDBSelection/AstraDBOptions/index.jsx function AstraDBOptions (line 1) | function AstraDBOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/ChromaCloudOptions/index.jsx function ChromaCloudOptions (line 1) | function ChromaCloudOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/ChromaDBOptions/index.jsx function ChromaDBOptions (line 1) | function ChromaDBOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/LanceDBOptions/index.jsx function LanceDBOptions (line 2) | function LanceDBOptions() { FILE: frontend/src/components/VectorDBSelection/MilvusDBOptions/index.jsx function MilvusDBOptions (line 1) | function MilvusDBOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/PGVectorOptions/index.jsx function PGVectorOptions (line 4) | function PGVectorOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/PineconeDBOptions/index.jsx function PineconeDBOptions (line 1) | function PineconeDBOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/QDrantDBOptions/index.jsx function QDrantDBOptions (line 1) | function QDrantDBOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/VectorDBItem/index.jsx function VectorDBItem (line 1) | function VectorDBItem({ FILE: frontend/src/components/VectorDBSelection/WeaviateDBOptions/index.jsx function WeaviateDBOptions (line 1) | function WeaviateDBOptions({ settings }) { FILE: frontend/src/components/VectorDBSelection/ZillizCloudOptions/index.jsx function ZillizCloudOptions (line 1) | function ZillizCloudOptions({ settings }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Chartable/CustomCell.jsx function CustomCell (line 1) | function CustomCell({ ...props }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Chartable/CustomTooltip.jsx function invertColor (line 6) | function invertColor(hex, bw) { function padZero (line 33) | function padZero(str, len) { function Tooltip (line 39) | function Tooltip({ legendColor, ...props }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Chartable/chart-utils.js function getTremorColor (line 26) | function getTremorColor(color) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Chartable/index.jsx function Chartable (line 43) | function Chartable({ props }) { function DownloadGraph (line 450) | function DownloadGraph({ onClick }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/Citation/index.jsx constant CIRCLE_ICONS (line 19) | const CIRCLE_ICONS = { function SourceTypeCircle (line 38) | function SourceTypeCircle({ function combineLikeSources (line 81) | function combineLikeSources(sources) { function Citations (line 99) | function Citations({ sources = [] }) { function omitChunkHeader (line 161) | function omitChunkHeader(text) { function CitationDetailModal (line 166) | function CitationDetailModal({ source, onClose }) { function parseChunkSource (line 275) | function parseChunkSource({ title = "", chunks = [] }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/ActionMenu/index.jsx function ActionMenu (line 5) | function ActionMenu({ chatId, forkThread, isEditing, role }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/DeleteMessage/index.jsx constant DELETE_EVENT (line 5) | const DELETE_EVENT = "delete-message"; function useWatchDeleteMessage (line 7) | function useWatchDeleteMessage({ chatId = null, role = "user" }) { function DeleteMessage (line 41) | function DeleteMessage({ chatId, isEditing, role }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/EditMessage/index.jsx constant EDIT_EVENT (line 6) | const EDIT_EVENT = "toggle-message-edit"; function useEditMessage (line 8) | function useEditMessage({ chatId, role }) { function EditMessageAction (line 33) | function EditMessageAction({ chatId = null, role, isEditing }) { function EditMessageForm (line 65) | function EditMessageForm({ function EditActionBar (line 152) | function EditActionBar({ onCancel, onSave, isUserMessage = false }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/RenderMetrics/index.jsx constant SHOW_METRICS_KEY (line 6) | const SHOW_METRICS_KEY = "anythingllm_show_chat_metrics"; constant SHOW_METRICS_EVENT (line 7) | const SHOW_METRICS_EVENT = "anythingllm_show_metrics_change"; function formatDuration (line 13) | function formatDuration(duration) { function formatTps (line 28) | function formatTps(outputTps) { function getAutoShowMetrics (line 42) | function getAutoShowMetrics() { function buildMetricsString (line 54) | function buildMetricsString(metrics = {}) { function toggleAutoShowMetrics (line 70) | function toggleAutoShowMetrics() { function MetricsProvider (line 87) | function MetricsProvider({ children }) { function RenderMetrics (line 116) | function RenderMetrics({ metrics = {} }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/TTSButton/asyncTts.jsx function AsyncTTSMessage (line 7) | function AsyncTTSMessage({ slug, chatId }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/TTSButton/index.jsx function WrapTTS (line 6) | function WrapTTS({ children }) { function TTSMessage (line 10) | function TTSMessage({ slug, chatId, message }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/TTSButton/native.jsx function NativeTTSMessage (line 4) | function NativeTTSMessage({ chatId, message }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/TTSButton/piperTTS.jsx function PiperTTS (line 5) | function PiperTTS({ chatId, voiceId = null, message }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/Actions/index.jsx function FeedbackButton (line 76) | function FeedbackButton({ function CopyMessage (line 101) | function CopyMessage({ message }) { function RegenerateMessage (line 126) | function RegenerateMessage({ regenerateMessage, chatId }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/HistoricalMessage/index.jsx function ChatAttachments (line 205) | function ChatAttachments({ attachments = [] }) { function TruncatableContent (line 221) | function TruncatableContent({ children }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/PromptReply/index.jsx function RenderAssistantChatContent (line 55) | function RenderAssistantChatContent({ message, messageId }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/StatusResponse/index.jsx function StatusResponse (line 7) | function StatusResponse({ messages = [], isThinking = false }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/ThoughtContainer/index.jsx function ThoughtExpansionProvider (line 23) | function ThoughtExpansionProvider({ children }) { function useThoughtExpansion (line 49) | function useThoughtExpansion(messageId) { constant THOUGHT_KEYWORDS (line 61) | const THOUGHT_KEYWORDS = ["thought", "thinking", "think", "thought_chain"]; constant CLOSING_TAGS (line 62) | const CLOSING_TAGS = [...THOUGHT_KEYWORDS, "response", "answer"]; constant THOUGHT_REGEX_OPEN (line 63) | const THOUGHT_REGEX_OPEN = new RegExp( constant THOUGHT_REGEX_CLOSE (line 66) | const THOUGHT_REGEX_CLOSE = new RegExp( constant THOUGHT_REGEX_COMPLETE (line 69) | const THOUGHT_REGEX_COMPLETE = new RegExp( constant THOUGHT_PREVIEW_LENGTH (line 75) | const THOUGHT_PREVIEW_LENGTH = isMobile ? 25 : 50; function contentIsNotEmpty (line 82) | function contentIsNotEmpty(content = "") { function handleExpandClick (line 138) | function handleExpandClick() { FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatHistory/index.jsx function buildMessages (line 267) | function buildMessages({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/ChatTooltips/index.jsx function ChatTooltips (line 19) | function ChatTooltips() { function DocumentLevelTooltip (line 120) | function DocumentLevelTooltip() { FILE: frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/FileUploadWarningModal/index.jsx function FileUploadWarningModal (line 10) | function FileUploadWarningModal({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/DnDWrapper/index.jsx constant REMOVE_ATTACHMENT_EVENT (line 12) | const REMOVE_ATTACHMENT_EVENT = "ATTACHMENT_REMOVE"; constant CLEAR_ATTACHMENTS_EVENT (line 13) | const CLEAR_ATTACHMENTS_EVENT = "ATTACHMENT_CLEAR"; constant PASTE_ATTACHMENT_EVENT (line 14) | const PASTE_ATTACHMENT_EVENT = "ATTACHMENT_PASTED"; constant ATTACHMENTS_PROCESSING_EVENT (line 15) | const ATTACHMENTS_PROCESSING_EVENT = "ATTACHMENTS_PROCESSING"; constant ATTACHMENTS_PROCESSED_EVENT (line 16) | const ATTACHMENTS_PROCESSED_EVENT = "ATTACHMENTS_PROCESSED"; constant PARSED_FILE_ATTACHMENT_REMOVED_EVENT (line 17) | const PARSED_FILE_ATTACHMENT_REMOVED_EVENT = function DnDFileUploaderProvider (line 43) | function DnDFileUploaderProvider({ function DnDFileUploaderWrapper (line 421) | function DnDFileUploaderWrapper({ children }) { function toBase64 (line 469) | async function toBase64(file) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AgentMenu/index.jsx function AvailableAgentsButton (line 8) | function AvailableAgentsButton({ showing, setShowAgents }) { function AvailableAgents (line 37) | function AvailableAgents({ function useAvailableAgents (line 113) | function useAvailableAgents() { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AttachItem/ParsedFilesMenu/index.jsx function ParsedFilesMenu (line 10) | function ParsedFilesMenu({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/AttachItem/index.jsx function AttachItem (line 18) | function AttachItem({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/Attachments/index.jsx function AttachmentManager (line 19) | function AttachmentManager({ attachments }) { function AttachmentItem (line 33) | function AttachmentItem({ attachment }) { function displayFromFile (line 198) | function displayFromFile(file) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/ChatModelSelection/index.jsx function ChatModelSelection (line 5) | function ChatModelSelection({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/LLMSelector/index.jsx function LLMSelectorSidePanel (line 4) | function LLMSelectorSidePanel({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/SetupProvider/index.jsx function SetupProvider (line 8) | function SetupProvider({ function NoSetupWarning (line 91) | function NoSetupWarning({ showing, onSetupClick }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/action.jsx constant TOGGLE_LLM_SELECTOR_EVENT (line 11) | const TOGGLE_LLM_SELECTOR_EVENT = "toggle_llm_selector"; constant SAVE_LLM_SELECTOR_EVENT (line 12) | const SAVE_LLM_SELECTOR_EVENT = "save_llm_selector"; constant PROVIDER_SETUP_EVENT (line 13) | const PROVIDER_SETUP_EVENT = "provider_setup_requested"; function LLMSelectorAction (line 15) | function LLMSelectorAction({ workspaceSlug = null }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/index.jsx function LLMSelectorModal (line 19) | function LLMSelectorModal({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/LLMSelector/utils.js function autoScrollToSelectedLLMProvider (line 4) | function autoScrollToSelectedLLMProvider( function validatedModelSelection (line 26) | function validatedModelSelection(model) { function hasMissingCredentials (line 46) | function hasMissingCredentials(settings, provider) { constant WORKSPACE_LLM_PROVIDERS (line 60) | const WORKSPACE_LLM_PROVIDERS = AVAILABLE_LLM_PROVIDERS.filter( FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SpeechToText/index.jsx constant SILENCE_INTERVAL (line 13) | const SILENCE_INTERVAL = 3_200; function SpeechToText (line 21) | function SpeechToText({ sendCommand }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/StopGenerationButton/index.jsx function StopGenerationButton (line 5) | function StopGenerationButton() { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/TextSizeMenu/index.jsx function TextSizeButton (line 7) | function TextSizeButton() { function TextSizeMenu (line 55) | function TextSizeMenu({ tooltipRef }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/SkillRow/index.jsx function SkillRow (line 3) | function SkillRow({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/AgentSkills/index.jsx function AgentSkillsTab (line 17) | function AgentSkillsTab({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashCommandRow/index.jsx function SlashCommandRow (line 6) | function SlashCommandRow({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/AddPresetModal.jsx function AddPresetModal (line 7) | function AddPresetModal({ isOpen, onClose, onSave }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/EditPresetModal.jsx function EditPresetModal (line 6) | function EditPresetModal({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/SlashPresets/constants.js constant CMD_REGEX (line 1) | const CMD_REGEX = /[^a-zA-Z0-9_-]/g; FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/Tabs/SlashCommands/index.jsx function SlashCommandsTab (line 15) | function SlashCommandsTab({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/index.jsx constant TOOLS_MENU_KEYBOARD_EVENT (line 7) | const TOOLS_MENU_KEYBOARD_EVENT = "tools-menu-keyboard"; function getTabs (line 8) | function getTabs(t, user) { function ToolsMenu (line 39) | function ToolsMenu({ function TabButton (line 160) | function TabButton({ active, onClick, children }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/ToolsMenu/useToolsMenuItems.js function useToolsMenuItems (line 12) | function useToolsMenuItems({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx constant PROMPT_INPUT_ID (line 22) | const PROMPT_INPUT_ID = "primary-prompt-input"; constant PROMPT_INPUT_EVENT (line 23) | const PROMPT_INPUT_EVENT = "set_prompt_input"; constant MAX_EDIT_STACK_SIZE (line 24) | const MAX_EDIT_STACK_SIZE = 100; function PromptInput (line 36) | function PromptInput({ function AgentSessionButton (line 409) | function AgentSessionButton({ function ToolsButton (line 452) | function ToolsButton({ function SendPromptButton (line 488) | function SendPromptButton({ formRef, promptInput, isDisabled }) { function useIsDisabled (line 530) | function useIsDisabled() { FILE: frontend/src/components/WorkspaceChat/ChatContainer/SourcesSidebar/MobileCitationModal/SourceDetailView/index.jsx function SourceDetailView (line 9) | function SourceDetailView({ source, onBack, onClose }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/SourcesSidebar/MobileCitationModal/index.jsx function MobileCitationModal (line 8) | function MobileCitationModal({ FILE: frontend/src/components/WorkspaceChat/ChatContainer/SourcesSidebar/SourceItem/index.jsx function SourceItem (line 4) | function SourceItem({ source, onClick }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/SourcesSidebar/index.jsx function SourcesSidebarProvider (line 14) | function SourcesSidebarProvider({ children }) { function useSourcesSidebar (line 36) | function useSourcesSidebar() { function SourcesSidebar (line 40) | function SourcesSidebar() { FILE: frontend/src/components/WorkspaceChat/ChatContainer/TextSizeMenu/index.jsx function getTextSizes (line 6) | function getTextSizes(t) { function TextSizeMenu (line 14) | function TextSizeMenu() { FILE: frontend/src/components/WorkspaceChat/ChatContainer/WorkspaceModelPicker/index.jsx function fetchModelName (line 16) | function fetchModelName(slug, setModelName) { function WorkspaceModelPicker (line 26) | function WorkspaceModelPicker({ workspaceSlug = null }) { FILE: frontend/src/components/WorkspaceChat/ChatContainer/index.jsx function ChatContainer (line 38) | function ChatContainer({ workspace, knownHistory = [] }) { FILE: frontend/src/components/WorkspaceChat/LoadingChat/index.jsx function LoadingChat (line 5) | function LoadingChat() { FILE: frontend/src/components/WorkspaceChat/index.jsx function WorkspaceChat (line 16) | function WorkspaceChat({ loading, workspace }) { function copyCodeSnippet (line 101) | function copyCodeSnippet(uuid) { function setEventDelegatorForCodeSnippets (line 124) | function setEventDelegatorForCodeSnippets() { FILE: frontend/src/components/contexts/TTSProvider.jsx constant ASSISTANT_MESSAGE_COMPLETE_EVENT (line 5) | const ASSISTANT_MESSAGE_COMPLETE_EVENT = "ASSISTANT_MESSAGE_COMPLETE_EVE... function TTSProvider (line 19) | function TTSProvider({ children }) { function useTTSProvider (line 53) | function useTTSProvider() { function emitAssistantMessageCompleteEvent (line 68) | function emitAssistantMessageCompleteEvent(chatId) { function useWatchForAutoPlayAssistantTTSResponse (line 82) | function useWatchForAutoPlayAssistantTTSResponse() { FILE: frontend/src/components/lib/CTAButton/index.jsx function CTAButton (line 1) | function CTAButton({ FILE: frontend/src/components/lib/ModelTable/index.jsx function ModelTable (line 36) | function ModelTable({ function DeviceTypeTagWrapper (line 107) | function DeviceTypeTagWrapper({ text, bgClass, textClass }) { function DeviceTypeTag (line 124) | function DeviceTypeTag({ deviceType }) { function ModelRow (line 172) | function ModelRow({ function RenderStatus (line 333) | function RenderStatus({ model, isActiveModel }) { FILE: frontend/src/components/lib/ModelTable/layout.jsx function ModelTableLayout (line 8) | function ModelTableLayout({ FILE: frontend/src/components/lib/ModelTable/loading.jsx function ModelTableLoadingSkeleton (line 4) | function ModelTableLoadingSkeleton() { FILE: frontend/src/components/lib/MonoProviderIcon/index.jsx function findIconByModelName (line 77) | function findIconByModelName(modelName) { function MonoProviderIcon (line 92) | function MonoProviderIcon({ FILE: frontend/src/components/lib/QuickActions/index.jsx function QuickActions (line 12) | function QuickActions({ function QuickActionButton (line 46) | function QuickActionButton({ label, onClick, show = true }) { FILE: frontend/src/components/lib/SuggestedMessages/index.jsx function SuggestedMessages (line 1) | function SuggestedMessages({ FILE: frontend/src/components/lib/Toggle/index.jsx constant TOGGLE_STYLES (line 3) | const TOGGLE_STYLES = { constant LABEL_STYLES (line 9) | const LABEL_STYLES = { function Toggle (line 41) | function Toggle({ function ToggleSwitch (line 110) | function ToggleSwitch({ name, disabled, size, inputProps, value }) { function TextContent (line 136) | function TextContent({ label, description, labelStyles = {}, hint }) { function SimpleToggleSwitch (line 168) | function SimpleToggleSwitch({ FILE: frontend/src/hooks/useAppVersion.js function useAppVersion (line 10) | function useAppVersion() { FILE: frontend/src/hooks/useChatContainerQuickScroll.js function useChatContainerQuickScroll (line 8) | function useChatContainerQuickScroll() { FILE: frontend/src/hooks/useChatHistoryScrollHandle.js function useChatHistoryScrollHandle (line 14) | function useChatHistoryScrollHandle( FILE: frontend/src/hooks/useCommunityHubAuth.js function useCommunityHubAuth (line 9) | function useCommunityHubAuth() { FILE: frontend/src/hooks/useCopyText.js function useCopyText (line 4) | function useCopyText(delay = 2500) { FILE: frontend/src/hooks/useGetProvidersModels.js constant DISABLED_PROVIDERS (line 5) | const DISABLED_PROVIDERS = [ constant PROVIDER_DEFAULT_MODELS (line 11) | const PROVIDER_DEFAULT_MODELS = { function groupModels (line 40) | function groupModels(models) { function useGetProviderModels (line 58) | function useGetProviderModels(provider = null) { FILE: frontend/src/hooks/useLanguageOptions.js function useLanguageOptions (line 4) | function useLanguageOptions() { FILE: frontend/src/hooks/useLoginMode.js function useLoginMode (line 4) | function useLoginMode() { FILE: frontend/src/hooks/useLogo.js function useLogo (line 4) | function useLogo() { FILE: frontend/src/hooks/useModal.js function useModal (line 3) | function useModal() { FILE: frontend/src/hooks/useOnboardingComplete.js function useRedirectToHomeOnOnboardingComplete (line 6) | function useRedirectToHomeOnOnboardingComplete() { FILE: frontend/src/hooks/usePfp.js function usePfp (line 4) | function usePfp() { FILE: frontend/src/hooks/usePrefersDarkMode.js function usePrefersDarkMode (line 1) | function usePrefersDarkMode() { FILE: frontend/src/hooks/usePromptInputStorage.js function clearPromptInputDraft (line 33) | function clearPromptInputDraft(storageKey) { function usePromptInputStorage (line 41) | function usePromptInputStorage({ promptInput, setPromptInput }) { FILE: frontend/src/hooks/useProviderEndpointAutoDiscovery.js function useProviderEndpointAutoDiscovery (line 4) | function useProviderEndpointAutoDiscovery({ FILE: frontend/src/hooks/useQuery.js function useQuery (line 1) | function useQuery() { FILE: frontend/src/hooks/useScrollActiveItemIntoView.js function useScrollActiveItemIntoView (line 11) | function useScrollActiveItemIntoView({ FILE: frontend/src/hooks/useSimpleSSO.js function useSimpleSSO (line 8) | function useSimpleSSO() { FILE: frontend/src/hooks/useTextSize.js function useTextSize (line 3) | function useTextSize() { FILE: frontend/src/hooks/useTheme.js function useTheme (line 15) | function useTheme() { FILE: frontend/src/hooks/useUser.js function useUser (line 14) | function useUser() { FILE: frontend/src/hooks/useWebPushNotifications.js constant PUSH_PUBKEY_URL (line 5) | const PUSH_PUBKEY_URL = `${API_BASE}/web-push/pubkey`; constant PUSH_USER_SUBSCRIBE_URL (line 6) | const PUSH_USER_SUBSCRIBE_URL = `${API_BASE}/web-push/subscribe`; constant SW_VERSION (line 12) | const SW_VERSION = "1.0.0"; function log (line 14) | function log(message, ...args) { function subscribeToPushNotifications (line 24) | async function subscribeToPushNotifications() { function useWebPushNotifications (line 110) | function useWebPushNotifications() { function urlBase64ToUint8Array (line 116) | function urlBase64ToUint8Array(base64String) { FILE: frontend/src/locales/ar/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/cs/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/da/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/de/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/dynamicKeyAllowlist.js constant DYNAMIC_KEY_ALLOWLIST (line 6) | const DYNAMIC_KEY_ALLOWLIST = [ FILE: frontend/src/locales/en/common.js constant TRANSLATIONS (line 1) | const TRANSLATIONS = { FILE: frontend/src/locales/es/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/et/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/fa/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/findUnusedTranslations.mjs constant FRONTEND_SRC (line 16) | const FRONTEND_SRC = path.resolve(__dirname, ".."); function extractKeys (line 22) | function extractKeys(obj, prefix = "") { function collectFiles (line 40) | function collectFiles(dir, results = []) { constant PLURAL_SUFFIXES (line 103) | const PLURAL_SUFFIXES = ["_zero", "_one", "_two", "_few", "_many", "_oth... function isPluralFormOfReferencedKey (line 105) | function isPluralFormOfReferencedKey(key) { function deleteKey (line 145) | function deleteKey(obj, dotPath) { function pruneEmptyObjects (line 155) | function pruneEmptyObjects(obj) { FILE: frontend/src/locales/fr/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/he/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/it/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/ja/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/ko/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/lv/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/nl/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/normalizeEn.mjs function langDisplayName (line 11) | function langDisplayName(lang) { function compareStructures (line 15) | function compareStructures(lang, a, b, subdir = null) { function normalizeTranslations (line 79) | function normalizeTranslations(lang, source, target, _subdir = null) { function ISOToFilename (line 106) | function ISOToFilename(lang) { constant TRANSLATIONS (line 116) | const TRANSLATIONS = {}; constant PRIMARY (line 121) | const PRIMARY = { ...TRANSLATIONS["en"] }; FILE: frontend/src/locales/pl/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/pt_BR/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/ro/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/ru/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/tr/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/verifyTranslations.mjs function langDisplayName (line 7) | function langDisplayName(lang) { function compareStructures (line 11) | function compareStructures(lang, a, b, subdir = null) { constant TRANSLATIONS (line 76) | const TRANSLATIONS = {}; constant PRIMARY (line 79) | const PRIMARY = { ...TRANSLATIONS["en"] }; FILE: frontend/src/locales/vn/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/zh/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/locales/zh_TW/common.js constant TRANSLATIONS (line 2) | const TRANSLATIONS = { FILE: frontend/src/main.jsx constant REACTWRAP (line 15) | const REACTWRAP = isDev ? React.Fragment : React.StrictMode; FILE: frontend/src/models/workspace.js method onopen (line 152) | async onopen(response) { method onmessage (line 183) | async onmessage(msg) { method onerror (line 187) | onerror(err) { FILE: frontend/src/models/workspaceThread.js method onopen (line 115) | async onopen(response) { method onmessage (line 146) | async onmessage(msg) { method onerror (line 150) | onerror(err) { FILE: frontend/src/pages/404.jsx function NotFound (line 4) | function NotFound() { FILE: frontend/src/pages/Admin/AgentBuilder/AddBlockMenu/index.jsx function checkIfCanAddBlock (line 11) | function checkIfCanAddBlock(blocks) { function AddBlockMenu (line 20) | function AddBlockMenu({ FILE: frontend/src/pages/Admin/AgentBuilder/BlockList/index.jsx constant BLOCK_TYPES (line 25) | const BLOCK_TYPES = { constant BLOCK_INFO (line 37) | const BLOCK_INFO = { function BlockList (line 148) | function BlockList({ FILE: frontend/src/pages/Admin/AgentBuilder/HeaderMenu/index.jsx function HeaderMenu (line 8) | function HeaderMenu({ FILE: frontend/src/pages/Admin/AgentBuilder/index.jsx constant DEFAULT_BLOCKS (line 14) | const DEFAULT_BLOCKS = [ function AgentBuilder (line 40) | function AgentBuilder() { FILE: frontend/src/pages/Admin/AgentBuilder/nodes/ApiCallNode/index.jsx function ApiCallNode (line 5) | function ApiCallNode({ FILE: frontend/src/pages/Admin/AgentBuilder/nodes/CodeNode/index.jsx function CodeNode (line 3) | function CodeNode({ FILE: frontend/src/pages/Admin/AgentBuilder/nodes/FileNode/index.jsx function FileNode (line 3) | function FileNode({ FILE: frontend/src/pages/Admin/AgentBuilder/nodes/FinishNode/index.jsx function FinishNode (line 3) | function FinishNode() { FILE: frontend/src/pages/Admin/AgentBuilder/nodes/LLMInstructionNode/index.jsx function LLMInstructionNode (line 3) | function LLMInstructionNode({ FILE: frontend/src/pages/Admin/AgentBuilder/nodes/StartNode/index.jsx function StartNode (line 4) | function StartNode({ FILE: frontend/src/pages/Admin/AgentBuilder/nodes/WebScrapingNode/index.jsx function WebScrapingNode (line 3) | function WebScrapingNode({ FILE: frontend/src/pages/Admin/AgentBuilder/nodes/WebsiteNode/index.jsx function WebsiteNode (line 3) | function WebsiteNode({ FILE: frontend/src/pages/Admin/Agents/AgentFlows/FlowPanel.jsx function ManageFlowMenu (line 9) | function ManageFlowMenu({ flow, onDelete }) { function FlowPanel (line 74) | function FlowPanel({ flow, toggleFlow, onDelete }) { FILE: frontend/src/pages/Admin/Agents/AgentFlows/index.jsx function AgentFlowsList (line 4) | function AgentFlowsList({ FILE: frontend/src/pages/Admin/Agents/AgentSkillSettings/index.jsx function AgentSkillSettings (line 10) | function AgentSkillSettings() { function AgentSkillSettingsModal (line 26) | function AgentSkillSettingsModal({ isOpen, closeModal }) { function MaxToolCallStack (line 57) | function MaxToolCallStack() { function AgentSkillReranker (line 118) | function AgentSkillReranker() { FILE: frontend/src/pages/Admin/Agents/Badges/default.jsx function DefaultBadge (line 1) | function DefaultBadge({ title: _title }) { FILE: frontend/src/pages/Admin/Agents/DefaultSkillPanel/index.jsx function DefaultSkillPanel (line 6) | function DefaultSkillPanel({ FILE: frontend/src/pages/Admin/Agents/GenericSkillPanel/index.jsx function GenericSkillPanel (line 4) | function GenericSkillPanel({ FILE: frontend/src/pages/Admin/Agents/Imported/ImportedSkillConfig/index.jsx function inputsFromArgs (line 13) | function inputsFromArgs(setupArgs) { function ImportedSkillConfig (line 35) | function ImportedSkillConfig({ function ManageSkillMenu (line 192) | function ManageSkillMenu({ config, setImportedSkills }) { FILE: frontend/src/pages/Admin/Agents/Imported/SkillList/index.jsx function ImportedSkillList (line 4) | function ImportedSkillList({ FILE: frontend/src/pages/Admin/Agents/MCPServers/ServerPanel.jsx function ManageServerMenu (line 10) | function ManageServerMenu({ server, toggleServer, onDelete }) { function ServerPanel (line 107) | function ServerPanel({ function ToolCountWarningBanner (line 161) | function ToolCountWarningBanner({ server, enabledToolCount }) { function RenderServerConfig (line 179) | function RenderServerConfig({ config = null }) { function RenderServerStatus (line 201) | function RenderServerStatus({ server }) { function RenderServerTools (line 216) | function RenderServerTools({ function ServerTool (line 240) | function ServerTool({ serverName, tool, enabled, onToggle }) { FILE: frontend/src/pages/Admin/Agents/MCPServers/index.jsx function MCPServerHeader (line 10) | function MCPServerHeader({ function MCPServersList (line 89) | function MCPServersList({ function MCPServerItem (line 151) | function MCPServerItem({ server, isFirst, isLast, isSelected, handleClic... FILE: frontend/src/pages/Admin/Agents/SQLConnectorSelection/DBConnection.jsx constant DB_LOGOS (line 8) | const DB_LOGOS = { function DBConnection (line 14) | function DBConnection({ FILE: frontend/src/pages/Admin/Agents/SQLConnectorSelection/SQLConnectionModal.jsx function slugify (line 16) | function slugify(str) { function assembleConnectionString (line 37) | function assembleConnectionString({ constant DEFAULT_ENGINE (line 60) | const DEFAULT_ENGINE = "postgresql"; constant DEFAULT_CONFIG (line 61) | const DEFAULT_CONFIG = { function SQLConnectionModal (line 86) | function SQLConnectionModal({ function DBEngine (line 490) | function DBEngine({ provider, active, onClick }) { FILE: frontend/src/pages/Admin/Agents/SQLConnectorSelection/index.jsx function AgentSQLConnectorSelection (line 11) | function AgentSQLConnectorSelection({ FILE: frontend/src/pages/Admin/Agents/WebSearchSelection/SearchProviderItem/index.jsx function SearchProviderItem (line 1) | function SearchProviderItem({ provider, checked, onClick }) { FILE: frontend/src/pages/Admin/Agents/WebSearchSelection/SearchProviderOptions/index.jsx function SerpApiOptions (line 13) | function SerpApiOptions({ settings }) { function SearchApiOptions (line 90) | function SearchApiOptions({ settings }) { function SerperDotDevOptions (line 152) | function SerperDotDevOptions({ settings }) { function BingSearchOptions (line 187) | function BingSearchOptions({ settings }) { function SerplySearchOptions (line 251) | function SerplySearchOptions({ settings }) { function SearXNGOptions (line 286) | function SearXNGOptions({ settings }) { function TavilySearchOptions (line 308) | function TavilySearchOptions({ settings }) { function DuckDuckGoOptions (line 343) | function DuckDuckGoOptions() { function ExaSearchOptions (line 353) | function ExaSearchOptions({ settings }) { function PerplexitySearchOptions (line 388) | function PerplexitySearchOptions({ settings }) { FILE: frontend/src/pages/Admin/Agents/WebSearchSelection/index.jsx constant SEARCH_PROVIDERS (line 36) | const SEARCH_PROVIDERS = [ function AgentWebSearchSelection (line 124) | function AgentWebSearchSelection({ FILE: frontend/src/pages/Admin/Agents/index.jsx constant IGNORE_CHANGE_SETTINGS (line 34) | const IGNORE_CHANGE_SETTINGS = [ function AdminAgents (line 40) | function AdminAgents() { function SkillLayout (line 677) | function SkillLayout({ children, hasChanges, handleSubmit, handleCancel ... function SkillList (line 699) | function SkillList({ FILE: frontend/src/pages/Admin/DefaultSystemPrompt/index.jsx function DefaultSystemPrompt (line 13) | function DefaultSystemPrompt() { FILE: frontend/src/pages/Admin/ExperimentalFeatures/Features/LiveSync/manage/DocumentSyncQueueRow/index.jsx function DocumentSyncQueueRow (line 7) | function DocumentSyncQueueRow({ queue }) { FILE: frontend/src/pages/Admin/ExperimentalFeatures/Features/LiveSync/manage/index.jsx function LiveDocumentSyncManager (line 9) | function LiveDocumentSyncManager() { function fetchData (line 44) | async function fetchData() { FILE: frontend/src/pages/Admin/ExperimentalFeatures/Features/LiveSync/toggle.jsx function LiveSyncToggle (line 9) | function LiveSyncToggle({ enabled = false, onToggle }) { FILE: frontend/src/pages/Admin/ExperimentalFeatures/index.jsx function ExperimentalFeatures (line 12) | function ExperimentalFeatures() { function FeatureLayout (line 107) | function FeatureLayout({ children }) { function FeatureItem (line 124) | function FeatureItem({ function SelectedFeatureComponent (line 168) | function SelectedFeatureComponent({ feature, settings, refresh }) { function FeatureVerification (line 179) | function FeatureVerification({ children }) { FILE: frontend/src/pages/Admin/Invitations/InviteRow/index.jsx function InviteRow (line 6) | function InviteRow({ invite }) { FILE: frontend/src/pages/Admin/Invitations/NewInviteModal/index.jsx function NewInviteModal (line 7) | function NewInviteModal({ closeModal, onSuccess }) { function WorkspaceOption (line 189) | function WorkspaceOption({ workspace, selected, toggleSelection }) { FILE: frontend/src/pages/Admin/Logging/LogRow/index.jsx function LogRow (line 5) | function LogRow({ log }) { FILE: frontend/src/pages/Admin/Logging/index.jsx function AdminLogs (line 12) | function AdminLogs() { FILE: frontend/src/pages/Admin/SystemPromptVariables/AddVariableModal/index.jsx function AddVariableModal (line 6) | function AddVariableModal({ closeModal, onRefresh }) { FILE: frontend/src/pages/Admin/SystemPromptVariables/VariableRow/EditVariableModal/index.jsx function EditVariableModal (line 6) | function EditVariableModal({ variable, closeModal, onRefresh }) { FILE: frontend/src/pages/Admin/SystemPromptVariables/VariableRow/index.jsx function VariableRow (line 17) | function VariableRow({ variable, onRefresh }) { FILE: frontend/src/pages/Admin/Users/NewUserModal/index.jsx function NewUserModal (line 13) | function NewUserModal({ closeModal }) { FILE: frontend/src/pages/Admin/Users/UserRow/EditUserModal/index.jsx function EditUserModal (line 13) | function EditUserModal({ currentUser, user, closeModal }) { FILE: frontend/src/pages/Admin/Users/UserRow/index.jsx function UserRow (line 15) | function UserRow({ currUser, user }) { FILE: frontend/src/pages/Admin/Users/index.jsx function AdminUsers (line 16) | function AdminUsers() { function fetchUsers (line 65) | async function fetchUsers() { function RoleHintDisplay (line 130) | function RoleHintDisplay({ role }) { function MessageLimitInput (line 147) | function MessageLimitInput({ enabled, limit, updateState, role }) { FILE: frontend/src/pages/Admin/Workspaces/NewWorkspaceModal/index.jsx function NewWorkspaceModal (line 6) | function NewWorkspaceModal({ closeModal }) { FILE: frontend/src/pages/Admin/Workspaces/WorkspaceRow/index.jsx function WorkspaceRow (line 6) | function WorkspaceRow({ workspace, users: _users }) { FILE: frontend/src/pages/Admin/Workspaces/index.jsx function AdminWorkspaces (line 14) | function AdminWorkspaces() { function fetchData (line 62) | async function fetchData() { FILE: frontend/src/pages/GeneralSettings/ApiKeys/ApiKeyRow/index.jsx function ApiKeyRow (line 8) | function ApiKeyRow({ apiKey, removeApiKey }) { FILE: frontend/src/pages/GeneralSettings/ApiKeys/NewApiKeyModal/index.jsx function NewApiKeyModal (line 9) | function NewApiKeyModal({ closeModal, onSuccess }) { FILE: frontend/src/pages/GeneralSettings/AudioPreference/index.jsx function AudioPreference (line 9) | function AudioPreference() { FILE: frontend/src/pages/GeneralSettings/AudioPreference/stt.jsx constant PROVIDERS (line 10) | const PROVIDERS = [ function SpeechToTextProvider (line 20) | function SpeechToTextProvider({ settings }) { FILE: frontend/src/pages/GeneralSettings/AudioPreference/tts.jsx constant PROVIDERS (line 19) | const PROVIDERS = [ function TextToSpeechProvider (line 58) | function TextToSpeechProvider({ settings }) { FILE: frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/BrowserExtensionApiKeyRow/index.jsx function BrowserExtensionApiKeyRow (line 7) | function BrowserExtensionApiKeyRow({ FILE: frontend/src/pages/GeneralSettings/BrowserExtensionApiKey/NewBrowserExtensionApiKeyModal/index.jsx function NewBrowserExtensionApiKeyModal (line 6) | function NewBrowserExtensionApiKeyModal({ FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/ChatRow/index.jsx function ChatRow (line 10) | function ChatRow({ chat, onDelete }) { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/MarkdownRenderer.jsx function parseContent (line 53) | function parseContent(content) { function MarkdownRenderer (line 69) | function MarkdownRenderer({ content }) { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedChats/index.jsx function handleClickOutside (line 77) | function handleClickOutside(event) { function fetchChats (line 94) | async function fetchChats() { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/EmbedRow/CodeSnippetModal/index.jsx function CodeSnippetModal (line 8) | function CodeSnippetModal({ embed, closeModal }) { function createScriptTagSnippet (line 46) | function createScriptTagSnippet(embed, scriptHost, serverHost) { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/EmbedRow/EditEmbedModal/index.jsx function EditEmbedModal (line 15) | function EditEmbedModal({ embed, closeModal }) { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/EmbedRow/index.jsx function EmbedRow (line 14) | function EmbedRow({ embed }) { function ActiveDomains (line 143) | function ActiveDomains({ domainList }) { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/NewEmbedModal/index.jsx function enforceSubmissionSchema (line 8) | function enforceSubmissionSchema(form) { function NewEmbedModal (line 28) | function NewEmbedModal({ closeModal }) { function fetchWorkspaces (line 131) | async function fetchWorkspaces() { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/index.jsx function fetchUsers (line 20) | async function fetchUsers() { FILE: frontend/src/pages/GeneralSettings/ChatEmbedWidgets/index.jsx function ChatEmbedWidgets (line 8) | function ChatEmbedWidgets() { function WidgetLayout (line 99) | function WidgetLayout({ children }) { function WidgetList (line 116) | function WidgetList({ selectedView, handleClick }) { FILE: frontend/src/pages/GeneralSettings/Chats/ChatRow/index.jsx function ChatRow (line 9) | function ChatRow({ chat, onDelete }) { FILE: frontend/src/pages/GeneralSettings/Chats/MarkdownRenderer.jsx function parseContent (line 53) | function parseContent(content) { function MarkdownRenderer (line 69) | function MarkdownRenderer({ content }) { FILE: frontend/src/pages/GeneralSettings/Chats/index.jsx function WorkspaceChats (line 50) | function WorkspaceChats() { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Authentication/UserItems/index.jsx function UserItems (line 7) | function UserItems({ connectionKey }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Authentication/index.jsx function useCommunityHubAuthentication (line 12) | function useCommunityHubAuthentication() { function CommunityHubAuthentication (line 97) | function CommunityHubAuthentication() { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Authentication/useUserItems.js constant DEFAULT_USER_ITEMS (line 4) | const DEFAULT_USER_ITEMS = { function useUserItems (line 14) | function useUserItems({ connectionKey }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/Completed/index.jsx function Completed (line 6) | function Completed({ settings, setSettings, setStep }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/Introduction/index.jsx function Introduction (line 7) | function Introduction({ settings, setSettings, setStep }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/PullAndReview/HubItem/AgentFlow.jsx function AgentFlow (line 10) | function AgentFlow({ item, setStep }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/PullAndReview/HubItem/AgentSkill.jsx function AgentSkill (line 17) | function AgentSkill({ item, settings, setStep }) { function FileReview (line 116) | function FileReview({ item }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/PullAndReview/HubItem/SlashCommand.jsx function SlashCommand (line 7) | function SlashCommand({ item, setStep }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/PullAndReview/HubItem/SystemPrompt.jsx function SystemPrompt (line 9) | function SystemPrompt({ item, setStep }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/PullAndReview/HubItem/Unknown.jsx function UnknownItem (line 5) | function UnknownItem({ item, setSettings, setStep }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/PullAndReview/index.jsx function useGetCommunityHubItem (line 7) | function useGetCommunityHubItem({ importId, updateSettings }) { function PullAndReview (line 29) | function PullAndReview({ settings, setSettings, setStep }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/Steps/index.jsx function CommunityHubImportItemLayout (line 47) | function CommunityHubImportItemLayout({ setStep, children }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/ImportItem/index.jsx function SideBarSelection (line 7) | function SideBarSelection({ setStep, currentStep }) { function CommunityHubImportItemFlow (line 70) | function CommunityHubImportItemFlow() { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/HubItems/HubItemCard/agentFlow.jsx function AgentFlowHubCard (line 6) | function AgentFlowHubCard({ item }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/HubItems/HubItemCard/agentSkill.jsx function AgentSkillHubCard (line 6) | function AgentSkillHubCard({ item }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/HubItems/HubItemCard/generic.jsx function GenericHubCard (line 6) | function GenericHubCard({ item }) { function VisibilityIcon (line 26) | function VisibilityIcon({ visibility = "public" }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/HubItems/HubItemCard/index.jsx function HubItemCard (line 7) | function HubItemCard({ type, item }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/HubItems/HubItemCard/slashCommand.jsx function SlashCommandHubCard (line 6) | function SlashCommandHubCard({ item }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/HubItems/HubItemCard/systemPrompt.jsx function SystemPromptHubCard (line 6) | function SystemPromptHubCard({ item }) { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/HubItems/index.jsx constant DEFAULT_EXPLORE_ITEMS (line 9) | const DEFAULT_EXPLORE_ITEMS = { function useCommunityHubExploreItems (line 15) | function useCommunityHubExploreItems() { function HubItems (line 37) | function HubItems() { function HubCategory (line 54) | function HubCategory({ loading, exploreItems }) { function HubItemCardSkeleton (line 90) | function HubItemCardSkeleton() { FILE: frontend/src/pages/GeneralSettings/CommunityHub/Trending/index.jsx function CommunityHub (line 5) | function CommunityHub() { FILE: frontend/src/pages/GeneralSettings/CommunityHub/utils.js function readableType (line 6) | function readableType(type) { function typeToPath (line 28) | function typeToPath(type) { FILE: frontend/src/pages/GeneralSettings/EmbeddingPreference/index.jsx constant EMBEDDERS (line 45) | const EMBEDDERS = [ function GeneralEmbeddingPreference (line 151) | function GeneralEmbeddingPreference() { FILE: frontend/src/pages/GeneralSettings/EmbeddingTextSplitterPreference/index.jsx function isNullOrNaN (line 14) | function isNullOrNaN(value) { function EmbeddingTextSplitterPreference (line 19) | function EmbeddingTextSplitterPreference() { FILE: frontend/src/pages/GeneralSettings/LLMPreference/index.jsx constant AVAILABLE_LLM_PROVIDERS (line 87) | const AVAILABLE_LLM_PROVIDERS = [ constant LLM_PREFERENCE_CHANGED_EVENT (line 420) | const LLM_PREFERENCE_CHANGED_EVENT = "llm-preference-changed"; function GeneralLLMPreference (line 421) | function GeneralLLMPreference() { FILE: frontend/src/pages/GeneralSettings/MobileConnections/ConnectionModal/index.jsx function MobileConnectModal (line 13) | function MobileConnectModal({ isOpen, onClose }) { function processConnectionUrl (line 88) | function processConnectionUrl(url) { FILE: frontend/src/pages/GeneralSettings/MobileConnections/DeviceRow/index.jsx function DeviceRow (line 9) | function DeviceRow({ device, removeDevice }) { FILE: frontend/src/pages/GeneralSettings/PrivacyAndData/index.jsx function PrivacyAndDataHandling (line 11) | function PrivacyAndDataHandling() { function TelemetryLogs (line 61) | function TelemetryLogs({ settings }) { FILE: frontend/src/pages/GeneralSettings/Security/index.jsx function GeneralSecurity (line 18) | function GeneralSecurity() { function MultiUserMode (line 39) | function MultiUserMode() { constant PW_REGEX (line 202) | const PW_REGEX = new RegExp(/^[a-zA-Z0-9_\-!@$%^&*();]+$/); function PasswordProtection (line 203) | function PasswordProtection() { FILE: frontend/src/pages/GeneralSettings/Settings/Branding/index.jsx function BrandingSettings (line 10) | function BrandingSettings() { FILE: frontend/src/pages/GeneralSettings/Settings/Chat/index.jsx function ChatSettings (line 10) | function ChatSettings() { FILE: frontend/src/pages/GeneralSettings/Settings/Interface/index.jsx function InterfaceSettings (line 7) | function InterfaceSettings() { FILE: frontend/src/pages/GeneralSettings/Settings/components/AutoSpeak/index.jsx function AutoSpeak (line 6) | function AutoSpeak() { FILE: frontend/src/pages/GeneralSettings/Settings/components/AutoSubmit/index.jsx function AutoSubmit (line 6) | function AutoSubmit() { FILE: frontend/src/pages/GeneralSettings/Settings/components/ChatRenderHTML/index.jsx function ChatRenderHTML (line 6) | function ChatRenderHTML() { FILE: frontend/src/pages/GeneralSettings/Settings/components/CustomAppName/index.jsx function CustomAppName (line 7) | function CustomAppName() { FILE: frontend/src/pages/GeneralSettings/Settings/components/CustomLogo/index.jsx function CustomLogo (line 8) | function CustomLogo() { FILE: frontend/src/pages/GeneralSettings/Settings/components/CustomSiteSettings/index.jsx function CustomSiteSettings (line 6) | function CustomSiteSettings() { FILE: frontend/src/pages/GeneralSettings/Settings/components/FooterCustomization/NewIconForm/index.jsx function NewIconForm (line 5) | function NewIconForm({ icon, url, onSave, onRemove }) { FILE: frontend/src/pages/GeneralSettings/Settings/components/FooterCustomization/index.jsx function FooterCustomization (line 9) | function FooterCustomization() { FILE: frontend/src/pages/GeneralSettings/Settings/components/LanguagePreference/index.jsx function LanguagePreference (line 4) | function LanguagePreference() { FILE: frontend/src/pages/GeneralSettings/Settings/components/ShowScrollbar/index.jsx function ShowScrollbar (line 6) | function ShowScrollbar() { FILE: frontend/src/pages/GeneralSettings/Settings/components/SpellCheck/index.jsx function SpellCheck (line 6) | function SpellCheck() { FILE: frontend/src/pages/GeneralSettings/Settings/components/SupportEmail/index.jsx function SupportEmail (line 8) | function SupportEmail() { FILE: frontend/src/pages/GeneralSettings/Settings/components/ThemePreference/index.jsx function ThemePreference (line 4) | function ThemePreference() { FILE: frontend/src/pages/GeneralSettings/TranscriptionPreference/index.jsx constant PROVIDERS (line 16) | const PROVIDERS = [ function TranscriptionModelPreference (line 33) | function TranscriptionModelPreference() { FILE: frontend/src/pages/GeneralSettings/VectorDatabase/index.jsx constant VECTOR_DBS (line 36) | const VECTOR_DBS = [ function GeneralVectorDatabase (line 114) | function GeneralVectorDatabase() { FILE: frontend/src/pages/Invite/NewUserModal/index.jsx function NewUserModal (line 14) | function NewUserModal() { FILE: frontend/src/pages/Invite/index.jsx function InvitePage (line 8) | function InvitePage() { FILE: frontend/src/pages/Login/SSO/simple.jsx function SimpleSSOPassthrough (line 8) | function SimpleSSOPassthrough() { FILE: frontend/src/pages/Login/index.jsx function Login (line 17) | function Login() { FILE: frontend/src/pages/Main/Home/index.jsx function getTargetWorkspace (line 30) | async function getTargetWorkspace() { function createDefaultWorkspace (line 43) | async function createDefaultWorkspace(workspaceName = "My Workspace") { function Home (line 54) | function Home() { function HomeContent (line 183) | function HomeContent({ workspace, setWorkspace, threadSlug, setThreadSlu... function NoWorkspacesAssigned (line 325) | function NoWorkspacesAssigned() { FILE: frontend/src/pages/Main/index.jsx function Main (line 8) | function Main() { FILE: frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx function DataHandling (line 7) | function DataHandling({ setHeader, setForwardBtn, setBackBtn }) { FILE: frontend/src/pages/OnboardingFlow/Steps/Home/index.jsx constant IMG_SRCSET (line 12) | const IMG_SRCSET = { function OnboardingHome (line 23) | function OnboardingHome() { FILE: frontend/src/pages/OnboardingFlow/Steps/LLMPreference/index.jsx constant LLMS (line 82) | const LLMS = [ function LLMPreference (line 341) | function LLMPreference({ FILE: frontend/src/pages/OnboardingFlow/Steps/Survey/index.jsx function sendQuestionnaire (line 12) | async function sendQuestionnaire({ email, useCase, comment }) { function Survey (line 45) | function Survey({ setHeader, setForwardBtn, setBackBtn }) { FILE: frontend/src/pages/OnboardingFlow/Steps/UserSetup/index.jsx function UserSetup (line 12) | function UserSetup({ setHeader, setForwardBtn, setBackBtn }) { function handleYes (line 160) | function handleYes() { function handleNo (line 165) | function handleNo() { FILE: frontend/src/pages/OnboardingFlow/Steps/index.jsx function OnboardingLayout (line 21) | function OnboardingLayout({ children }) { FILE: frontend/src/pages/OnboardingFlow/index.jsx function OnboardingFlow (line 5) | function OnboardingFlow() { FILE: frontend/src/pages/WorkspaceChat/index.jsx function WorkspaceChat (line 11) | function WorkspaceChat() { function ShowWorkspaceChat (line 22) | function ShowWorkspaceChat() { FILE: frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/AgentLLMItem/index.jsx constant NO_SETTINGS_NEEDED (line 12) | const NO_SETTINGS_NEEDED = ["default", "none"]; function AgentLLMItem (line 13) | function AgentLLMItem({ function SetupProvider (line 105) | function SetupProvider({ FILE: frontend/src/pages/WorkspaceSettings/AgentConfig/AgentLLMSelection/index.jsx constant ENABLED_PROVIDERS (line 9) | const ENABLED_PROVIDERS = [ constant WARN_PERFORMANCE (line 47) | const WARN_PERFORMANCE = [ constant LLM_DEFAULT (line 56) | const LLM_DEFAULT = { constant LLMS (line 66) | const LLMS = [ function AgentLLMSelection (line 73) | function AgentLLMSelection({ FILE: frontend/src/pages/WorkspaceSettings/AgentConfig/AgentModelSelection/index.jsx function supportedModel (line 16) | function supportedModel(provider, model = "") { function AgentModelSelection (line 36) | function AgentModelSelection({ FILE: frontend/src/pages/WorkspaceSettings/AgentConfig/index.jsx function WorkspaceAgentConfiguration (line 13) | function WorkspaceAgentConfiguration({ workspace }) { function LoadingSkeleton (line 122) | function LoadingSkeleton() { FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/ChatHistorySettings/index.jsx function ChatHistorySettings (line 2) | function ChatHistorySettings({ workspace, setHasChanges }) { FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/ChatModeSelection/index.jsx function ChatModeSelection (line 4) | function ChatModeSelection({ workspace, setHasChanges }) { function ChatModeExplanation (line 64) | function ChatModeExplanation({ chatMode = "chat" }) { FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/ChatPromptSettings/ChatPromptHistory/PromptHistoryItem/index.jsx constant MAX_PROMPT_LENGTH (line 8) | const MAX_PROMPT_LENGTH = 200; function PromptHistoryItem (line 10) | function PromptHistoryItem({ FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/ChatPromptSettings/ChatPromptHistory/index.jsx function loadHistory (line 17) | function loadHistory() { function handleClearAll (line 32) | function handleClearAll() { function LoaderSkeleton (line 105) | function LoaderSkeleton() { FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/ChatPromptSettings/index.jsx function ChatPromptSettings (line 13) | function ChatPromptSettings({ function PublishPromptCTA (line 254) | function PublishPromptCTA({ hidden = false, onClick }) { FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/ChatQueryRefusalResponse/index.jsx function ChatQueryRefusalResponse (line 3) | function ChatQueryRefusalResponse({ workspace, setHasChanges }) { FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/ChatTemperatureSettings/index.jsx function recommendedSettings (line 2) | function recommendedSettings(provider = null) { function ChatTemperatureSettings (line 11) | function ChatTemperatureSettings({ FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/ChatModelSelection/index.jsx function ChatModelSelection (line 6) | function ChatModelSelection({ FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/WorkspaceLLMItem/index.jsx constant NO_SETTINGS_NEEDED (line 12) | const NO_SETTINGS_NEEDED = ["default"]; function WorkspaceLLM (line 13) | function WorkspaceLLM({ function SetupProvider (line 103) | function SetupProvider({ FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/WorkspaceLLMSelection/index.jsx constant FREE_FORM_LLM_SELECTION (line 14) | const FREE_FORM_LLM_SELECTION = ["bedrock", "azure", "generic-openai"]; constant NO_MODEL_SELECTION (line 18) | const NO_MODEL_SELECTION = ["default", "huggingface"]; constant DISABLED_PROVIDERS (line 21) | const DISABLED_PROVIDERS = []; constant LLM_DEFAULT (line 23) | const LLM_DEFAULT = { constant LLMS (line 32) | const LLMS = [LLM_DEFAULT, ...AVAILABLE_LLM_PROVIDERS].filter( function WorkspaceLLMSelection (line 36) | function WorkspaceLLMSelection({ function ModelSelector (line 171) | function ModelSelector({ selectedLLM, workspace, setHasChanges }) { function FreeFormLLMInput (line 205) | function FreeFormLLMInput({ workspace, setHasChanges }) { FILE: frontend/src/pages/WorkspaceSettings/ChatSettings/index.jsx function ChatSettings (line 14) | function ChatSettings({ workspace }) { FILE: frontend/src/pages/WorkspaceSettings/GeneralAppearance/DeleteWorkspace/index.jsx function DeleteWorkspace (line 8) | function DeleteWorkspace({ workspace }) { FILE: frontend/src/pages/WorkspaceSettings/GeneralAppearance/SuggestedChatMessages/index.jsx function SuggestedChatMessages (line 8) | function SuggestedChatMessages({ slug }) { FILE: frontend/src/pages/WorkspaceSettings/GeneralAppearance/WorkspaceName/index.jsx function WorkspaceName (line 3) | function WorkspaceName({ workspace, setHasChanges }) { FILE: frontend/src/pages/WorkspaceSettings/GeneralAppearance/index.jsx function GeneralInfo (line 10) | function GeneralInfo({ slug }) { FILE: frontend/src/pages/WorkspaceSettings/Members/AddMemberModal/index.jsx function AddMemberModal (line 6) | function AddMemberModal({ closeModal, workspace, users }) { FILE: frontend/src/pages/WorkspaceSettings/Members/WorkspaceMemberRow/index.jsx function WorkspaceMemberRow (line 3) | function WorkspaceMemberRow({ user }) { FILE: frontend/src/pages/WorkspaceSettings/Members/index.jsx function fetchData (line 18) | async function fetchData() { FILE: frontend/src/pages/WorkspaceSettings/VectorDatabase/DocumentSimilarityThreshold/index.jsx function DocumentSimilarityThreshold (line 3) | function DocumentSimilarityThreshold({ FILE: frontend/src/pages/WorkspaceSettings/VectorDatabase/MaxContextSnippets/index.jsx function MaxContextSnippets (line 3) | function MaxContextSnippets({ workspace, setHasChanges }) { FILE: frontend/src/pages/WorkspaceSettings/VectorDatabase/ResetDatabase/index.jsx function ResetDatabase (line 6) | function ResetDatabase({ workspace }) { FILE: frontend/src/pages/WorkspaceSettings/VectorDatabase/VectorCount/index.jsx function VectorCount (line 6) | function VectorCount({ reload, workspace }) { FILE: frontend/src/pages/WorkspaceSettings/VectorDatabase/VectorDBIdentifier/index.jsx function VectorDBIdentifier (line 3) | function VectorDBIdentifier({ workspace }) { FILE: frontend/src/pages/WorkspaceSettings/VectorDatabase/VectorSearchMode/index.jsx function VectorSearchMode (line 19) | function VectorSearchMode({ workspace, setHasChanges }) { FILE: frontend/src/pages/WorkspaceSettings/VectorDatabase/index.jsx function VectorDatabase (line 13) | function VectorDatabase({ workspace }) { FILE: frontend/src/pages/WorkspaceSettings/index.jsx constant TABS (line 28) | const TABS = { function WorkspaceSettings (line 36) | function WorkspaceSettings() { function ShowWorkspaceChat (line 47) | function ShowWorkspaceChat() { function TabItem (line 127) | function TabItem({ title, icon, to, visible = true }) { FILE: frontend/src/utils/chat/agent.js constant AGENT_SESSION_START (line 7) | const AGENT_SESSION_START = "agentSessionStart"; constant AGENT_SESSION_END (line 8) | const AGENT_SESSION_END = "agentSessionEnd"; function websocketURI (line 19) | function websocketURI() { function handleSocketResponse (line 25) | function handleSocketResponse(socket, event, setChatHistory) { function setAgentSessionActive (line 243) | function setAgentSessionActive(value) { function getAgentSessionActive (line 246) | function getAgentSessionActive() { function useIsAgentSessionActive (line 250) | function useIsAgentSessionActive() { FILE: frontend/src/utils/chat/hljs-libraries/svelte.js function hljsDefineSvelte (line 1) | function hljsDefineSvelte(hljs) { FILE: frontend/src/utils/chat/index.js constant ABORT_STREAM_EVENT (line 3) | const ABORT_STREAM_EVENT = "abort-chat-stream"; function handleChat (line 6) | function handleChat( function getWorkspaceSystemPrompt (line 179) | function getWorkspaceSystemPrompt(workspace) { function chatQueryRefusalResponse (line 186) | function chatQueryRefusalResponse(workspace) { FILE: frontend/src/utils/chat/markdown.js function renderMarkdown (line 81) | function renderMarkdown(text = "") { FILE: frontend/src/utils/chat/plugins/markdown-katex.js function isValidDelim (line 5) | function isValidDelim(state, pos) { function math_inline (line 35) | function math_inline(state, silent) { function math_block (line 147) | function math_block(state, start, end, silent) { function math_plugin (line 229) | function math_plugin(md, options) { FILE: frontend/src/utils/constants.js constant API_BASE (line 1) | const API_BASE = import.meta.env.VITE_API_BASE || "/api"; constant ONBOARDING_SURVEY_URL (line 2) | const ONBOARDING_SURVEY_URL = "https://onboarding.anythingllm.com"; constant AUTH_USER (line 4) | const AUTH_USER = "anythingllm_user"; constant AUTH_TOKEN (line 5) | const AUTH_TOKEN = "anythingllm_authToken"; constant AUTH_TIMESTAMP (line 6) | const AUTH_TIMESTAMP = "anythingllm_authTimestamp"; constant COMPLETE_QUESTIONNAIRE (line 7) | const COMPLETE_QUESTIONNAIRE = "anythingllm_completed_questionnaire"; constant SEEN_DOC_PIN_ALERT (line 8) | const SEEN_DOC_PIN_ALERT = "anythingllm_pinned_document_alert"; constant SEEN_WATCH_ALERT (line 9) | const SEEN_WATCH_ALERT = "anythingllm_watched_document_alert"; constant LAST_VISITED_WORKSPACE (line 10) | const LAST_VISITED_WORKSPACE = "anythingllm_last_visited_workspace"; constant USER_PROMPT_INPUT_MAP (line 11) | const USER_PROMPT_INPUT_MAP = "anythingllm_user_prompt_input_map"; constant PENDING_HOME_MESSAGE (line 12) | const PENDING_HOME_MESSAGE = "anythingllm_pending_home_message"; constant APPEARANCE_SETTINGS (line 14) | const APPEARANCE_SETTINGS = "anythingllm_appearance_settings"; constant OLLAMA_COMMON_URLS (line 16) | const OLLAMA_COMMON_URLS = [ constant LMSTUDIO_COMMON_URLS (line 22) | const LMSTUDIO_COMMON_URLS = [ constant KOBOLDCPP_COMMON_URLS (line 29) | const KOBOLDCPP_COMMON_URLS = [ constant LOCALAI_COMMON_URLS (line 36) | const LOCALAI_COMMON_URLS = [ constant DPAIS_COMMON_URLS (line 43) | const DPAIS_COMMON_URLS = [ constant NVIDIA_NIM_COMMON_URLS (line 50) | const NVIDIA_NIM_COMMON_URLS = [ constant DOCKER_MODEL_RUNNER_COMMON_URLS (line 57) | const DOCKER_MODEL_RUNNER_COMMON_URLS = [ constant LEMONADE_COMMON_URLS (line 65) | const LEMONADE_COMMON_URLS = [ function fullApiUrl (line 72) | function fullApiUrl() { constant POPUP_BROWSER_EXTENSION_EVENT (line 77) | const POPUP_BROWSER_EXTENSION_EVENT = "NEW_BROWSER_EXTENSION_CONNECTION"; FILE: frontend/src/utils/directories.js function formatDate (line 3) | function formatDate(dateString) { function formatDateTimeAsMoment (line 12) | function formatDateTimeAsMoment(dateString, format = "LLL") { function getFileExtension (line 21) | function getFileExtension(path) { function middleTruncate (line 28) | function middleTruncate(str, n) { FILE: frontend/src/utils/keyboardShortcuts.js constant KEYBOARD_SHORTCUTS_HELP_EVENT (line 6) | const KEYBOARD_SHORTCUTS_HELP_EVENT = "keyboard-shortcuts-help"; constant SHORTCUTS (line 8) | const SHORTCUTS = { constant LISTENERS (line 73) | const LISTENERS = {}; function getShortcutKey (line 84) | function getShortcutKey(event) { function initKeyboardShortcuts (line 103) | function initKeyboardShortcuts() { function useKeyboardShortcuts (line 119) | function useKeyboardShortcuts() { function KeyboardShortcutWrapper (line 132) | function KeyboardShortcutWrapper({ children }) { FILE: frontend/src/utils/numbers.js function numberWithCommas (line 3) | function numberWithCommas(input) { function nFormatter (line 7) | function nFormatter(input) { function dollarFormat (line 11) | function dollarFormat(input) { function toPercentString (line 18) | function toPercentString(input = null, decimals = 0) { function humanFileSize (line 26) | function humanFileSize(bytes, si = false, dp = 1) { function milliToHms (line 50) | function milliToHms(milli = 0) { FILE: frontend/src/utils/paths.js function applyOptions (line 3) | function applyOptions(path, options = {}) { FILE: frontend/src/utils/piperTTS/index.js class PiperTTSClient (line 3) | class PiperTTSClient { method constructor (line 8) | constructor({ voiceId } = { voiceId: null }) { method #getWorker (line 19) | #getWorker() { method voices (line 31) | static async voices() { method flush (line 56) | static async flush() { method waitForBlobResponse (line 85) | async waitForBlobResponse() { method getAudioBlobForText (line 114) | async getAudioBlobForText(textToSpeak, voiceId = null) { FILE: frontend/src/utils/piperTTS/worker.js constant PIPER_SESSION (line 4) | let PIPER_SESSION = null; function main (line 45) | async function main(event) { FILE: frontend/src/utils/request.js function userFromStorage (line 5) | function userFromStorage() { function baseHeaders (line 11) | function baseHeaders(providedToken = null) { function safeJsonParse (line 18) | function safeJsonParse(jsonString, fallback = null) { FILE: frontend/src/utils/session.js function validateSessionTokenForUser (line 5) | async function validateSessionTokenForUser() { FILE: frontend/src/utils/types.js function castToType (line 1) | function castToType(key, value) { FILE: frontend/src/utils/username.js constant USERNAME_REGEX (line 10) | const USERNAME_REGEX = /^[a-z][a-z0-9._@-]*$/; constant USERNAME_MIN_LENGTH (line 11) | const USERNAME_MIN_LENGTH = 2; constant USERNAME_MAX_LENGTH (line 12) | const USERNAME_MAX_LENGTH = 32; constant USERNAME_PATTERN (line 17) | const USERNAME_PATTERN = "[a-z][a-z0-9._@-]*"; FILE: server/__tests__/utils/chats/openaiCompatible.test.js method constructor (line 12) | constructor() { FILE: server/endpoints/admin.js function adminEndpoints (line 32) | function adminEndpoints(app) { FILE: server/endpoints/agentFlows.js function agentFlowEndpoints (line 9) | function agentFlowEndpoints(app) { FILE: server/endpoints/agentWebsocket.js function relayToSocket (line 12) | function relayToSocket(message) { function agentWebsocket (line 17) | function agentWebsocket(app) { FILE: server/endpoints/api/admin/index.js function apiAdminEndpoints (line 12) | function apiAdminEndpoints(app) { FILE: server/endpoints/api/auth/index.js function apiAuthEndpoints (line 3) | function apiAuthEndpoints(app) { FILE: server/endpoints/api/document/index.js function validateWorkspaceSlugQuery (line 30) | function validateWorkspaceSlugQuery(request, response, next) { function apiDocumentEndpoints (line 45) | function apiDocumentEndpoints(app) { FILE: server/endpoints/api/embed/index.js function apiEmbedEndpoints (line 7) | function apiEmbedEndpoints(app) { FILE: server/endpoints/api/index.js function developerEndpoints (line 15) | function developerEndpoints(app, router) { FILE: server/endpoints/api/openai/helpers.js function extractTextContent (line 7) | function extractTextContent(content) { function getMimeTypeFromDataUrl (line 20) | function getMimeTypeFromDataUrl(dataUrl) { function extractAttachments (line 36) | function extractAttachments(content) { FILE: server/endpoints/api/openai/index.js function apiOpenAICompatibleEndpoints (line 18) | function apiOpenAICompatibleEndpoints(app) { FILE: server/endpoints/api/system/index.js function apiSystemEndpoints (line 10) | function apiSystemEndpoints(app) { FILE: server/endpoints/api/userManagement/index.js function apiUserManagementEndpoints (line 9) | function apiUserManagementEndpoints(app) { FILE: server/endpoints/api/workspace/index.js function apiWorkspaceEndpoints (line 19) | function apiWorkspaceEndpoints(app) { FILE: server/endpoints/api/workspaceThread/index.js function apiWorkspaceThreadEndpoints (line 18) | function apiWorkspaceThreadEndpoints(app) { FILE: server/endpoints/browserExtension.js function browserExtensionEndpoints (line 16) | function browserExtensionEndpoints(app) { FILE: server/endpoints/chat.js function chatEndpoints (line 21) | function chatEndpoints(app) { FILE: server/endpoints/communityHub.js function communityHubEndpoints (line 16) | function communityHubEndpoints(app) { FILE: server/endpoints/document.js function documentEndpoints (line 12) | function documentEndpoints(app) { FILE: server/endpoints/embed/index.js function embeddedEndpoints (line 16) | function embeddedEndpoints(app) { FILE: server/endpoints/embedManagement.js function embedManagementEndpoints (line 15) | function embedManagementEndpoints(app) { FILE: server/endpoints/experimental/imported-agent-plugins.js function importedAgentPluginEndpoints (line 9) | function importedAgentPluginEndpoints(app) { FILE: server/endpoints/experimental/index.js function experimentalEndpoints (line 7) | function experimentalEndpoints(router) { FILE: server/endpoints/experimental/liveSync.js function liveSyncEndpoints (line 17) | function liveSyncEndpoints(app) { FILE: server/endpoints/extensions/index.js function extensionEndpoints (line 12) | function extensionEndpoints(app) { FILE: server/endpoints/invite.js function inviteEndpoints (line 9) | function inviteEndpoints(app) { FILE: server/endpoints/mcpServers.js function mcpServersEndpoints (line 9) | function mcpServersEndpoints(app) { FILE: server/endpoints/mobile/index.js function mobileEndpoints (line 11) | function mobileEndpoints(app) { FILE: server/endpoints/mobile/middleware/index.js function validDeviceToken (line 12) | async function validDeviceToken(request, response, next) { function validRegistrationToken (line 52) | async function validRegistrationToken(request, response, next) { FILE: server/endpoints/mobile/utils/index.js function handleMobileCommand (line 16) | async function handleMobileCommand(request, response) { FILE: server/endpoints/system.js function systemEndpoints (line 64) | function systemEndpoints(app) { FILE: server/endpoints/utils.js function utilEndpoints (line 3) | function utilEndpoints(app) { function getGitVersion (line 34) | function getGitVersion() { function byteToGigaByte (line 47) | function byteToGigaByte(n) { function getDiskStorage (line 51) | async function getDiskStorage() { function getModelTag (line 76) | function getModelTag() { function getDeploymentVersion (line 192) | function getDeploymentVersion() { function getAnythingLLMUserAgent (line 203) | function getAnythingLLMUserAgent() { FILE: server/endpoints/utils/dockerModelRunnerUtils.js function dockerModelRunnerUtilsEndpoints (line 9) | function dockerModelRunnerUtilsEndpoints(app) { FILE: server/endpoints/utils/lemonadeUtilsEndpoints.js function lemonadeUtilsEndpoints (line 12) | function lemonadeUtilsEndpoints(app) { FILE: server/endpoints/webPush.js function webPushEndpoints (line 5) | function webPushEndpoints(app) { FILE: server/endpoints/workspaceThreads.js function workspaceThreadEndpoints (line 23) | function workspaceThreadEndpoints(app) { FILE: server/endpoints/workspaces.js function workspaceEndpoints (line 42) | function workspaceEndpoints(app) { FILE: server/endpoints/workspacesParsedFiles.js function workspaceParsedFilesEndpoints (line 15) | function workspaceParsedFilesEndpoints(app) { FILE: server/index.js constant FILE_LIMIT (line 36) | const FILE_LIMIT = "3GB"; FILE: server/jobs/cleanup-orphan-documents.js function batchDeleteFiles (line 8) | async function batchDeleteFiles(filesToDelete, batchSize = 500) { FILE: server/jobs/helpers/index.js function log (line 9) | function log(stringContent = "") { function conclude (line 18) | function conclude() { function updateSourceDocument (line 23) | function updateSourceDocument(docPath = null, jsonContent = {}) { FILE: server/models/embedConfig.js constant BOOLEAN_KEYS (line 187) | const BOOLEAN_KEYS = [ constant NUMBER_KEYS (line 194) | const NUMBER_KEYS = [ function validatedCreationData (line 202) | function validatedCreationData(value, field) { FILE: server/models/slashCommandsPresets.js constant CMD_REGEX (line 3) | const CMD_REGEX = new RegExp(/[^a-zA-Z0-9_-]/g); FILE: server/models/systemSettings.js function isNullOrNaN (line 16) | function isNullOrNaN(value) { function mergeConnections (line 794) | function mergeConnections(existingConnections = [], updates = []) { FILE: server/models/workspace.js function isNullOrNaN (line 11) | function isNullOrNaN(value) { method _getCurrentContextTokenCount (line 314) | async _getCurrentContextTokenCount(workspaceId, threadId = null) { FILE: server/prisma/migrations/20230921191814_init/migration.sql type "api_keys" (line 2) | CREATE TABLE "api_keys" ( type "workspace_documents" (line 11) | CREATE TABLE "workspace_documents" ( type "invites" (line 24) | CREATE TABLE "invites" ( type "system_settings" (line 35) | CREATE TABLE "system_settings" ( type "users" (line 44) | CREATE TABLE "users" ( type "document_vectors" (line 55) | CREATE TABLE "document_vectors" ( type "welcome_messages" (line 64) | CREATE TABLE "welcome_messages" ( type "workspaces" (line 73) | CREATE TABLE "workspaces" ( type "workspace_chats" (line 86) | CREATE TABLE "workspace_chats" ( type "workspace_users" (line 99) | CREATE TABLE "workspace_users" ( type "api_keys" (line 110) | CREATE UNIQUE INDEX "api_keys_secret_key" ON "api_keys"("secret") type "workspace_documents" (line 113) | CREATE UNIQUE INDEX "workspace_documents_docId_key" ON "workspace_docume... type "invites" (line 116) | CREATE UNIQUE INDEX "invites_code_key" ON "invites"("code") type "system_settings" (line 119) | CREATE UNIQUE INDEX "system_settings_label_key" ON "system_settings"("la... type "users" (line 122) | CREATE UNIQUE INDEX "users_username_key" ON "users"("username") type "workspaces" (line 125) | CREATE UNIQUE INDEX "workspaces_slug_key" ON "workspaces"("slug") FILE: server/prisma/migrations/20231101195421_init/migration.sql type "cache_data" (line 2) | CREATE TABLE "cache_data" ( FILE: server/prisma/migrations/20240202002020_init/migration.sql type "embed_configs" (line 2) | CREATE TABLE "embed_configs" ( type "embed_chats" (line 22) | CREATE TABLE "embed_chats" ( type "embed_configs" (line 37) | CREATE UNIQUE INDEX "embed_configs_uuid_key" ON "embed_configs"("uuid") FILE: server/prisma/migrations/20240206181106_init/migration.sql type "workspace_suggested_messages" (line 2) | CREATE TABLE "workspace_suggested_messages" ( type "workspace_suggested_messages" (line 13) | CREATE INDEX "workspace_suggested_messages_workspaceId_idx" ON "workspac... FILE: server/prisma/migrations/20240206211916_init/migration.sql type "event_logs" (line 2) | CREATE TABLE "event_logs" ( type "event_logs" (line 11) | CREATE INDEX "event_logs_event_idx" ON "event_logs"("event") FILE: server/prisma/migrations/20240208224848_init/migration.sql type "workspace_threads" (line 5) | CREATE TABLE "workspace_threads" ( type "workspace_threads" (line 18) | CREATE UNIQUE INDEX "workspace_threads_slug_key" ON "workspace_threads"(... type "workspace_threads" (line 21) | CREATE INDEX "workspace_threads_workspace_id_idx" ON "workspace_threads"... type "workspace_threads" (line 24) | CREATE INDEX "workspace_threads_user_id_idx" ON "workspace_threads"("use... FILE: server/prisma/migrations/20240412183346_init/migration.sql type "workspace_agent_invocations" (line 6) | CREATE TABLE "workspace_agent_invocations" ( type "workspace_agent_invocations" (line 21) | CREATE UNIQUE INDEX "workspace_agent_invocations_uuid_key" ON "workspace... type "workspace_agent_invocations" (line 24) | CREATE INDEX "workspace_agent_invocations_uuid_idx" ON "workspace_agent_... FILE: server/prisma/migrations/20240425004220_init/migration.sql type "recovery_codes" (line 5) | CREATE TABLE "recovery_codes" ( type "password_reset_tokens" (line 14) | CREATE TABLE "password_reset_tokens" ( type "recovery_codes" (line 24) | CREATE INDEX "recovery_codes_user_id_idx" ON "recovery_codes"("user_id") type "password_reset_tokens" (line 27) | CREATE UNIQUE INDEX "password_reset_tokens_token_key" ON "password_reset... type "password_reset_tokens" (line 30) | CREATE INDEX "password_reset_tokens_user_id_idx" ON "password_reset_toke... FILE: server/prisma/migrations/20240510032311_init/migration.sql type "slash_command_presets" (line 2) | CREATE TABLE "slash_command_presets" ( type "slash_command_presets" (line 15) | CREATE UNIQUE INDEX "slash_command_presets_uid_command_key" ON "slash_co... FILE: server/prisma/migrations/20240618224346_init/migration.sql type "document_sync_queues" (line 5) | CREATE TABLE "document_sync_queues" ( type "document_sync_executions" (line 16) | CREATE TABLE "document_sync_executions" ( type "document_sync_queues" (line 26) | CREATE UNIQUE INDEX "document_sync_queues_workspaceDocId_key" ON "docume... FILE: server/prisma/migrations/20240824005054_init/migration.sql type "browser_extension_api_keys" (line 2) | CREATE TABLE "browser_extension_api_keys" ( type "browser_extension_api_keys" (line 12) | CREATE UNIQUE INDEX "browser_extension_api_keys_key_key" ON "browser_ext... type "browser_extension_api_keys" (line 15) | CREATE INDEX "browser_extension_api_keys_user_id_idx" ON "browser_extens... FILE: server/prisma/migrations/20241029203722_init/migration.sql type "temporary_auth_tokens" (line 2) | CREATE TABLE "temporary_auth_tokens" ( type "temporary_auth_tokens" (line 12) | CREATE UNIQUE INDEX "temporary_auth_tokens_token_key" ON "temporary_auth... FILE: server/prisma/migrations/20241029233509_init/migration.sql type "temporary_auth_tokens" (line 2) | CREATE INDEX "temporary_auth_tokens_token_idx" ON "temporary_auth_tokens... type "temporary_auth_tokens" (line 5) | CREATE INDEX "temporary_auth_tokens_userId_idx" ON "temporary_auth_token... FILE: server/prisma/migrations/20250318154720_init/migration.sql type "system_prompt_variables" (line 2) | CREATE TABLE "system_prompt_variables" ( type "system_prompt_variables" (line 15) | CREATE UNIQUE INDEX "system_prompt_variables_key_key" ON "system_prompt_... type "system_prompt_variables" (line 18) | CREATE INDEX "system_prompt_variables_userId_idx" ON "system_prompt_vari... FILE: server/prisma/migrations/20250506214129_init/migration.sql type "prompt_history" (line 2) | CREATE TABLE "prompt_history" ( type "prompt_history" (line 13) | CREATE INDEX "prompt_history_workspaceId_idx" ON "prompt_history"("works... FILE: server/prisma/migrations/20250725194841_init/migration.sql type "desktop_mobile_devices" (line 2) | CREATE TABLE "desktop_mobile_devices" ( type "desktop_mobile_devices" (line 14) | CREATE UNIQUE INDEX "desktop_mobile_devices_token_key" ON "desktop_mobil... type "desktop_mobile_devices" (line 17) | CREATE INDEX "desktop_mobile_devices_userId_idx" ON "desktop_mobile_devi... FILE: server/prisma/migrations/20250808171557_init/migration.sql type "workspace_parsed_files" (line 2) | CREATE TABLE "workspace_parsed_files" ( type "workspace_parsed_files" (line 17) | CREATE UNIQUE INDEX "workspace_parsed_files_filename_key" ON "workspace_... type "workspace_parsed_files" (line 20) | CREATE INDEX "workspace_parsed_files_workspaceId_idx" ON "workspace_pars... type "workspace_parsed_files" (line 23) | CREATE INDEX "workspace_parsed_files_userId_idx" ON "workspace_parsed_fi... FILE: server/prisma/seed.js function main (line 4) | async function main() { FILE: server/swagger/index.js function waitForElm (line 1) | function waitForElm(selector) { FILE: server/swagger/utils.js function faviconUrl (line 5) | function faviconUrl() { function useSwagger (line 11) | function useSwagger(app) { FILE: server/utils/AiProviders/anthropic/index.js class AnthropicLLM (line 13) | class AnthropicLLM { method constructor (line 14) | constructor(embedder = null, modelPreference = null) { method log (line 42) | log(text, ...args) { method streamingEnabled (line 46) | streamingEnabled() { method promptWindowLimit (line 50) | static promptWindowLimit(modelName) { method promptWindowLimit (line 54) | promptWindowLimit() { method isValidChatCompletionModel (line 58) | isValidChatCompletionModel(_modelName = "") { method cacheControl (line 73) | get cacheControl() { method #buildSystemPrompt (line 93) | #buildSystemPrompt(systemContent) { method #generateContent (line 109) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 128) | constructPrompt({ method getChatCompletion (line 150) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 185) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 211) | handleStream(response, stream, responseProps) { method #appendContext (line 298) | #appendContext(contextTexts = []) { method compressMessages (line 310) | async compressMessages(promptArgs = {}, rawHistory = []) { method embedTextInput (line 321) | async embedTextInput(textInput) { method embedChunks (line 324) | async embedChunks(textChunks = []) { FILE: server/utils/AiProviders/apipie/index.js class ApiPieLLM (line 21) | class ApiPieLLM { method constructor (line 22) | constructor(embedder = null, modelPreference = null) { method log (line 52) | log(text, ...args) { method #cacheIsStale (line 59) | #cacheIsStale() { method #syncModels (line 73) | async #syncModels() { method #appendContext (line 82) | #appendContext(contextTexts = []) { method models (line 94) | models() { method chatModels (line 102) | chatModels() { method streamingEnabled (line 120) | streamingEnabled() { method promptWindowLimit (line 124) | static promptWindowLimit(modelName) { method promptWindowLimit (line 135) | promptWindowLimit() { method isValidChatCompletionModel (line 140) | async isValidChatCompletionModel(model = "") { method #generateContent (line 151) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 169) | constructPrompt({ method getChatCompletion (line 190) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 230) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 251) | handleStream(response, stream, responseProps) { method embedTextInput (line 321) | async embedTextInput(textInput) { method embedChunks (line 324) | async embedChunks(textChunks = []) { method compressMessages (line 328) | async compressMessages(promptArgs = {}, rawHistory = []) { function fetchApiPieModels (line 335) | async function fetchApiPieModels(providedApiKey = null) { FILE: server/utils/AiProviders/azureOpenAi/index.js class AzureOpenAiLLM (line 10) | class AzureOpenAiLLM { method constructor (line 11) | constructor(embedder = null, modelPreference = null) { method formatBaseUrl (line 53) | static formatBaseUrl(azureOpenAiEndpoint) { method #log (line 68) | #log(text, ...args) { method #appendContext (line 72) | #appendContext(contextTexts = []) { method streamingEnabled (line 84) | streamingEnabled() { method promptWindowLimit (line 88) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 97) | promptWindowLimit() { method isValidChatCompletionModel (line 103) | isValidChatCompletionModel(_modelName = "") { method #generateContent (line 115) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 132) | constructPrompt({ method getChatCompletion (line 153) | async getChatCompletion(messages = [], { temperature = 0.7 }) { method streamGetChatCompletion (line 188) | async streamGetChatCompletion(messages = [], { temperature = 0.7 }) { method handleStream (line 211) | handleStream(response, stream, responseProps) { method embedTextInput (line 216) | async embedTextInput(textInput) { method embedChunks (line 219) | async embedChunks(textChunks = []) { method compressMessages (line 223) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/bedrock/index.js class AWSBedrockLLM (line 24) | class AWSBedrockLLM { method constructor (line 44) | constructor(embedder = null, modelPreference = null) { method credentials (line 102) | get credentials() { method authMethod (line 111) | get authMethod() { method #appendContext (line 121) | #appendContext(contextTexts = []) { method #log (line 137) | #log(text, ...args) { method #slog (line 145) | static #slog(text, ...args) { method streamingEnabled (line 155) | streamingEnabled() { method promptWindowLimit (line 166) | static promptWindowLimit() { method promptWindowLimit (line 184) | promptWindowLimit() { method getMaxOutputTokens (line 194) | getMaxOutputTokens() { method isValidChatCompletionModel (line 215) | async isValidChatCompletionModel(_modelName = "") { method #validateAttachments (line 225) | #validateAttachments(attachments = []) { method #generateContent (line 278) | #generateContent({ userPrompt = "", attachments = [] }) { method constructPrompt (line 302) | constructPrompt({ method #parseReasoningFromResponse (line 364) | #parseReasoningFromResponse({ content = [] }) { method getChatCompletion (line 392) | async getChatCompletion(messages = null, { temperature }) { method streamGetChatCompletion (line 466) | async streamGetChatCompletion(messages = null, { temperature }) { method handleStream (line 525) | handleStream(response, stream, responseProps) { method embedTextInput (line 719) | async embedTextInput(textInput) { method embedChunks (line 722) | async embedChunks(textChunks = []) { method compressMessages (line 726) | async compressMessages(promptArgs = {}, rawHistory = []) { method errorToHumanReadable (line 732) | static errorToHumanReadable( FILE: server/utils/AiProviders/bedrock/utils.js constant SUPPORTED_BEDROCK_IMAGE_FORMATS (line 6) | const SUPPORTED_BEDROCK_IMAGE_FORMATS = ["jpeg", "png", "gif", "webp"]; constant DEFAULT_MAX_OUTPUT_TOKENS (line 9) | const DEFAULT_MAX_OUTPUT_TOKENS = 4096; constant DEFAULT_CONTEXT_WINDOW_TOKENS (line 12) | const DEFAULT_CONTEXT_WINDOW_TOKENS = 8191; constant SUPPORTED_CONNECTION_METHODS (line 15) | const SUPPORTED_CONNECTION_METHODS = [ function getBedrockAuthMethod (line 26) | function getBedrockAuthMethod() { function createBedrockCredentials (line 36) | function createBedrockCredentials(authMethod) { function createBedrockRuntimeClient (line 69) | function createBedrockRuntimeClient(authMethod, credentials) { function createBedrockChatClient (line 95) | function createBedrockChatClient(config = {}, authMethod, credentials, m... function getImageFormatFromMime (line 114) | function getImageFormatFromMime(mimeType = "") { function base64ToUint8Array (line 140) | function base64ToUint8Array(base64String) { FILE: server/utils/AiProviders/cohere/index.js class CohereLLM (line 9) | class CohereLLM { method constructor (line 10) | constructor(embedder = null) { method #log (line 34) | #log(text, ...args) { method #appendContext (line 38) | #appendContext(contextTexts = []) { method #convertChatHistoryCohere (line 50) | #convertChatHistoryCohere(chatHistory = []) { method streamingEnabled (line 69) | streamingEnabled() { method promptWindowLimit (line 73) | static promptWindowLimit(modelName) { method promptWindowLimit (line 77) | promptWindowLimit() { method isValidChatCompletionModel (line 81) | async isValidChatCompletionModel() { method constructPrompt (line 85) | constructPrompt({ method getChatCompletion (line 98) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 134) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 160) | async handleStream(response, stream, responseProps) { method embedTextInput (line 235) | async embedTextInput(textInput) { method embedChunks (line 238) | async embedChunks(textChunks = []) { method compressMessages (line 242) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/cometapi/index.js class CometApiLLM (line 21) | class CometApiLLM { method constructor (line 23) | constructor(embedder = null, modelPreference = null) { method log (line 58) | log(text, ...args) { method #parseTimeout (line 68) | #parseTimeout() { method #cacheIsStale (line 82) | #cacheIsStale() { method #syncModels (line 95) | async #syncModels() { method #appendContext (line 106) | #appendContext(contextTexts = []) { method models (line 118) | models() { method streamingEnabled (line 126) | streamingEnabled() { method promptWindowLimit (line 130) | static promptWindowLimit(modelName) { method promptWindowLimit (line 141) | promptWindowLimit() { method isValidChatCompletionModel (line 146) | async isValidChatCompletionModel(model = "") { method #generateContent (line 157) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 175) | constructPrompt({ method getChatCompletion (line 196) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 235) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 263) | handleStream(response, stream, responseProps) { method embedTextInput (line 369) | async embedTextInput(textInput) { method embedChunks (line 372) | async embedChunks(textChunks = []) { method compressMessages (line 376) | async compressMessages(promptArgs = {}, rawHistory = []) { function fetchCometApiModels (line 387) | async function fetchCometApiModels() { FILE: server/utils/AiProviders/deepseek/index.js class DeepSeekLLM (line 12) | class DeepSeekLLM { method constructor (line 13) | constructor(embedder = null, modelPreference = null) { method log (line 38) | log(text, ...args) { method #appendContext (line 42) | #appendContext(contextTexts = []) { method streamingEnabled (line 54) | streamingEnabled() { method promptWindowLimit (line 58) | static promptWindowLimit(modelName) { method promptWindowLimit (line 62) | promptWindowLimit() { method isValidChatCompletionModel (line 66) | async isValidChatCompletionModel(modelName = "") { method constructPrompt (line 71) | constructPrompt({ method #parseReasoningFromResponse (line 89) | #parseReasoningFromResponse({ message }) { method getChatCompletion (line 99) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 140) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 165) | handleStream(response, stream, responseProps) { method embedTextInput (line 301) | async embedTextInput(textInput) { method embedChunks (line 304) | async embedChunks(textChunks = []) { method compressMessages (line 308) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/dellProAiStudio/index.js class DellProAiStudioLLM (line 11) | class DellProAiStudioLLM { method constructor (line 12) | constructor(embedder = null, modelPreference = null) { method parseBasePath (line 43) | static parseBasePath(providedBasePath = process.env.DPAIS_LLM_BASE_PAT... method log (line 53) | log(text, ...args) { method #appendContext (line 57) | #appendContext(contextTexts = []) { method streamingEnabled (line 69) | streamingEnabled() { method promptWindowLimit (line 73) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 82) | promptWindowLimit() { method isValidChatCompletionModel (line 89) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 98) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 119) | constructPrompt({ method getChatCompletion (line 140) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 175) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 196) | handleStream(response, stream, responseProps) { method embedTextInput (line 201) | async embedTextInput(textInput) { method embedChunks (line 204) | async embedChunks(textChunks = []) { method compressMessages (line 208) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/dockerModelRunner/index.js class DockerModelRunnerLLM (line 15) | class DockerModelRunnerLLM { method constructor (line 23) | constructor(embedder = null, modelPreference = null) { method #log (line 51) | #log(text, ...args) { method slog (line 55) | static slog(text, ...args) { method assertModelContextLimits (line 59) | async assertModelContextLimits() { method #appendContext (line 68) | #appendContext(contextTexts = []) { method streamingEnabled (line 80) | streamingEnabled() { method promptWindowLimit (line 85) | static promptWindowLimit(_) { method promptWindowLimit (line 91) | promptWindowLimit() { method isValidChatCompletionModel (line 95) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 104) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 127) | constructPrompt({ method getChatCompletion (line 148) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 183) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 204) | handleStream(response, stream, responseProps) { method getModelCapabilities (line 215) | async getModelCapabilities() { method embedTextInput (line 250) | async embedTextInput(textInput) { method embedChunks (line 253) | async embedChunks(textChunks = []) { method compressMessages (line 257) | async compressMessages(promptArgs = {}, rawHistory = []) { function parseDockerModelRunnerEndpoint (line 271) | function parseDockerModelRunnerEndpoint(basePath = null, to = "openai") { function filterByTask (line 301) | function filterByTask(task = "chat", models = {}) { function fetchRemoteModels (line 323) | async function fetchRemoteModels(task = "chat") { function getDockerModels (line 445) | async function getDockerModels(basePath = null, task = "chat") { FILE: server/utils/AiProviders/fireworksAi/index.js class FireworksAiLLM (line 18) | class FireworksAiLLM { method constructor (line 19) | constructor(embedder = null, modelPreference = null) { method log (line 45) | log(text, ...args) { method #cacheIsStale (line 52) | #cacheIsStale() { method #syncModels (line 66) | async #syncModels() { method models (line 77) | models() { method #appendContext (line 85) | #appendContext(contextTexts = []) { method streamingEnabled (line 97) | streamingEnabled() { method promptWindowLimit (line 101) | static promptWindowLimit(modelName) { method promptWindowLimit (line 114) | promptWindowLimit() { method isValidChatCompletionModel (line 119) | async isValidChatCompletionModel(model = "") { method constructPrompt (line 125) | constructPrompt({ method getChatCompletion (line 138) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 173) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 194) | handleStream(response, stream, responseProps) { method embedTextInput (line 199) | async embedTextInput(textInput) { method embedChunks (line 202) | async embedChunks(textChunks = []) { method compressMessages (line 206) | async compressMessages(promptArgs = {}, rawHistory = []) { function fireworksAiModels (line 213) | async function fireworksAiModels(providedApiKey = null) { FILE: server/utils/AiProviders/foundry/index.js class FoundryLLM (line 14) | class FoundryLLM { method constructor (line 18) | constructor(embedder = null, modelPreference = null) { method #slog (line 36) | static #slog(text, ...args) { method #log (line 40) | #log(text, ...args) { method assertModelContextLimits (line 44) | async assertModelContextLimits() { method #appendContext (line 54) | #appendContext(contextTexts = []) { method streamingEnabled (line 66) | streamingEnabled() { method cacheContextWindows (line 81) | static async cacheContextWindows(force = false) { method unloadModelFromEngine (line 113) | static async unloadModelFromEngine(modelName) { method promptWindowLimit (line 123) | static promptWindowLimit(modelName) { method promptWindowLimit (line 149) | promptWindowLimit() { method isValidChatCompletionModel (line 153) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 162) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 185) | constructPrompt({ method getChatCompletion (line 206) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 246) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method timeout (line 273) | get timeout() { method handleStream (line 284) | handleStream(response, stream, responseProps) { method embedTextInput (line 441) | async embedTextInput(textInput) { method embedChunks (line 444) | async embedChunks(textChunks = []) { method compressMessages (line 448) | async compressMessages(promptArgs = {}, rawHistory = []) { function parseFoundryBasePath (line 462) | function parseFoundryBasePath(providedBasePath = "") { FILE: server/utils/AiProviders/gemini/index.js constant NO_SYSTEM_PROMPT_MODELS (line 20) | const NO_SYSTEM_PROMPT_MODELS = [ class GeminiLLM (line 27) | class GeminiLLM { method constructor (line 28) | constructor(embedder = null, modelPreference = null) { method supportsSystemPrompt (line 70) | get supportsSystemPrompt() { method #log (line 74) | #log(text, ...args) { method cacheIsStale (line 81) | static cacheIsStale() { method #appendContext (line 91) | #appendContext(contextTexts = []) { method streamingEnabled (line 103) | streamingEnabled() { method promptWindowLimit (line 107) | static promptWindowLimit(modelName) { method promptWindowLimit (line 126) | promptWindowLimit() { method isExperimentalModel (line 149) | isExperimentalModel(modelName) { method fetchModels (line 172) | static async fetchModels(apiKey, limit = 1_000, pageToken = null) { method isValidChatCompletionModel (line 310) | async isValidChatCompletionModel(modelName = "") { method #generateContent (line 320) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 341) | constructPrompt({ method getChatCompletion (line 380) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 415) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 435) | handleStream(response, stream, responseProps) { method compressMessages (line 439) | async compressMessages(promptArgs = {}, rawHistory = []) { method embedTextInput (line 446) | async embedTextInput(textInput) { method embedChunks (line 449) | async embedChunks(textChunks = []) { FILE: server/utils/AiProviders/gemini/syncStaticLists.mjs function updateDefaultModelsFile (line 27) | function updateDefaultModelsFile(models) { FILE: server/utils/AiProviders/genericOpenAi/index.js class GenericOpenAiLLM (line 14) | class GenericOpenAiLLM { method constructor (line 15) | constructor(embedder = null, modelPreference = null) { method log (line 50) | log(text, ...args) { method parseCustomHeaders (line 59) | static parseCustomHeaders() { method #appendContext (line 79) | #appendContext(contextTexts = []) { method streamingEnabled (line 91) | streamingEnabled() { method promptWindowLimit (line 96) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 105) | promptWindowLimit() { method isValidChatCompletionModel (line 114) | isValidChatCompletionModel(_modelName = "") { method #generateContent (line 135) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 158) | constructPrompt({ method #extractLlamaCppTimings (line 186) | #extractLlamaCppTimings(response, usage) { method #parseReasoningFromResponse (line 201) | #parseReasoningFromResponse({ message }) { method getChatCompletion (line 211) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 251) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 271) | handleStream(response, stream, responseProps) { method embedTextInput (line 408) | async embedTextInput(textInput) { method embedChunks (line 411) | async embedChunks(textChunks = []) { method compressMessages (line 415) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/giteeai/index.js constant LEGACY_MODEL_MAP (line 5) | const LEGACY_MODEL_MAP = require("../modelMap/legacy"); class GiteeAILLM (line 20) | class GiteeAILLM { method constructor (line 21) | constructor(embedder = null, modelPreference = null) { method log (line 48) | log(text, ...args) { method models (line 52) | models() { method #appendContext (line 60) | #appendContext(contextTexts = []) { method streamingEnabled (line 72) | streamingEnabled() { method promptWindowLimit (line 76) | static promptWindowLimit(model) { method promptWindowLimit (line 84) | promptWindowLimit() { method isValidChatCompletionModel (line 92) | async isValidChatCompletionModel(_modelName = "") { method constructPrompt (line 96) | constructPrompt({ method #parseReasoningFromResponse (line 114) | #parseReasoningFromResponse({ message }) { method getChatCompletion (line 124) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 160) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 180) | handleStream(response, stream, responseProps) { method embedTextInput (line 316) | async embedTextInput(textInput) { method embedChunks (line 320) | async embedChunks(textChunks = []) { method compressMessages (line 324) | async compressMessages(promptArgs = {}, rawHistory = []) { function giteeAiModels (line 331) | async function giteeAiModels() { FILE: server/utils/AiProviders/groq/index.js class GroqLLM (line 10) | class GroqLLM { method constructor (line 11) | constructor(embedder = null, modelPreference = null) { method #appendContext (line 32) | #appendContext(contextTexts = []) { method #log (line 44) | #log(text, ...args) { method streamingEnabled (line 48) | streamingEnabled() { method promptWindowLimit (line 52) | static promptWindowLimit(modelName) { method promptWindowLimit (line 56) | promptWindowLimit() { method isValidChatCompletionModel (line 60) | async isValidChatCompletionModel(modelName = "") { method #generateContent (line 69) | #generateContent({ userPrompt, attachments = [] }) { method #conditionalPromptStruct (line 96) | #conditionalPromptStruct({ method constructPrompt (line 156) | constructPrompt({ method getChatCompletion (line 173) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 214) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 236) | handleStream(response, stream, responseProps) { method embedTextInput (line 241) | async embedTextInput(textInput) { method embedChunks (line 244) | async embedChunks(textChunks = []) { method compressMessages (line 248) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/huggingface/index.js class HuggingFaceLLM (line 9) | class HuggingFaceLLM { method constructor (line 10) | constructor(embedder = null, _modelPreference = null) { method #appendContext (line 36) | #appendContext(contextTexts = []) { method streamingEnabled (line 48) | streamingEnabled() { method promptWindowLimit (line 52) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 59) | promptWindowLimit() { method isValidChatCompletionModel (line 66) | async isValidChatCompletionModel(_ = "") { method constructPrompt (line 70) | constructPrompt({ method getChatCompletion (line 93) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 128) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 144) | handleStream(response, stream, responseProps) { method embedTextInput (line 149) | async embedTextInput(textInput) { method embedChunks (line 152) | async embedChunks(textChunks = []) { method compressMessages (line 156) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/koboldCPP/index.js class KoboldCPPLLM (line 12) | class KoboldCPPLLM { method constructor (line 13) | constructor(embedder = null, modelPreference = null) { method log (line 40) | log(text, ...args) { method #appendContext (line 44) | #appendContext(contextTexts = []) { method streamingEnabled (line 56) | streamingEnabled() { method promptWindowLimit (line 60) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 69) | promptWindowLimit() { method isValidChatCompletionModel (line 78) | isValidChatCompletionModel(_modelName = "") { method #generateContent (line 87) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 109) | constructPrompt({ method getChatCompletion (line 130) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 170) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 187) | handleStream(response, stream, responseProps) { method embedTextInput (line 248) | async embedTextInput(textInput) { method embedChunks (line 251) | async embedChunks(textChunks = []) { method compressMessages (line 255) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/lemonade/index.js class LemonadeLLM (line 12) | class LemonadeLLM { method constructor (line 13) | constructor(embedder = null, modelPreference = null) { method #log (line 41) | #log(text, ...args) { method slog (line 45) | static slog(text, ...args) { method assertModelContextLimits (line 49) | async assertModelContextLimits() { method #appendContext (line 61) | #appendContext(contextTexts = []) { method streamingEnabled (line 73) | streamingEnabled() { method promptWindowLimit (line 78) | static promptWindowLimit(_) { method promptWindowLimit (line 82) | promptWindowLimit() { method isValidChatCompletionModel (line 86) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 95) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 118) | constructPrompt({ method getChatCompletion (line 139) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 170) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 187) | handleStream(response, stream, responseProps) { method getModelCapabilities (line 198) | async getModelCapabilities() { method loadModel (line 231) | static async loadModel(model, basePath = process.env.LEMONADE_LLM_BASE... method embedTextInput (line 268) | async embedTextInput(textInput) { method embedChunks (line 271) | async embedChunks(textChunks = []) { method compressMessages (line 275) | async compressMessages(promptArgs = {}, rawHistory = []) { function extractModelOrganization (line 293) | function extractModelOrganization(modelId) { function parseLemonadeServerEndpoint (line 304) | function parseLemonadeServerEndpoint(basePath = null, to = "openai") { function getAllLemonadeModels (line 323) | async function getAllLemonadeModels(basePath = null, task = "chat") { FILE: server/utils/AiProviders/liteLLM/index.js class LiteLLM (line 10) | class LiteLLM { method constructor (line 11) | constructor(embedder = null, modelPreference = null) { method log (line 38) | log(text, ...args) { method #appendContext (line 42) | #appendContext(contextTexts = []) { method streamingEnabled (line 54) | streamingEnabled() { method promptWindowLimit (line 58) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 67) | promptWindowLimit() { method isValidChatCompletionModel (line 76) | isValidChatCompletionModel(_modelName = "") { method #generateContent (line 85) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 107) | constructPrompt({ method getChatCompletion (line 128) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 163) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 180) | handleStream(response, stream, responseProps) { method embedTextInput (line 185) | async embedTextInput(textInput) { method embedChunks (line 188) | async embedChunks(textChunks = []) { method compressMessages (line 192) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/lmStudio/index.js class LMStudioLLM (line 12) | class LMStudioLLM { method constructor (line 16) | constructor(embedder = null, modelPreference = null) { method #log (line 46) | #log(text, ...args) { method #slog (line 50) | static #slog(text, ...args) { method assertModelContextLimits (line 54) | async assertModelContextLimits() { method cacheContextWindows (line 73) | static async cacheContextWindows(force = false) { method #appendContext (line 114) | #appendContext(contextTexts = []) { method streamingEnabled (line 126) | streamingEnabled() { method promptWindowLimit (line 130) | static promptWindowLimit(modelName) { method promptWindowLimit (line 156) | promptWindowLimit() { method isValidChatCompletionModel (line 160) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 171) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 194) | constructPrompt({ method getChatCompletion (line 215) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 250) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 271) | handleStream(response, stream, responseProps) { method getModelCapabilities (line 280) | async getModelCapabilities() { method embedTextInput (line 330) | async embedTextInput(textInput) { method embedChunks (line 333) | async embedChunks(textChunks = []) { method compressMessages (line 337) | async compressMessages(promptArgs = {}, rawHistory = []) { function parseLMStudioBasePath (line 352) | function parseLMStudioBasePath(providedBasePath = "", apiVersion = "lega... FILE: server/utils/AiProviders/localAi/index.js class LocalAiLLM (line 10) | class LocalAiLLM { method constructor (line 11) | constructor(embedder = null, modelPreference = null) { method #appendContext (line 32) | #appendContext(contextTexts = []) { method streamingEnabled (line 44) | streamingEnabled() { method promptWindowLimit (line 48) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 57) | promptWindowLimit() { method isValidChatCompletionModel (line 64) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 73) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 95) | constructPrompt({ method getChatCompletion (line 116) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 156) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 177) | handleStream(response, stream, responseProps) { method embedTextInput (line 182) | async embedTextInput(textInput) { method embedChunks (line 185) | async embedChunks(textChunks = []) { method compressMessages (line 189) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/mistral/index.js class MistralLLM (line 10) | class MistralLLM { method constructor (line 11) | constructor(embedder = null, modelPreference = null) { method log (line 34) | log(text, ...args) { method #appendContext (line 38) | #appendContext(contextTexts = []) { method streamingEnabled (line 50) | streamingEnabled() { method promptWindowLimit (line 54) | static promptWindowLimit() { method promptWindowLimit (line 58) | promptWindowLimit() { method isValidChatCompletionModel (line 62) | async isValidChatCompletionModel(_modelName = "") { method #generateContent (line 71) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 89) | constructPrompt({ method getChatCompletion (line 110) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 149) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 170) | handleStream(response, stream, responseProps) { method embedTextInput (line 175) | async embedTextInput(textInput) { method embedChunks (line 178) | async embedChunks(textChunks = []) { method compressMessages (line 182) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/modelMap/index.js constant LEGACY_MODEL_MAP (line 3) | const LEGACY_MODEL_MAP = require("./legacy"); class ContextWindowFinder (line 5) | class ContextWindowFinder { method constructor (line 38) | constructor() { method log (line 52) | log(text, ...args) { method isCacheStale (line 60) | get isCacheStale() { method cachedModelMap (line 73) | get cachedModelMap() { method #pullRemoteModelMap (line 101) | async #pullRemoteModelMap() { method #validateModelMap (line 129) | #validateModelMap(modelMap = {}) { method #formatModelMap (line 159) | #formatModelMap(modelMap = {}) { method get (line 193) | get(provider = null, model = null) { FILE: server/utils/AiProviders/modelMap/legacy.js constant LEGACY_MODEL_MAP (line 1) | const LEGACY_MODEL_MAP = { FILE: server/utils/AiProviders/moonshotAi/index.js class MoonshotAiLLM (line 11) | class MoonshotAiLLM { method constructor (line 12) | constructor(embedder = null, modelPreference = null) { method log (line 39) | log(text, ...args) { method #appendContext (line 43) | #appendContext(contextTexts = []) { method #generateContent (line 60) | #generateContent({ userPrompt, attachments = [] }) { method streamingEnabled (line 77) | streamingEnabled() { method promptWindowLimit (line 81) | promptWindowLimit() { method constructPrompt (line 85) | constructPrompt({ method compressMessages (line 106) | async compressMessages(promptArgs = {}, rawHistory = []) { method getChatCompletion (line 112) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 146) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 163) | handleStream(response, stream, responseProps) { method embedTextInput (line 168) | async embedTextInput(textInput) { method embedChunks (line 171) | async embedChunks(textChunks = []) { FILE: server/utils/AiProviders/novita/index.js class NovitaLLM (line 20) | class NovitaLLM { method constructor (line 23) | constructor(embedder = null, modelPreference = null) { method log (line 60) | log(text, ...args) { method #parseTimeout (line 70) | #parseTimeout() { method #cacheIsStale (line 84) | #cacheIsStale() { method #syncModels (line 97) | async #syncModels() { method #appendContext (line 106) | #appendContext(contextTexts = []) { method models (line 118) | models() { method streamingEnabled (line 126) | streamingEnabled() { method promptWindowLimit (line 130) | static promptWindowLimit(modelName) { method promptWindowLimit (line 141) | promptWindowLimit() { method getModelCapabilities (line 150) | async getModelCapabilities() { method isValidChatCompletionModel (line 172) | async isValidChatCompletionModel(model = "") { method #generateContent (line 183) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 201) | constructPrompt({ method getChatCompletion (line 222) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 261) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 289) | handleStream(response, stream, responseProps) { method embedTextInput (line 395) | async embedTextInput(textInput) { method embedChunks (line 398) | async embedChunks(textChunks = []) { method compressMessages (line 402) | async compressMessages(promptArgs = {}, rawHistory = []) { function fetchNovitaModels (line 409) | async function fetchNovitaModels() { FILE: server/utils/AiProviders/nvidiaNim/index.js class NvidiaNimLLM (line 10) | class NvidiaNimLLM { method constructor (line 11) | constructor(embedder = null, modelPreference = null) { method #log (line 36) | #log(text, ...args) { method #appendContext (line 40) | #appendContext(contextTexts = []) { method setModelTokenLimit (line 58) | static async setModelTokenLimit(modelId, basePath = null) { method streamingEnabled (line 82) | streamingEnabled() { method promptWindowLimit (line 86) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 95) | promptWindowLimit() { method isValidChatCompletionModel (line 102) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 111) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 134) | constructPrompt({ method getChatCompletion (line 155) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 194) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 215) | handleStream(response, stream, responseProps) { method embedTextInput (line 220) | async embedTextInput(textInput) { method embedChunks (line 223) | async embedChunks(textChunks = []) { method compressMessages (line 227) | async compressMessages(promptArgs = {}, rawHistory = []) { function parseNvidiaNimBasePath (line 240) | function parseNvidiaNimBasePath(providedBasePath = "") { FILE: server/utils/AiProviders/ollama/index.js class OllamaAILLM (line 14) | class OllamaAILLM { method constructor (line 18) | constructor(embedder = null, modelPreference = null) { method #log (line 48) | #log(text, ...args) { method #slog (line 52) | static #slog(text, ...args) { method assertModelContextLimits (line 56) | async assertModelContextLimits() { method cacheContextWindows (line 78) | static async cacheContextWindows(force = false) { method #appendContext (line 117) | #appendContext(contextTexts = []) { method applyOllamaFetch (line 135) | static applyOllamaFetch() { method streamingEnabled (line 169) | streamingEnabled() { method promptWindowLimit (line 173) | static promptWindowLimit(modelName) { method promptWindowLimit (line 202) | promptWindowLimit() { method maxContextWindow (line 206) | static maxContextWindow(modelName = null) { method isValidChatCompletionModel (line 212) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 221) | #generateContent({ userPrompt, attachments = [] }) { method #errorHandler (line 233) | #errorHandler(e) { method constructPrompt (line 249) | constructPrompt({ method getChatCompletion (line 270) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 323) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 352) | handleStream(response, stream, responseProps) { method getModelCapabilities (line 476) | async getModelCapabilities() { method embedTextInput (line 499) | async embedTextInput(textInput) { method embedChunks (line 502) | async embedChunks(textChunks = []) { method compressMessages (line 506) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/openAi/index.js class OpenAiLLM (line 13) | class OpenAiLLM { method constructor (line 14) | constructor(embedder = null, modelPreference = null) { method log (line 36) | log(text, ...args) { method #appendContext (line 40) | #appendContext(contextTexts = []) { method streamingEnabled (line 52) | streamingEnabled() { method promptWindowLimit (line 56) | static promptWindowLimit(modelName) { method promptWindowLimit (line 60) | promptWindowLimit() { method isValidChatCompletionModel (line 69) | async isValidChatCompletionModel(modelName = "") { method #generateContent (line 87) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 107) | constructPrompt({ method #temperature (line 134) | #temperature(modelName, temperature) { method getChatCompletion (line 146) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 185) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 208) | handleStream(response, stream, responseProps) { method embedTextInput (line 285) | async embedTextInput(textInput) { method embedChunks (line 288) | async embedChunks(textChunks = []) { method compressMessages (line 292) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/openRouter/index.js class OpenRouterLLM (line 20) | class OpenRouterLLM { method constructor (line 31) | constructor(embedder = null, modelPreference = null) { method isPerplexityModel (line 71) | get isPerplexityModel() { method enrichToken (line 81) | enrichToken({ token, citations = [] }) { method log (line 91) | log(text, ...args) { method #parseTimeout (line 101) | #parseTimeout() { method #cacheIsStale (line 115) | #cacheIsStale() { method #syncModels (line 128) | async #syncModels() { method #appendContext (line 139) | #appendContext(contextTexts = []) { method models (line 151) | models() { method streamingEnabled (line 159) | streamingEnabled() { method promptWindowLimit (line 163) | static promptWindowLimit(modelName) { method promptWindowLimit (line 174) | promptWindowLimit() { method isValidChatCompletionModel (line 179) | async isValidChatCompletionModel(model = "") { method #generateContent (line 190) | #generateContent({ userPrompt, attachments = [] }) { method #parseReasoningFromResponse (line 213) | #parseReasoningFromResponse({ message }) { method constructPrompt (line 220) | constructPrompt({ method getChatCompletion (line 241) | async getChatCompletion(messages = null, { temperature = 0.7, user = n... method streamGetChatCompletion (line 286) | async streamGetChatCompletion( method handleStream (line 326) | handleStream(response, stream, responseProps) { method embedTextInput (line 503) | async embedTextInput(textInput) { method embedChunks (line 506) | async embedChunks(textChunks = []) { method compressMessages (line 510) | async compressMessages(promptArgs = {}, rawHistory = []) { function fetchOpenRouterModels (line 517) | async function fetchOpenRouterModels() { FILE: server/utils/AiProviders/perplexity/index.js function perplexityModels (line 11) | function perplexityModels() { class PerplexityLLM (line 16) | class PerplexityLLM { method constructor (line 17) | constructor(embedder = null, modelPreference = null) { method #appendContext (line 41) | #appendContext(contextTexts = []) { method allModelInformation (line 53) | allModelInformation() { method streamingEnabled (line 57) | streamingEnabled() { method promptWindowLimit (line 61) | static promptWindowLimit(modelName) { method promptWindowLimit (line 66) | promptWindowLimit() { method isValidChatCompletionModel (line 71) | async isValidChatCompletionModel(model = "") { method constructPrompt (line 76) | constructPrompt({ method getChatCompletion (line 89) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 128) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method enrichToken (line 155) | enrichToken(token, citations) { method handleStream (line 165) | handleStream(response, stream, responseProps) { method embedTextInput (line 287) | async embedTextInput(textInput) { method embedChunks (line 290) | async embedChunks(textChunks = []) { method compressMessages (line 294) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/perplexity/models.js constant MODELS (line 1) | const MODELS = { FILE: server/utils/AiProviders/perplexity/scripts/parse.mjs function parseChatModels (line 20) | function parseChatModels() { FILE: server/utils/AiProviders/ppio/index.js class PPIOLLM (line 17) | class PPIOLLM { method constructor (line 18) | constructor(embedder = null, modelPreference = null) { method log (line 53) | log(text, ...args) { method #syncModels (line 57) | async #syncModels() { method #cacheIsStale (line 66) | #cacheIsStale() { method #appendContext (line 74) | #appendContext(contextTexts = []) { method models (line 86) | models() { method streamingEnabled (line 94) | streamingEnabled() { method promptWindowLimit (line 98) | promptWindowLimit() { method isValidChatCompletionModel (line 104) | async isValidChatCompletionModel(model = "") { method #generateContent (line 116) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 134) | constructPrompt({ method getChatCompletion (line 148) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 187) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 208) | handleStream(response, stream, responseProps) { method embedTextInput (line 212) | async embedTextInput(textInput) { method embedChunks (line 215) | async embedChunks(textChunks = []) { method compressMessages (line 219) | async compressMessages(promptArgs = {}, rawHistory = []) { function fetchPPIOModels (line 226) | async function fetchPPIOModels() { FILE: server/utils/AiProviders/privatemode/index.js class PrivatemodeLLM (line 10) | class PrivatemodeLLM { method constructor (line 19) | constructor(embedder = null, modelPreference = null) { method parseBasePath (line 50) | static parseBasePath( method log (line 62) | log(text, ...args) { method #appendContext (line 66) | #appendContext(contextTexts = []) { method streamingEnabled (line 78) | streamingEnabled() { method promptWindowLimit (line 82) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 87) | promptWindowLimit() { method isValidChatCompletionModel (line 92) | async isValidChatCompletionModel(_ = "") { method #generateContent (line 101) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 122) | constructPrompt({ method getChatCompletion (line 143) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 178) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 199) | handleStream(response, stream, responseProps) { method embedTextInput (line 204) | async embedTextInput(textInput) { method embedChunks (line 207) | async embedChunks(textChunks = []) { method compressMessages (line 211) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/sambanova/index.js class SambaNovaLLM (line 12) | class SambaNovaLLM { method constructor (line 13) | constructor(embedder = null, modelPreference = null) { method log (line 37) | log(text, ...args) { method #appendContext (line 41) | #appendContext(contextTexts = []) { method streamingEnabled (line 53) | streamingEnabled() { method promptWindowLimit (line 57) | static promptWindowLimit(modelName) { method promptWindowLimit (line 61) | promptWindowLimit() { method isValidChatCompletionModel (line 65) | async isValidChatCompletionModel(modelName = "") { method #generateContent (line 74) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 94) | constructPrompt({ method getChatCompletion (line 115) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 149) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 169) | handleStream(response, stream, responseProps) { method embedTextInput (line 257) | async embedTextInput(textInput) { method embedChunks (line 260) | async embedChunks(textChunks = []) { method compressMessages (line 264) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/textGenWebUI/index.js class TextGenWebUILLM (line 10) | class TextGenWebUILLM { method constructor (line 11) | constructor(embedder = null) { method log (line 36) | log(text, ...args) { method #appendContext (line 40) | #appendContext(contextTexts = []) { method streamingEnabled (line 52) | streamingEnabled() { method promptWindowLimit (line 56) | static promptWindowLimit(_modelName) { method promptWindowLimit (line 65) | promptWindowLimit() { method isValidChatCompletionModel (line 74) | isValidChatCompletionModel(_modelName = "") { method #generateContent (line 83) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 105) | constructPrompt({ method getChatCompletion (line 126) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 160) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 176) | handleStream(response, stream, responseProps) { method embedTextInput (line 181) | async embedTextInput(textInput) { method embedChunks (line 184) | async embedChunks(textChunks = []) { method compressMessages (line 188) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/togetherAi/index.js function togetherAiModels (line 18) | async function togetherAiModels(apiKey = null) { class TogetherAiLLM (line 80) | class TogetherAiLLM { method constructor (line 81) | constructor(embedder = null, modelPreference = null) { method #appendContext (line 101) | #appendContext(contextTexts = []) { method #generateContent (line 113) | #generateContent({ userPrompt, attachments = [] }) { method allModelInformation (line 130) | async allModelInformation() { method streamingEnabled (line 138) | streamingEnabled() { method promptWindowLimit (line 142) | static async promptWindowLimit(modelName) { method promptWindowLimit (line 148) | async promptWindowLimit() { method isValidChatCompletionModel (line 154) | async isValidChatCompletionModel(model = "") { method constructPrompt (line 160) | constructPrompt({ method getChatCompletion (line 181) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 220) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 241) | handleStream(response, stream, responseProps) { method embedTextInput (line 246) | async embedTextInput(textInput) { method embedChunks (line 249) | async embedChunks(textChunks = []) { method compressMessages (line 253) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/xai/index.js class XAiLLM (line 11) | class XAiLLM { method constructor (line 12) | constructor(embedder = null, modelPreference = null) { method log (line 37) | log(text, ...args) { method #appendContext (line 41) | #appendContext(contextTexts = []) { method streamingEnabled (line 53) | streamingEnabled() { method promptWindowLimit (line 57) | static promptWindowLimit(modelName) { method promptWindowLimit (line 61) | promptWindowLimit() { method isValidChatCompletionModel (line 65) | isValidChatCompletionModel(_modelName = "") { method #generateContent (line 74) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 97) | constructPrompt({ method getChatCompletion (line 118) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 157) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 179) | handleStream(response, stream, responseProps) { method embedTextInput (line 184) | async embedTextInput(textInput) { method embedChunks (line 187) | async embedChunks(textChunks = []) { method compressMessages (line 191) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/AiProviders/zai/index.js class ZAiLLM (line 10) | class ZAiLLM { method constructor (line 11) | constructor(embedder = null, modelPreference = null) { method log (line 34) | log(text, ...args) { method #appendContext (line 38) | #appendContext(contextTexts = []) { method streamingEnabled (line 50) | streamingEnabled() { method promptWindowLimit (line 54) | static promptWindowLimit(modelName) { method promptWindowLimit (line 58) | promptWindowLimit() { method isValidChatCompletionModel (line 62) | async isValidChatCompletionModel(modelName = "") { method #generateContent (line 71) | #generateContent({ userPrompt, attachments = [] }) { method constructPrompt (line 91) | constructPrompt({ method getChatCompletion (line 112) | async getChatCompletion(messages = null, { temperature = 0.7 }) { method streamGetChatCompletion (line 146) | async streamGetChatCompletion(messages = null, { temperature = 0.7 }) { method handleStream (line 163) | handleStream(response, stream, responseProps) { method embedTextInput (line 168) | async embedTextInput(textInput) { method embedChunks (line 171) | async embedChunks(textChunks = []) { method compressMessages (line 175) | async compressMessages(promptArgs = {}, rawHistory = []) { FILE: server/utils/BackgroundWorkers/index.js class BackgroundService (line 6) | class BackgroundService { method constructor (line 29) | constructor() { method #log (line 39) | #log(text, ...args) { method boot (line 43) | async boot() { method stop (line 66) | async stop() { method jobs (line 75) | jobs() { method onError (line 81) | onError(error, _workerMetadata) { method onWorkerMessageHandler (line 88) | onWorkerMessageHandler(message, _workerMetadata) { FILE: server/utils/DocumentManager/index.js class DocumentManager (line 9) | class DocumentManager { method constructor (line 10) | constructor({ workspace = null, maxTokens = null }) { method log (line 16) | log(text, ...args) { method pinnedDocuments (line 20) | async pinnedDocuments() { method pinnedDocs (line 29) | async pinnedDocs() { FILE: server/utils/EmbeddingEngines/azureOpenAi/index.js class AzureOpenAiEmbedder (line 3) | class AzureOpenAiEmbedder { method constructor (line 4) | constructor() { method log (line 32) | log(text, ...args) { method embedTextInput (line 36) | async embedTextInput(textInput) { method embedChunks (line 43) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/cohere/index.js class CohereEmbedder (line 3) | class CohereEmbedder { method constructor (line 4) | constructor() { method embedTextInput (line 22) | async embedTextInput(textInput) { method embedChunks (line 28) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/gemini/index.js constant MODEL_MAP (line 3) | const MODEL_MAP = { class GeminiEmbedder (line 7) | class GeminiEmbedder { method constructor (line 8) | constructor() { method log (line 33) | log(text, ...args) { method outputDimensions (line 37) | get outputDimensions() { method embedTextInput (line 52) | async embedTextInput(textInput) { method embedChunks (line 64) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/genericOpenAi/index.js class GenericOpenAiEmbedder (line 3) | class GenericOpenAiEmbedder { method constructor (line 4) | constructor() { method log (line 28) | log(text, ...args) { method apiRequestDelay (line 40) | get apiRequestDelay() { method runDelay (line 55) | async runDelay() { method maxConcurrentChunks (line 66) | get maxConcurrentChunks() { method embedTextInput (line 76) | async embedTextInput(textInput) { method embedChunks (line 83) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/lemonade/index.js class LemonadeEmbedder (line 3) | class LemonadeEmbedder { method constructor (line 4) | constructor() { method log (line 24) | log(text, ...args) { method embedTextInput (line 28) | async embedTextInput(textInput) { method embedChunks (line 42) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/liteLLM/index.js class LiteLLMEmbedder (line 3) | class LiteLLMEmbedder { method constructor (line 4) | constructor() { method embedTextInput (line 22) | async embedTextInput(textInput) { method embedChunks (line 29) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/lmstudio/index.js class LMStudioEmbedder (line 4) | class LMStudioEmbedder { method constructor (line 5) | constructor() { method log (line 25) | log(text, ...args) { method #isAlive (line 29) | async #isAlive() { method embedTextInput (line 39) | async embedTextInput(textInput) { method embedChunks (line 46) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/localAi/index.js class LocalAiEmbedder (line 3) | class LocalAiEmbedder { method constructor (line 4) | constructor() { method log (line 30) | log(text, ...args) { method outputDimensions (line 34) | get outputDimensions() { method embedTextInput (line 44) | async embedTextInput(textInput) { method embedChunks (line 51) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/mistral/index.js class MistralEmbedder (line 1) | class MistralEmbedder { method constructor (line 2) | constructor() { method embedTextInput (line 14) | async embedTextInput(textInput) { method embedChunks (line 27) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/native/constants.js constant SUPPORTED_NATIVE_EMBEDDING_MODELS (line 1) | const SUPPORTED_NATIVE_EMBEDDING_MODELS = { FILE: server/utils/EmbeddingEngines/native/index.js class NativeEmbedder (line 7) | class NativeEmbedder { method constructor (line 32) | constructor() { method log (line 53) | log(text, ...args) { method _getEmbeddingModel (line 61) | static _getEmbeddingModel() { method embeddingPrefix (line 68) | get embeddingPrefix() { method queryPrefix (line 72) | get queryPrefix() { method availableModels (line 81) | static availableModels() { method getEmbeddingModel (line 96) | getEmbeddingModel() { method getEmbedderInfo (line 109) | getEmbedderInfo() { method #tempfilePath (line 114) | #tempfilePath() { method #writeToTempfile (line 123) | async #writeToTempfile(filePath, data) { method #fetchWithHost (line 131) | async #fetchWithHost(hostOverride = null) { method embedderClient (line 180) | async embedderClient() { method #applyQueryPrefix (line 211) | #applyQueryPrefix(textInput) { method embedTextInput (line 224) | async embedTextInput(textInput) { method embedChunks (line 243) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/ollama/index.js class OllamaEmbedder (line 5) | class OllamaEmbedder { method constructor (line 6) | constructor() { method log (line 34) | log(text, ...args) { method #isAlive (line 42) | async #isAlive() { method embedTextInput (line 51) | async embedTextInput(textInput) { method embedChunks (line 72) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/openAi/index.js class OpenAiEmbedder (line 3) | class OpenAiEmbedder { method constructor (line 4) | constructor() { method log (line 20) | log(text, ...args) { method embedTextInput (line 24) | async embedTextInput(textInput) { method embedChunks (line 31) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingEngines/openRouter/index.js class OpenRouterEmbedder (line 3) | class OpenRouterEmbedder { method constructor (line 4) | constructor() { method log (line 26) | log(text, ...args) { method embedTextInput (line 30) | async embedTextInput(textInput) { method embedChunks (line 37) | async embedChunks(textChunks = []) { function fetchOpenRouterEmbeddingModels (line 97) | async function fetchOpenRouterEmbeddingModels() { FILE: server/utils/EmbeddingEngines/voyageAi/index.js class VoyageAiEmbedder (line 1) | class VoyageAiEmbedder { method constructor (line 2) | constructor() { method #getMaxEmbeddingLength (line 21) | #getMaxEmbeddingLength() { method embedTextInput (line 42) | async embedTextInput(textInput) { method embedChunks (line 52) | async embedChunks(textChunks = []) { FILE: server/utils/EmbeddingRerankers/native/index.js class NativeEmbeddingReranker (line 4) | class NativeEmbeddingReranker { method constructor (line 15) | constructor() { method log (line 34) | log(text, ...args) { method host (line 43) | get host() { method preload (line 57) | async preload() { method initClient (line 74) | async initClient() { method #getPreTrainedModel (line 120) | async #getPreTrainedModel() { method #getPreTrainedTokenizer (line 171) | async #getPreTrainedTokenizer() { method rerank (line 224) | async rerank(query, documents, options = { topK: 4 }) { FILE: server/utils/EncryptionManager/index.js class EncryptionManager (line 6) | class EncryptionManager { method constructor (line 12) | constructor({ key = null, salt = null } = {}) { method log (line 24) | log(text, ...args) { method #loadOrCreateKeySalt (line 28) | #loadOrCreateKeySalt(_key = null, _salt = null) { method encrypt (line 51) | encrypt(plainTextString = null) { method decrypt (line 68) | decrypt(encryptedString) { FILE: server/utils/MCP/hypervisor/index.js class MCPHypervisor (line 35) | class MCPHypervisor { method constructor (line 54) | constructor() { method #setupConfigFile (line 67) | #setupConfigFile() { method log (line 92) | log(text, ...args) { method mcpServerConfigs (line 100) | get mcpServerConfigs() { method removeMCPServerFromConfig (line 116) | removeMCPServerFromConfig(name) { method updateSuppressedTools (line 140) | updateSuppressedTools(serverName, toolName, enabled) { method getSuppressedTools (line 188) | getSuppressedTools(serverName) { method reloadMCPServers (line 197) | async reloadMCPServers() { method startMCPServer (line 207) | async startMCPServer(name) { method pruneMCPServer (line 252) | pruneMCPServer(name) { method pruneMCPServers (line 274) | pruneMCPServers() { method #buildMCPServerENV (line 300) | async #buildMCPServerENV(server) { method #parseServerType (line 344) | #parseServerType(server) { method #validateServerDefinitionByType (line 364) | #validateServerDefinitionByType(name, server, type) { method #setupServerTransport (line 406) | async #setupServerTransport(server, type) { method createHttpTransport (line 422) | createHttpTransport(server) { method #startMCPServer (line 449) | async #startMCPServer({ name, server }) { method bootMCPServers (line 494) | async bootMCPServers() { FILE: server/utils/MCP/index.js class MCPCompatibilityLayer (line 3) | class MCPCompatibilityLayer extends MCPHypervisor { method constructor (line 6) | constructor() { method activeMCPServers (line 17) | async activeMCPServers() { method convertServerToolsToPlugins (line 28) | async convertServerToolsToPlugins(name, _aibitat = null) { method servers (line 140) | async servers() { method toggleServerStatus (line 188) | async toggleServerStatus(name) { method deleteServer (line 215) | async deleteServer(name) { method returnMCPResult (line 240) | static returnMCPResult(result) { method toggleToolSuppression (line 265) | async toggleToolSuppression(serverName, toolName, enabled) { FILE: server/utils/PasswordRecovery/index.js function generateRecoveryCodes (line 9) | async function generateRecoveryCodes(userId) { function recoverAccount (line 33) | async function recoverAccount(username = "", recoveryCodes = []) { function resetPassword (line 67) | async function resetPassword(token, _newPassword = "", confirmPassword =... FILE: server/utils/PushNotifications/index.js class PushNotifications (line 22) | class PushNotifications { method constructor (line 44) | constructor() { method #log (line 49) | #log(text, ...args) { method pushService (line 53) | get pushService() { method storagePath (line 72) | get storagePath() { method primarySubscriptionPath (line 78) | get primarySubscriptionPath() { method existingVapidKeys (line 82) | get existingVapidKeys() { method publicVapidKey (line 100) | get publicVapidKey() { method loadSubscriptions (line 111) | async loadSubscriptions() { method registerSubscription (line 146) | async registerSubscription(user = null, subscription) { method sendNotification (line 175) | sendNotification({ to = "primary", payload = {} } = {}) { method setupPushNotificationService (line 195) | static async setupPushNotificationService() { FILE: server/utils/TextSplitter/index.js function isNullOrNaN (line 16) | function isNullOrNaN(value) { class TextSplitter (line 21) | class TextSplitter { method constructor (line 32) | constructor(config = {}) { method log (line 37) | log(text, ...args) { method determineMaxChunkSize (line 47) | static determineMaxChunkSize(preferred = null, embedderLimit = 1000) { method buildHeaderMeta (line 64) | static buildHeaderMeta(metadata = {}) { method #applyPrefix (line 125) | #applyPrefix(text = "") { method stringifyHeader (line 135) | stringifyHeader() { method #setSplitter (line 156) | #setSplitter(config = {}) { method splitText (line 167) | async splitText(documentText) { class RecursiveSplitter (line 173) | class RecursiveSplitter { method constructor (line 174) | constructor({ chunkSize, chunkOverlap, chunkHeader = null }) { method log (line 190) | log(text, ...args) { method _splitText (line 194) | async _splitText(documentText) { FILE: server/utils/TextToSpeech/elevenLabs/index.js class ElevenLabsTTS (line 3) | class ElevenLabsTTS { method constructor (line 4) | constructor() { method voices (line 18) | static async voices(apiKey = null) { method #stream2buffer (line 28) | #stream2buffer(stream) { method ttsBuffer (line 37) | async ttsBuffer(textInput) { FILE: server/utils/TextToSpeech/index.js function getTTSProvider (line 1) | function getTTSProvider() { FILE: server/utils/TextToSpeech/openAi/index.js class OpenAiTTS (line 1) | class OpenAiTTS { method constructor (line 2) | constructor() { method ttsBuffer (line 12) | async ttsBuffer(textInput) { FILE: server/utils/TextToSpeech/openAiGeneric/index.js class GenericOpenAiTTS (line 1) | class GenericOpenAiTTS { method constructor (line 2) | constructor() { method #log (line 32) | #log(text, ...args) { method ttsBuffer (line 41) | async ttsBuffer(textInput) { FILE: server/utils/agentFlows/executor.js class FlowExecutor (line 8) | class FlowExecutor { method constructor (line 9) | constructor() { method attachLogging (line 16) | attachLogging(introspectFn = null, loggerFn = null) { method getValueFromPath (line 30) | getValueFromPath(obj = {}, path = "") { method replaceVariables (line 106) | replaceVariables(config) { method executeStep (line 135) | async executeStep(step) { method executeFlow (line 188) | async executeFlow(flow, initialVariables = {}, aibitat) { FILE: server/utils/agentFlows/executors/api-call.js function executeApiCall (line 9) | async function executeApiCall(config, context) { FILE: server/utils/agentFlows/executors/llm-instruction.js function executeLLMInstruction (line 7) | async function executeLLMInstruction(config, context) { FILE: server/utils/agentFlows/executors/web-scraping.js function executeWebScraping (line 7) | async function executeWebScraping(config, context) { function parseHTMLwithSelector (line 83) | function parseHTMLwithSelector(html, selector = null, context) { FILE: server/utils/agentFlows/flowTypes.js constant FLOW_TYPES (line 1) | const FLOW_TYPES = { FILE: server/utils/agentFlows/index.js class AgentFlows (line 17) | class AgentFlows { method constructor (line 22) | constructor() {} method createOrCheckFlowsDir (line 28) | static createOrCheckFlowsDir() { method getAllFlows (line 43) | static getAllFlows() { method loadFlow (line 69) | static loadFlow(uuid) { method saveFlow (line 96) | static saveFlow(name, config, uuid = null) { method listFlows (line 129) | static listFlows() { method deleteFlow (line 149) | static deleteFlow(uuid) { method executeFlow (line 170) | static async executeFlow(uuid, variables = {}, aibitat = null) { method activeFlowPlugins (line 181) | static activeFlowPlugins() { method sanitizeToolName (line 194) | static sanitizeToolName(flowName) { method loadFlowPlugin (line 211) | static loadFlowPlugin(uuid) { method stringifyResult (line 276) | static stringifyResult(input) { FILE: server/utils/agents/aibitat/error.js class AIbitatError (line 1) | class AIbitatError extends Error {} class APIError (line 3) | class APIError extends AIbitatError { method constructor (line 4) | constructor(message) { class RetryError (line 13) | class RetryError extends APIError {} FILE: server/utils/agents/aibitat/example/beginner-chat.js function main (line 44) | async function main() { FILE: server/utils/agents/aibitat/example/blog-post-coding.js function main (line 37) | async function main() { FILE: server/utils/agents/aibitat/example/websocket/websock-branding-collab.js function runAIbitat (line 59) | async function runAIbitat(socket) { FILE: server/utils/agents/aibitat/example/websocket/websock-multi-turn-chat.js function runAIbitat (line 64) | async function runAIbitat(socket) { FILE: server/utils/agents/aibitat/index.js class AIbitat (line 15) | class AIbitat { method defaultMaxToolCalls (line 52) | static defaultMaxToolCalls() { method constructor (line 70) | constructor(props = {}) { method chats (line 97) | get chats() { method use (line 104) | use(plugin) { method addCitation (line 114) | addCitation(citations) { method flushCitations (line 128) | flushCitations(messageUuid) { method clearCitations (line 140) | clearCitations() { method agent (line 151) | agent(name = "", config = {}) { method channel (line 164) | channel(name = "", members = [""], config = {}) { method getAgentConfig (line 179) | getAgentConfig(agent = "") { method getChannelConfig (line 208) | getChannelConfig(channel = "") { method getGroupMembers (line 226) | getGroupMembers(node = "") { method onAbort (line 237) | onAbort(listener = () => null) { method abort (line 245) | abort() { method onTerminate (line 255) | onTerminate(listener = () => null) { method terminate (line 265) | terminate(node = "") { method onInterrupt (line 275) | onInterrupt(listener = () => null) { method interrupt (line 286) | interrupt(route) { method onMessage (line 301) | onMessage(listener = (chat) => null) { method newMessage (line 312) | newMessage(message) { method onError (line 328) | onError( method newError (line 359) | newError(route, error) { method onStart (line 375) | onStart(listener = (chat, aibitat) => null) { method start (line 385) | async start(message) { method chat (line 405) | async chat(route, keepAlive = true) { method shouldAgentInterrupt (line 495) | shouldAgentInterrupt(agent = "") { method selectNext (line 508) | async selectNext(channel = "") { method #parseFunctionName (line 591) | #parseFunctionName(pluginName = "") { method #extractUserPrompt (line 604) | #extractUserPrompt(messages) { method hasReachedMaximumRounds (line 622) | hasReachedMaximumRounds(from = "", to = "") { method getOrFormatNodeChatHistory (line 632) | getOrFormatNodeChatHistory(route) { method reply (line 680) | async reply(route) { method #safeProviderCall (line 777) | async #safeProviderCall(providerCall) { method handleAsyncExecution (line 799) | async handleAsyncExecution( method handleExecution (line 939) | async handleExecution( method continue (line 1073) | async continue(feedback, attachments = []) { method retry (line 1115) | async retry() { method getHistory (line 1132) | getHistory({ from, to }) { method getProviderForConfig (line 1162) | getProviderForConfig(config) { method function (line 1248) | function(functionConfig) { FILE: server/utils/agents/aibitat/plugins/cli.js method setup (line 17) | setup(aibitat) { method start (line 89) | async start(controller) { FILE: server/utils/agents/aibitat/plugins/file-history.js method setup (line 17) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/http-socket.js method setup (line 33) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/memory.js method setup (line 13) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/rechart.js method setup (line 12) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/save-file-browser.js method setup (line 11) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/MSSQL.js class MSSQLConnector (line 4) | class MSSQLConnector { method constructor (line 24) | constructor( method #parseDatabase (line 37) | #parseDatabase() { method connect (line 56) | async connect() { method runQuery (line 68) | async runQuery(queryString = "", params = []) { method validateConnection (line 93) | async validateConnection() { method getTablesSql (line 102) | getTablesSql() { method getTableSchemaSql (line 106) | getTableSchemaSql(table_name) { FILE: server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/MySQL.js class MySQLConnector (line 4) | class MySQLConnector { method constructor (line 7) | constructor( method #parseDatabase (line 18) | #parseDatabase() { method connect (line 24) | async connect() { method runQuery (line 36) | async runQuery(queryString = "", params = []) { method validateConnection (line 59) | async validateConnection() { method getTablesSql (line 68) | getTablesSql() { method getTableSchemaSql (line 75) | getTableSchemaSql(table_name) { FILE: server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/Postgresql.js class PostgresSQLConnector (line 3) | class PostgresSQLConnector { method constructor (line 5) | constructor( method connect (line 19) | async connect() { method runQuery (line 31) | async runQuery(queryString = "", params = []) { method validateConnection (line 51) | async validateConnection() { method getTablesSql (line 60) | getTablesSql() { method getTableSchemaSql (line 67) | getTableSchemaSql(table_name) { FILE: server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/index.js function getDBClient (line 28) | function getDBClient(identifier = "", connectionConfig = {}) { function listSQLConnections (line 50) | async function listSQLConnections() { function validateConnection (line 63) | async function validateConnection(identifier = "", connectionConfig = {}) { FILE: server/utils/agents/aibitat/plugins/sql-agent/SQLConnectors/utils.js class ConnectionStringParser (line 17) | class ConnectionStringParser { method constructor (line 23) | constructor(options = {}) { method format (line 34) | format(connectionStringObject) { method parse (line 88) | parse(uri) { method _formatAddress (line 133) | _formatAddress(connectionStringObject) { method _parseAddress (line 149) | _parseAddress(addresses) { method _parseOptions (line 166) | _parseOptions(options) { FILE: server/utils/agents/aibitat/plugins/sql-agent/get-table-schema.js function formatQueryForDisplay (line 9) | function formatQueryForDisplay(query, params = []) { method setup (line 23) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/sql-agent/list-database.js method setup (line 7) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/sql-agent/list-table.js function formatQueryForDisplay (line 9) | function formatQueryForDisplay(query, params = []) { method setup (line 23) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/sql-agent/query.js method setup (line 11) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/summarize.js method setup (line 14) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/web-browsing.js method setup (line 13) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/web-scraping.js method setup (line 13) | setup(aibitat) { FILE: server/utils/agents/aibitat/plugins/websocket.js constant SOCKET_TIMEOUT_MS (line 3) | const SOCKET_TIMEOUT_MS = 300 * 1_000; constant WEBSOCKET_BAIL_COMMANDS (line 16) | const WEBSOCKET_BAIL_COMMANDS = [ method setup (line 49) | setup(aibitat) { FILE: server/utils/agents/aibitat/providers/ai-provider.js constant DEFAULT_WORKSPACE_PROMPT (line 33) | const DEFAULT_WORKSPACE_PROMPT = class Provider (line 47) | class Provider { method constructor (line 86) | constructor(client) { method providerLog (line 93) | providerLog(text, ...args) { method attachHandlerProps (line 106) | attachHandlerProps(handlerProps = {}) { method client (line 113) | get client() { method supportsNativeToolCallingViaEnv (line 122) | supportsNativeToolCallingViaEnv(providerTag = "") { method supportsNativeToolCalling (line 136) | supportsNativeToolCalling() { method LangChainChatModel (line 146) | static LangChainChatModel(provider = "openai", config = {}) { method contextLimit (line 419) | static contextLimit(provider = "openai", modelName) { method defaultSystemPromptForProvider (line 425) | static defaultSystemPromptForProvider(provider = null) { method systemPrompt (line 441) | static async systemPrompt({ method supportsAgentStreaming (line 461) | get supportsAgentStreaming() { method formatMessageWithAttachments (line 472) | formatMessageWithAttachments(message) { method resetUsage (line 500) | resetUsage() { method formatMessagesWithAttachments (line 519) | formatMessagesWithAttachments(messages = []) { method recordUsage (line 530) | recordUsage(usage = {}) { method getUsage (line 557) | getUsage() { method stream (line 570) | async stream(messages, functions = [], eventHandler = null) { class OllamaLangchainChatModel (line 636) | class OllamaLangchainChatModel { method create (line 637) | static create(config = {}) { method queryOptions (line 645) | static queryOptions(config = {}) { FILE: server/utils/agents/aibitat/providers/anthropic.js class AnthropicProvider (line 11) | class AnthropicProvider extends Provider { method constructor (line 14) | constructor(config = {}) { method supportsNativeToolCalling (line 34) | supportsNativeToolCalling() { method cacheControl (line 49) | get cacheControl() { method supportsAgentStreaming (line 64) | get supportsAgentStreaming() { method #buildSystemPrompt (line 73) | #buildSystemPrompt(systemContent) { method #parseDataUrl (line 89) | #parseDataUrl(dataUrl) { method #prepareMessages (line 96) | #prepareMessages(messages = []) { method #formatFunctions (line 200) | #formatFunctions(functions = []) { method stream (line 225) | async stream(messages, functions = [], eventHandler = null) { method complete (line 372) | async complete(messages, functions = []) { FILE: server/utils/agents/aibitat/providers/apipie.js class ApiPieProvider (line 9) | class ApiPieProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(config = {}) { method client (line 26) | get client() { method supportsAgentStreaming (line 30) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 39) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 43) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 61) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 69) | async stream(messages, functions = [], eventHandler = null) { method complete (line 79) | async complete(messages, functions = []) { method getCost (line 94) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/azure.js class AzureOpenAiProvider (line 11) | class AzureOpenAiProvider extends Provider { method constructor (line 14) | constructor(config = { model: null }) { method supportsAgentStreaming (line 27) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 36) | supportsNativeToolCalling() { method stream (line 48) | async stream(messages, functions = [], eventHandler = null) { method complete (line 81) | async complete(messages, functions = []) { method getCost (line 117) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/bedrock.js class AWSBedrockProvider (line 22) | class AWSBedrockProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 25) | constructor(_config = {}) { method supportsAgentStreaming (line 47) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 58) | supportsNativeToolCalling() { method credentials (line 75) | get credentials() { method authMethod (line 84) | get authMethod() { method client (line 88) | get client() { method #convertToLangchainPrototypes (line 94) | #convertToLangchainPrototypes(chats = []) { method #formatContentWithAttachments (line 120) | #formatContentWithAttachments(chat) { method #convertToLangchainPrototypesWithTools (line 146) | #convertToLangchainPrototypesWithTools(chats = []) { method #formatFunctionsToLangchainTools (line 223) | #formatFunctionsToLangchainTools(functions) { method #handleFunctionCallChat (line 235) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 254) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 298) | async stream(messages, functions = [], eventHandler = null) { method complete (line 390) | async complete(messages, functions = []) { method getCost (line 451) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/cohere.js class CohereProvider (line 12) | class CohereProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 15) | constructor(config = {}) { method client (line 27) | get client() { method supportsAgentStreaming (line 31) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 40) | supportsNativeToolCalling() { method formatMessageWithAttachments (line 50) | formatMessageWithAttachments(message) { method #handleFunctionCallStream (line 79) | async #handleFunctionCallStream({ messages = [] }) { method streamingFunctionCall (line 86) | async streamingFunctionCall( method stream (line 168) | async stream(messages, functions = [], eventHandler = null) { method getCost (line 264) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/cometapi.js class CometApiProvider (line 9) | class CometApiProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(config = {}) { method client (line 30) | get client() { method supportsAgentStreaming (line 34) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 43) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 47) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 65) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 73) | async stream(messages, functions = [], eventHandler = null) { method complete (line 83) | async complete(messages, functions = []) { method getCost (line 99) | getCost() { FILE: server/utils/agents/aibitat/providers/deepseek.js class DeepSeekProvider (line 9) | class DeepSeekProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(config = {}) { method client (line 29) | get client() { method supportsAgentStreaming (line 33) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 42) | supportsNativeToolCalling() { method formatMessageWithAttachments (line 52) | formatMessageWithAttachments(message) { method #isThinkingModel (line 57) | get #isThinkingModel() { method #tooledOptions (line 61) | get #tooledOptions() { method #handleFunctionCallChat (line 68) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 87) | async #handleFunctionCallStream({ messages = [] }) { method #stripAttachments (line 100) | #stripAttachments(messages) { method stream (line 118) | async stream(messages, functions = [], eventHandler = null) { method complete (line 159) | async complete(messages, functions = []) { method getCost (line 206) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/dellProAiStudio.js class DellProAiStudioProvider (line 12) | class DellProAiStudioProvider extends InheritMultiple([Provider, UnToole... method constructor (line 19) | constructor(config = {}) { method client (line 32) | get client() { method supportsAgentStreaming (line 36) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 45) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 49) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 67) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 75) | async stream(messages, functions = [], eventHandler = null) { method complete (line 85) | async complete(messages, functions = []) { method getCost (line 101) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/dockerModelRunner.js class DockerModelRunnerProvider (line 15) | class DockerModelRunnerProvider extends InheritMultiple([Provider, UnToo... method constructor (line 22) | constructor(config = {}) { method client (line 40) | get client() { method supportsAgentStreaming (line 44) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 53) | async supportsNativeToolCalling() { method #handleFunctionCallChat (line 61) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 79) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 91) | async stream(messages, functions = [], eventHandler = null) { method complete (line 136) | async complete(messages, functions = []) { method getCost (line 184) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/fireworksai.js class FireworksAIProvider (line 10) | class FireworksAIProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 13) | constructor(config = {}) { method client (line 28) | get client() { method supportsAgentStreaming (line 32) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 41) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 45) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 63) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 71) | async stream(messages, functions = [], eventHandler = null) { method complete (line 81) | async complete(messages, functions = []) { method getCost (line 96) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/foundry.js class FoundryProvider (line 14) | class FoundryProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 17) | constructor(config = {}) { method client (line 35) | get client() { method supportsAgentStreaming (line 39) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 48) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 52) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 72) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 82) | async stream(messages, functions = [], eventHandler = null) { method complete (line 92) | async complete(messages, functions = []) { method getCost (line 107) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/gemini.js class GeminiProvider (line 11) | class GeminiProvider extends Provider { method constructor (line 14) | constructor(config = {}) { method client (line 29) | get client() { method supportsAgentStreaming (line 39) | get supportsAgentStreaming() { method supportsToolCalling (line 49) | get supportsToolCalling() { method supportsNativeToolCalling (line 59) | supportsNativeToolCalling() { method prefixToolCall (line 87) | prefixToolCall(functionName, action = "add") { method #formatMessages (line 106) | #formatMessages(messages) { method #formatFunctions (line 184) | #formatFunctions(functions) { method stream (line 195) | async stream(messages, functions = [], eventHandler = null) { method complete (line 299) | async complete(messages, functions = []) { method getCost (line 365) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/genericOpenAi.js class GenericOpenAiProvider (line 17) | class GenericOpenAiProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 20) | constructor(config = {}) { method client (line 42) | get client() { method supportsAgentStreaming (line 46) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 59) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 75) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 95) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 107) | async stream(messages, functions = [], eventHandler = null) { method complete (line 152) | async complete(messages, functions = []) { method getCost (line 199) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/giteeai.js class GiteeAIProvider (line 6) | class GiteeAIProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 9) | constructor(config = {}) { method client (line 21) | get client() { method supportsAgentStreaming (line 25) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 34) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 38) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 56) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 64) | async stream(messages, functions = [], eventHandler = null) { method complete (line 74) | async complete(messages, functions = []) { method getCost (line 89) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/groq.js class GroqProvider (line 13) | class GroqProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 16) | constructor(config = {}) { method client (line 31) | get client() { method supportsAgentStreaming (line 35) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 45) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 58) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 76) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 88) | async stream(messages, functions = [], eventHandler = null) { method complete (line 133) | async complete(messages, functions = []) { method getCost (line 179) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/helpers/classes.js function InheritMultiple (line 1) | function InheritMultiple(bases = []) { FILE: server/utils/agents/aibitat/providers/helpers/tooled.js function formatFunctionsToTools (line 26) | function formatFunctionsToTools(functions) { function formatMessageWithAttachments (line 44) | function formatMessageWithAttachments(message) { function formatMessagesForTools (line 79) | function formatMessagesForTools(messages, options = {}) { function tooledStream (line 171) | async function tooledStream( function tooledComplete (line 294) | async function tooledComplete( FILE: server/utils/agents/aibitat/providers/helpers/untooled.js class UnTooled (line 7) | class UnTooled { method constructor (line 8) | constructor() { method cleanMsgs (line 12) | cleanMsgs(messages) { method showcaseFunctions (line 28) | showcaseFunctions(functions = []) { method isMCPTool (line 64) | isMCPTool(functionCall = {}, functions = []) { method validFuncCall (line 80) | validFuncCall(functionCall = {}, functions = []) { method buildToolCallMessages (line 123) | buildToolCallMessages(history = [], functions = []) { method functionCall (line 152) | async functionCall(messages, functions, chatCb = null) { method streamingFunctionCall (line 181) | async streamingFunctionCall( method stream (line 266) | async stream( method complete (line 377) | async complete(messages, functions = [], chatCallback = null) { FILE: server/utils/agents/aibitat/providers/koboldcpp.js class KoboldCPPProvider (line 9) | class KoboldCPPProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(_config = {}) { method client (line 27) | get client() { method supportsAgentStreaming (line 31) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 40) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 44) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 63) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 72) | async stream(messages, functions = [], eventHandler = null) { method complete (line 82) | async complete(messages, functions = []) { method getCost (line 98) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/lemonade.js class LemonadeProvider (line 15) | class LemonadeProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 22) | constructor(config = {}) { method client (line 41) | get client() { method supportsAgentStreaming (line 45) | get supportsAgentStreaming() { method preloadModel (line 49) | async preloadModel() { method supportsNativeToolCalling (line 63) | async supportsNativeToolCalling() { method #handleFunctionCallChat (line 83) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 101) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 113) | async stream(messages, functions = [], eventHandler = null) { method complete (line 159) | async complete(messages, functions = []) { method getCost (line 208) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/litellm.js class LiteLLMProvider (line 13) | class LiteLLMProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 16) | constructor(config = {}) { method client (line 31) | get client() { method supportsAgentStreaming (line 35) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 45) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 60) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 78) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 90) | async stream(messages, functions = [], eventHandler = null) { method complete (line 135) | async complete(messages, functions = []) { method getCost (line 181) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/lmstudio.js class LMStudioProvider (line 17) | class LMStudioProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 23) | constructor(config = {}) { method client (line 41) | get client() { method supportsAgentStreaming (line 45) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 54) | async supportsNativeToolCalling() { method #handleFunctionCallChat (line 64) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 83) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 96) | async stream(messages, functions = [], eventHandler = null) { method complete (line 142) | async complete(messages, functions = []) { method getCost (line 190) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/localai.js class LocalAiProvider (line 13) | class LocalAiProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 16) | constructor(config = {}) { method client (line 31) | get client() { method supportsAgentStreaming (line 35) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 45) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 62) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 80) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 92) | async stream(messages, functions = [], eventHandler = null) { method complete (line 137) | async complete(messages, functions = []) { method getCost (line 185) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/mistral.js class MistralProvider (line 13) | class MistralProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 16) | constructor(config = {}) { method client (line 30) | get client() { method supportsAgentStreaming (line 34) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 43) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 47) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 65) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 73) | async stream(messages, functions = [], eventHandler = null) { method complete (line 83) | async complete(messages, functions = []) { method getCost (line 98) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/moonshotAi.js class MoonshotAiProvider (line 6) | class MoonshotAiProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 9) | constructor(config = {}) { method client (line 30) | get client() { method supportsAgentStreaming (line 34) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 43) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 47) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 65) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 73) | async stream(messages, functions = [], eventHandler = null) { method complete (line 83) | async complete(messages, functions = []) { method getCost (line 92) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/novita.js class NovitaProvider (line 14) | class NovitaProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 17) | constructor(config = {}) { method client (line 40) | get client() { method supportsAgentStreaming (line 44) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 53) | async supportsNativeToolCalling() { method #handleFunctionCallChat (line 61) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 79) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 91) | async stream(messages, functions = [], eventHandler = null) { method complete (line 136) | async complete(messages, functions = []) { method getCost (line 183) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/nvidiaNim.js class NvidiaNimProvider (line 11) | class NvidiaNimProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 14) | constructor(config = {}) { method client (line 28) | get client() { method supportsAgentStreaming (line 32) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 41) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 45) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 63) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 71) | async stream(messages, functions = [], eventHandler = null) { method complete (line 81) | async complete(messages, functions = []) { method getCost (line 96) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/ollama.js class OllamaProvider (line 15) | class OllamaProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 18) | constructor(config = {}) { method client (line 38) | get client() { method supportsAgentStreaming (line 42) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 51) | async supportsNativeToolCalling() { method queryOptions (line 59) | get queryOptions() { method #handleFunctionCallChat (line 74) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 84) | async #handleFunctionCallStream({ messages = [] }) { method #parseImageDataUrl (line 99) | #parseImageDataUrl(dataUrl) { method formatMessageWithAttachments (line 114) | formatMessageWithAttachments(message) { method #formatMessagesForOllamaTools (line 142) | #formatMessagesForOllamaTools(messages) { method streamingFunctionCall (line 192) | async streamingFunctionCall( method stream (line 295) | async stream(messages, functions = [], eventHandler = null) { method complete (line 495) | async complete(messages, functions = []) { method getCost (line 601) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/openai.js class OpenAIProvider (line 11) | class OpenAIProvider extends Provider { method constructor (line 13) | constructor(config = {}) { method supportsAgentStreaming (line 29) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 38) | supportsNativeToolCalling() { method #formatToResponsesInput (line 51) | #formatToResponsesInput(messages) { method #formatFunctions (line 121) | #formatFunctions(functions) { method stream (line 141) | async stream(messages, functions = [], eventHandler = null) { method complete (line 260) | async complete(messages, functions = []) { method getCost (line 340) | getCost() { FILE: server/utils/agents/aibitat/providers/openrouter.js class OpenRouterProvider (line 15) | class OpenRouterProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 18) | constructor(config = {}) { method client (line 37) | get client() { method supportsAgentStreaming (line 41) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 51) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 67) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 86) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 99) | async stream(messages, functions = [], eventHandler = null) { method complete (line 144) | async complete(messages, functions = []) { method getCost (line 190) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/perplexity.js class PerplexityProvider (line 9) | class PerplexityProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(config = {}) { method client (line 26) | get client() { method supportsAgentStreaming (line 30) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 39) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 43) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 61) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 69) | async stream(messages, functions = [], eventHandler = null) { method complete (line 79) | async complete(messages, functions = []) { method getCost (line 94) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/ppio.js class PPIOProvider (line 9) | class PPIOProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(config = {}) { method client (line 30) | get client() { method supportsAgentStreaming (line 34) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 43) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 47) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 65) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 73) | async stream(messages, functions = [], eventHandler = null) { method complete (line 83) | async complete(messages, functions = []) { method getCost (line 99) | getCost() { FILE: server/utils/agents/aibitat/providers/privatemode.js class PrivatemodelProvider (line 12) | class PrivatemodelProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 15) | constructor(config = {}) { method client (line 31) | get client() { method supportsAgentStreaming (line 35) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 44) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 48) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 67) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 76) | async stream(messages, functions = [], eventHandler = null) { method complete (line 86) | async complete(messages, functions = []) { method getCost (line 102) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/sambanova.js class SambaNovaProvider (line 6) | class SambaNovaProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 9) | constructor(config = {}) { method client (line 30) | get client() { method supportsAgentStreaming (line 34) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 43) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 47) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 62) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 70) | async stream(messages, functions = [], eventHandler = null) { method complete (line 80) | async complete(messages, functions = []) { method getCost (line 89) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/textgenwebui.js class TextWebGenUiProvider (line 9) | class TextWebGenUiProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(_config = {}) { method client (line 25) | get client() { method supportsAgentStreaming (line 29) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 38) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 42) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 60) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 68) | async stream(messages, functions = [], eventHandler = null) { method complete (line 78) | async complete(messages, functions = []) { method getCost (line 94) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/togetherai.js class TogetherAIProvider (line 9) | class TogetherAIProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(config = {}) { method client (line 26) | get client() { method supportsAgentStreaming (line 30) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 39) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 43) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 61) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 69) | async stream(messages, functions = [], eventHandler = null) { method complete (line 79) | async complete(messages, functions = []) { method getCost (line 95) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/xai.js class XAIProvider (line 9) | class XAIProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 12) | constructor(config = {}) { method client (line 26) | get client() { method supportsAgentStreaming (line 30) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 39) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 43) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 61) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 69) | async stream(messages, functions = [], eventHandler = null) { method complete (line 79) | async complete(messages, functions = []) { method getCost (line 94) | getCost(_usage) { FILE: server/utils/agents/aibitat/providers/zai.js class ZAIProvider (line 6) | class ZAIProvider extends InheritMultiple([Provider, UnTooled]) { method constructor (line 9) | constructor(config = {}) { method client (line 30) | get client() { method supportsAgentStreaming (line 34) | get supportsAgentStreaming() { method supportsNativeToolCalling (line 43) | supportsNativeToolCalling() { method #handleFunctionCallChat (line 47) | async #handleFunctionCallChat({ messages = [] }) { method #handleFunctionCallStream (line 65) | async #handleFunctionCallStream({ messages = [] }) { method stream (line 73) | async stream(messages, functions = [], eventHandler = null) { method complete (line 83) | async complete(messages, functions = []) { method getCost (line 92) | getCost(_usage) { FILE: server/utils/agents/aibitat/utils/dedupe.js constant DEFAULT_COOLDOWN_MS (line 17) | const DEFAULT_COOLDOWN_MS = 30 * 1000; class Deduplicator (line 19) | class Deduplicator { method constructor (line 23) | constructor() {} method log (line 25) | log(message, ...args) { method trackRun (line 29) | trackRun( method isDuplicate (line 57) | isDuplicate(key, params = {}) { method reset (line 84) | reset(type = "runs") { method startCooldown (line 105) | startCooldown( method isOnCooldown (line 121) | isOnCooldown(key) { method isMarkedUnique (line 131) | isMarkedUnique(key) { method removeUniqueConstraint (line 139) | removeUniqueConstraint(key) { method markUnique (line 147) | markUnique(key) { FILE: server/utils/agents/aibitat/utils/summarize.js function summarizeContent (line 18) | async function summarizeContent({ FILE: server/utils/agents/aibitat/utils/toolReranker.js class ToolReranker (line 6) | class ToolReranker { method constructor (line 16) | constructor() { method log (line 22) | log(text, ...args) { method isEnabled (line 30) | static isEnabled() { method getTopN (line 40) | static getTopN() { method #getReranker (line 49) | async #getReranker() { method #toolToDocument (line 63) | #toolToDocument(tool) { method rerank (line 113) | async rerank(userPrompt, tools = [], options = {}) { FILE: server/utils/agents/defaults.js constant DEFAULT_SKILLS (line 10) | const DEFAULT_SKILLS = [ constant USER_AGENT (line 16) | const USER_AGENT = { constant WORKSPACE_AGENT (line 26) | const WORKSPACE_AGENT = { function agentSkillsFromSystemSettings (line 59) | async function agentSkillsFromSystemSettings() { FILE: server/utils/agents/ephemeral.js class EphemeralAgentHandler (line 28) | class EphemeralAgentHandler extends AgentHandler { method constructor (line 66) | constructor({ method log (line 89) | log(text, ...args) { method closeAlert (line 93) | closeAlert() { method #chatHistory (line 97) | async #chatHistory(limit = 10) { method #getFallbackProvider (line 145) | #getFallbackProvider() { method #fetchModel (line 175) | #fetchModel() { method #providerSetupAndCheck (line 193) | #providerSetupAndCheck() { method #attachPlugins (line 203) | async #attachPlugins(args) { method #loadAgents (line 338) | async #loadAgents() { method init (line 359) | async init() { method #fetchParsedFileContext (line 369) | async #fetchParsedFileContext() { method #stripAgentCommand (line 428) | #stripAgentCommand(message = "") { method createAIbitat (line 436) | async createAIbitat( method startAgentCluster (line 475) | startAgentCluster() { method isAgentInvocation (line 491) | static async isAgentInvocation({ method #isAgentCommandInvocation (line 510) | static #isAgentCommandInvocation({ message }) { class EphemeralEventListener (line 527) | class EphemeralEventListener extends EventEmitter { method constructor (line 529) | constructor() { method send (line 533) | send(jsonData) { method close (line 539) | close() { method packMessages (line 547) | packMessages() { method waitForClose (line 565) | async waitForClose() { method streamAgentEvents (line 581) | async streamAgentEvents(response, uuid) { FILE: server/utils/agents/imported.js class ImportedPlugin (line 12) | class ImportedPlugin { method constructor (line 13) | constructor(config) { method loadPluginByHubId (line 33) | static loadPluginByHubId(hubId) { method isValidLocation (line 44) | static isValidLocation(pathToValidate) { method checkPluginFolderExists (line 53) | static checkPluginFolderExists() { method activeImportedPlugins (line 64) | static activeImportedPlugins() { method listImportedPlugins (line 85) | static listImportedPlugins() { method updateImportedPlugin (line 110) | static updateImportedPlugin(hubId, config) { method deletePlugin (line 134) | static deletePlugin(hubId) { method validateImportedPluginHandler (line 148) | static validateImportedPluginHandler(hubId) { method parseCallOptions (line 157) | parseCallOptions() { method plugin (line 174) | plugin(runtimeArgs = {}) { method importCommunityItemFromUrl (line 214) | static async importCommunityItemFromUrl(url, item) { FILE: server/utils/agents/index.js class AgentHandler (line 17) | class AgentHandler { method constructor (line 27) | constructor({ uuid }) { method log (line 31) | log(text, ...args) { method closeAlert (line 35) | closeAlert() { method #chatHistory (line 39) | async #chatHistory(limit = 10) { method checkSetup (line 79) | checkSetup() { method providerDefault (line 257) | providerDefault(provider = this.provider) { method #getFallbackProvider (line 347) | #getFallbackProvider() { method #fetchModel (line 380) | #fetchModel() { method #providerSetupAndCheck (line 399) | #providerSetupAndCheck() { method #validInvocation (line 409) | async #validInvocation() { method parseCallOptions (line 418) | parseCallOptions(args, config = {}, pluginName) { method #attachPlugins (line 438) | async #attachPlugins(args) { method #loadAgents (line 573) | async #loadAgents() { method init (line 594) | async init() { method #fetchParsedFileContext (line 609) | async #fetchParsedFileContext() { method createAIbitat (line 667) | async createAIbitat( method #stripAgentCommand (line 717) | #stripAgentCommand(message = "") { method startAgentCluster (line 725) | startAgentCluster() { FILE: server/utils/boot/MetaGenerator.js class MetaGenerator (line 20) | class MetaGenerator { method constructor (line 43) | constructor() { method #log (line 48) | #log(text, ...args) { method #defaultMeta (line 52) | #defaultMeta() { method #assembleMeta (line 169) | #assembleMeta() { method #validUrl (line 190) | #validUrl(faviconUrl = null) { method #fetchConfg (line 200) | async #fetchConfg() { method clearConfig (line 296) | clearConfig() { method generate (line 305) | async generate(response, code = 200) { method generateManifest (line 328) | async generateManifest(response) { FILE: server/utils/boot/eagerLoadContextWindows.js function eagerLoadContextWindows (line 9) | async function eagerLoadContextWindows() { FILE: server/utils/boot/index.js function bootSSL (line 19) | function bootSSL(app, port = 3001) { function bootHTTP (line 60) | function bootHTTP(app, port = 3001) { function catchSigTerms (line 79) | function catchSigTerms() { FILE: server/utils/boot/markOnboarded.js function markOnboarded (line 7) | async function markOnboarded() { function isLegacyOnboarded (line 37) | async function isLegacyOnboarded() { FILE: server/utils/chats/agents.js function cacheInvocationAttachments (line 21) | function cacheInvocationAttachments(uuid, attachments = []) { function getAndClearInvocationAttachments (line 32) | function getAndClearInvocationAttachments(uuid) { function grepAgents (line 38) | async function grepAgents({ FILE: server/utils/chats/apiChatHandler.js function processDocumentAttachments (line 39) | async function processDocumentAttachments(attachments = []) { function chatSync (line 112) | async function chatSync({ function streamChat (line 458) | async function streamChat({ FILE: server/utils/chats/commands/reset.js function resetMemory (line 3) | async function resetMemory( FILE: server/utils/chats/embed.js function streamChatWithForEmbed (line 11) | async function streamChatWithForEmbed( function recentEmbedChatHistory (line 215) | async function recentEmbedChatHistory(sessionId, embed, messageLimit = 2... FILE: server/utils/chats/index.js constant VALID_COMMANDS (line 8) | const VALID_COMMANDS = { function grepCommand (line 12) | async function grepCommand(message, user = null) { function grepAllSlashCommands (line 44) | async function grepAllSlashCommands(message) { function recentChatHistory (line 61) | async function recentChatHistory({ function chatPrompt (line 91) | async function chatPrompt(workspace, user = null) { function sourceIdentifier (line 107) | function sourceIdentifier(sourceDocument) { FILE: server/utils/chats/openaiCompatible.js function chatSync (line 10) | async function chatSync({ function streamChat (line 212) | async function streamChat({ function formatJSON (line 488) | function formatJSON( FILE: server/utils/chats/stream.js constant VALID_CHAT_MODE (line 16) | const VALID_CHAT_MODE = ["automatic", "chat", "query"]; function streamChatWithWorkspace (line 18) | async function streamChatWithWorkspace( FILE: server/utils/collectorApi/index.js class CollectorApi (line 17) | class CollectorApi { method constructor (line 26) | constructor() { method log (line 32) | log(text, ...args) { method #attachOptions (line 40) | #attachOptions() { method online (line 55) | async online() { method acceptedFileTypes (line 61) | async acceptedFileTypes() { method processDocument (line 81) | async processDocument(filename = "", metadata = {}) { method processLink (line 121) | async processLink(link = "", scraperHeaders = {}, metadata = {}) { method processRawText (line 160) | async processRawText(textContent = "", metadata = {}) { method forwardExtensionRequest (line 191) | async forwardExtensionRequest({ endpoint, method, body }) { method getLinkContent (line 225) | async getLinkContent(link = "", captureAs = "text") { method parseDocument (line 261) | async parseDocument(filename = "") { FILE: server/utils/comKey/index.js class CommunicationKey (line 21) | class CommunicationKey { method constructor (line 28) | constructor(generate = false) { method log (line 32) | log(text, ...args) { method #readPrivateKey (line 36) | #readPrivateKey() { method #generate (line 40) | #generate() { method sign (line 71) | sign(textData = "") { method encrypt (line 79) | encrypt(textData = "") { FILE: server/utils/database/index.js function checkColumnTemplate (line 4) | function checkColumnTemplate(tablename = null, column = null) { function checkForMigrations (line 23) | async function checkForMigrations(model, db) { function validateTablePragmas (line 48) | async function validateTablePragmas(force = false) { function setupTelemetry (line 85) | async function setupTelemetry() { FILE: server/utils/files/index.js function fileData (line 25) | async function fileData(filePath = null) { function viewLocalFiles (line 35) | async function viewLocalFiles() { function getDocumentsByFolder (line 107) | async function getDocumentsByFolder(folderName = "") { function cachedVectorInformation (line 172) | async function cachedVectorInformation(filename = null, checkOnly = fals... function storeVectorResult (line 191) | async function storeVectorResult(vectorData = [], filename = null) { function purgeSourceDocument (line 205) | async function purgeSourceDocument(filename = null) { function purgeVectorCache (line 222) | async function purgeVectorCache(filename = null) { function findDocumentInDocuments (line 235) | async function findDocumentInDocuments(documentName = null) { function isWithin (line 272) | function isWithin(outer, inner) { function normalizePath (line 278) | function normalizePath(filepath = "") { function hasVectorCachedFiles (line 290) | function hasVectorCachedFiles() { function getPinnedWorkspacesByDocument (line 304) | async function getPinnedWorkspacesByDocument(filenames = []) { function getWatchedDocumentFilenames (line 336) | async function getWatchedDocumentFilenames(filenames = []) { function purgeEntireVectorCache (line 359) | function purgeEntireVectorCache() { constant FILE_READ_SIZE_THRESHOLD (line 374) | const FILE_READ_SIZE_THRESHOLD = 150 * (1024 * 1024); function fileToPickerData (line 382) | async function fileToPickerData({ constant REQUIRED_FILE_OBJECT_FIELDS (line 462) | const REQUIRED_FILE_OBJECT_FIELDS = [ function hasRequiredMetadata (line 481) | function hasRequiredMetadata(metadata = {}) { FILE: server/utils/files/logo.js constant LOGO_FILENAME (line 7) | const LOGO_FILENAME = "anything-llm.png"; constant LOGO_FILENAME_DARK (line 8) | const LOGO_FILENAME_DARK = "anything-llm-dark.png"; function isDefaultFilename (line 15) | function isDefaultFilename(filename) { function validFilename (line 19) | function validFilename(newFilename = "") { function getDefaultFilename (line 29) | function getDefaultFilename(darkMode = true) { function determineLogoFilepath (line 33) | async function determineLogoFilepath(defaultFilename = LOGO_FILENAME) { function fetchLogo (line 53) | function fetchLogo(logoPath) { function renameLogoFile (line 73) | async function renameLogoFile(originalFilename = null) { function removeCustomLogo (line 95) | async function removeCustomLogo(logoFilename = LOGO_FILENAME) { FILE: server/utils/files/multer.js function handleFileUpload (line 92) | function handleFileUpload(request, response, next) { function handleAPIFileUpload (line 116) | function handleAPIFileUpload(request, response, next) { function handleAssetUpload (line 136) | function handleAssetUpload(request, response, next) { function handlePfpUpload (line 156) | function handlePfpUpload(request, response, next) { FILE: server/utils/files/pfp.js function fetchPfp (line 8) | function fetchPfp(pfpPath) { function determinePfpFilepath (line 28) | async function determinePfpFilepath(id) { function determineWorkspacePfpFilepath (line 44) | async function determineWorkspacePfpFilepath(slug) { FILE: server/utils/files/purgeDocument.js function purgeDocument (line 13) | async function purgeDocument(filename = null) { function purgeFolder (line 33) | async function purgeFolder(folderName = null) { FILE: server/utils/helpers/admin/index.js function validRoleSelection (line 7) | function validRoleSelection(currentUser = {}, newUserParams = {}) { function canModifyAdmin (line 22) | async function canModifyAdmin(userToModify, updates) { function validCanModify (line 40) | function validCanModify(currentUser, existingUser) { FILE: server/utils/helpers/camelcase.js constant UPPERCASE (line 1) | const UPPERCASE = /[\p{Lu}]/u; constant LOWERCASE (line 2) | const LOWERCASE = /[\p{Ll}]/u; constant LEADING_CAPITAL (line 3) | const LEADING_CAPITAL = /^[\p{Lu}](?![\p{Lu}])/gu; constant IDENTIFIER (line 4) | const IDENTIFIER = /([\p{Alpha}\p{N}_]|$)/u; constant SEPARATORS (line 5) | const SEPARATORS = /[_.\- ]+/; constant LEADING_SEPARATORS (line 7) | const LEADING_SEPARATORS = new RegExp("^" + SEPARATORS.source); constant SEPARATORS_AND_IDENTIFIER (line 8) | const SEPARATORS_AND_IDENTIFIER = new RegExp( constant NUMBERS_AND_IDENTIFIER (line 12) | const NUMBERS_AND_IDENTIFIER = new RegExp("\\d+" + IDENTIFIER.source, "g... function camelCase (line 76) | function camelCase(input, options) { FILE: server/utils/helpers/chat/LLMPerformanceMonitor.js class LLMPerformanceMonitor (line 26) | class LLMPerformanceMonitor { method countTokens (line 33) | static countTokens(messages = []) { method measureAsyncFunction (line 47) | static measureAsyncFunction(func) { method measureStream (line 68) | static async measureStream({ FILE: server/utils/helpers/chat/convertTo.js function convertToCSV (line 9) | async function convertToCSV(preparedData) { function convertToJSON (line 29) | async function convertToJSON(preparedData) { function convertToJSONAlpaca (line 34) | async function convertToJSONAlpaca(preparedData) { function convertToJSONL (line 39) | async function convertToJSONL(workspaceChatsMap) { function prepareChatsForExport (line 45) | async function prepareChatsForExport(format = "jsonl", chatType = "works... function escapeCsv (line 211) | function escapeCsv(str) { function exportChatsAsType (line 216) | async function exportChatsAsType(format = "jsonl", chatType = "workspace... function buildSystemPrompt (line 227) | function buildSystemPrompt(chat, prompt = null) { function attachmentToDataUrl (line 247) | function attachmentToDataUrl(attachment) { FILE: server/utils/helpers/chat/index.js function messageArrayCompressor (line 49) | async function messageArrayCompressor(llm, messages = [], rawHistory = [... function messageStringCompressor (line 193) | async function messageStringCompressor(llm, promptArgs = {}, rawHistory ... function cannonball (line 314) | function cannonball({ function fillSourceWindow (line 382) | function fillSourceWindow({ FILE: server/utils/helpers/chat/responses.js function clientAbortedHandler (line 4) | function clientAbortedHandler(resolve, fullText) { function handleDefaultStreamResponseV2 (line 19) | function handleDefaultStreamResponseV2(response, stream, responseProps) { function convertToChatHistory (line 123) | function convertToChatHistory(history = []) { function convertToPromptHistory (line 172) | function convertToPromptHistory(history = []) { function safeJSONStringify (line 215) | function safeJSONStringify(obj) { function writeResponseChunk (line 222) | function writeResponseChunk(response, data) { function formatChatHistory (line 235) | function formatChatHistory( FILE: server/utils/helpers/customModels.js constant SUPPORT_CUSTOM_MODELS (line 19) | const SUPPORT_CUSTOM_MODELS = [ function getCustomModels (line 59) | async function getCustomModels(provider = "", apiKey = null, basePath = ... function openAiModels (line 141) | async function openAiModels(apiKey = null) { function anthropicModels (line 246) | async function anthropicModels(_apiKey = null) { function localAIModels (line 276) | async function localAIModels(basePath = null, apiKey = null) { function getGroqAiModels (line 295) | async function getGroqAiModels(_apiKey = null) { function liteLLMModels (line 322) | async function liteLLMModels(basePath = null, apiKey = null) { function getLMStudioModels (line 341) | async function getLMStudioModels(basePath = null, _apiKey = null) { function getKoboldCPPModels (line 370) | async function getKoboldCPPModels(basePath = null) { function ollamaAIModels (line 392) | async function ollamaAIModels(basePath = null, _authToken = null) { function getTogetherAiModels (line 429) | async function getTogetherAiModels(apiKey = null) { function getFireworksAiModels (line 446) | async function getFireworksAiModels(apiKey = null) { function getPerplexityModels (line 461) | async function getPerplexityModels() { function getOpenRouterModels (line 475) | async function getOpenRouterModels() { function getNovitaModels (line 490) | async function getNovitaModels() { function getCometApiModels (line 504) | async function getCometApiModels() { function getAPIPieModels (line 518) | async function getAPIPieModels(apiKey = null) { function getMistralModels (line 541) | async function getMistralModels(apiKey = null) { function getElevenLabsModels (line 562) | async function getElevenLabsModels(apiKey = null) { function getDeepSeekModels (line 588) | async function getDeepSeekModels(apiKey = null) { function getGiteeAIModels (line 624) | async function getGiteeAIModels() { function getXAIModels (line 638) | async function getXAIModels(_apiKey = null) { function getNvidiaNimModels (line 668) | async function getNvidiaNimModels(basePath = null) { function getGeminiModels (line 699) | async function getGeminiModels(_apiKey = null) { function getPPIOModels (line 710) | async function getPPIOModels() { function getDellProAiStudioModels (line 723) | async function getDellProAiStudioModels(basePath = null) { function getNativeEmbedderModels (line 762) | function getNativeEmbedderModels() { function getMoonshotAiModels (line 767) | async function getMoonshotAiModels(_apiKey = null) { function getFoundryModels (line 791) | async function getFoundryModels(basePath = null) { function getCohereModels (line 824) | async function getCohereModels(_apiKey = null, type = "chat") { function getZAiModels (line 851) | async function getZAiModels(_apiKey = null) { function getOpenRouterEmbeddingModels (line 874) | async function getOpenRouterEmbeddingModels() { function getDockerModelRunnerModels (line 889) | async function getDockerModelRunnerModels(basePath = null) { function getLemonadeModels (line 902) | async function getLemonadeModels(basePath = null, task = "chat") { function getPrivatemodeModels (line 918) | async function getPrivatemodeModels(basePath = null, task = "any") { function getSambaNovaModels (line 965) | async function getSambaNovaModels(_apiKey = null) { FILE: server/utils/helpers/index.js function getVectorDbClass (line 84) | function getVectorDbClass(getExactly = null) { function getLLMProvider (line 131) | function getLLMProvider({ provider = null, model = null } = {}) { function getEmbeddingEngineSelection (line 257) | function getEmbeddingEngineSelection() { function getLLMProviderClass (line 316) | function getLLMProviderClass({ provider = null } = {}) { function getBaseLLMProviderModel (line 438) | function getBaseLLMProviderModel({ provider = null } = {}) { function maximumChunkLength (line 520) | function maximumChunkLength() { function toChunks (line 531) | function toChunks(arr, size) { function humanFileSize (line 537) | function humanFileSize(bytes, si = false, dp = 1) { FILE: server/utils/helpers/portAvailabilityChecker.js function getLocalHosts (line 2) | function getLocalHosts() { function checkPort (line 16) | function checkPort(options = {}) { function isPortInUse (line 31) | async function isPortInUse(port, host) { FILE: server/utils/helpers/search.js constant FAST_LEVENSHTEIN_DISTANCE (line 7) | const FAST_LEVENSHTEIN_DISTANCE = 3; function searchWorkspaceAndThreads (line 18) | async function searchWorkspaceAndThreads(searchTerm, user = null) { FILE: server/utils/helpers/shell.js function patchShellEnvironmentPath (line 8) | async function patchShellEnvironmentPath() { FILE: server/utils/helpers/tiktoken.js class TokenManager (line 12) | class TokenManager { method constructor (line 16) | constructor(model = "gpt-3.5-turbo") { method log (line 32) | log(text, ...args) { method #getEncodingFromModel (line 36) | #getEncodingFromModel(model) { method tokensFromString (line 49) | tokensFromString(input = "") { method bytesFromTokens (line 64) | bytesFromTokens(tokens = []) { method countFromString (line 74) | countFromString(input = "") { method statsFrom (line 84) | statsFrom(input) { FILE: server/utils/helpers/updateENV.js constant KEY_MAPPING (line 7) | const KEY_MAPPING = { function isNotEmpty (line 856) | function isNotEmpty(input = "") { function nonZero (line 860) | function nonZero(input = "") { function isInteger (line 865) | function isInteger(input = "") { function isValidURL (line 870) | function isValidURL(input = "") { function validOpenAIKey (line 879) | function validOpenAIKey(input = "") { function validAnthropicApiKey (line 883) | function validAnthropicApiKey(input = "") { function validLLMExternalBasePath (line 889) | function validLLMExternalBasePath(input = "") { function validOllamaLLMBasePath (line 901) | function validOllamaLLMBasePath(input = "") { function supportedTTSProvider (line 912) | function supportedTTSProvider(input = "") { function validLocalWhisper (line 923) | function validLocalWhisper(input = "") { function supportedLLM (line 933) | function supportedLLM(input = "") { function supportedTranscriptionProvider (line 975) | function supportedTranscriptionProvider(input = "") { function validGeminiSafetySetting (line 982) | function validGeminiSafetySetting(input = "") { function supportedEmbeddingModel (line 994) | function supportedEmbeddingModel(input = "") { function supportedVectorDB (line 1016) | function supportedVectorDB(input = "") { function validChromaURL (line 1034) | function validChromaURL(input = "") { function validOpenAiTokenLimit (line 1040) | function validOpenAiTokenLimit(input = "") { function requiresForceMode (line 1046) | function requiresForceMode(_, forceModeEnabled = false) { function validDockerizedUrl (line 1050) | async function validDockerizedUrl(input = "") { function validHuggingFaceEndpoint (line 1075) | function validHuggingFaceEndpoint(input = "") { function noRestrictedChars (line 1081) | function noRestrictedChars(input = "") { function handleVectorStoreReset (line 1088) | async function handleVectorStoreReset(key, prevValue, nextValue) { function downloadEmbeddingModelIfRequired (line 1111) | async function downloadEmbeddingModelIfRequired(key, prevValue, nextValu... function looksLikePostgresConnectionString (line 1127) | async function looksLikePostgresConnectionString(connectionString = null) { function validatePGVectorConnectionString (line 1142) | async function validatePGVectorConnectionString(key, prevValue, nextValu... function validatePGVectorTableName (line 1168) | async function validatePGVectorTableName(key, prevValue, nextValue) { function updateENV (line 1190) | async function updateENV(newENVs = {}, force = false, userId = null) { function executeValidationChecks (line 1248) | async function executeValidationChecks(checks, value, force) { function logChangesToEventLog (line 1255) | async function logChangesToEventLog(newValues = {}, userId = null) { function dumpENV (line 1270) | function dumpENV() { FILE: server/utils/http/index.js constant JWT (line 4) | const JWT = require("jsonwebtoken"); function reqBody (line 9) | function reqBody(request) { function queryParams (line 15) | function queryParams(request) { function makeJWT (line 25) | function makeJWT(info = {}, expiry = "30d") { function userFromSession (line 39) | async function userFromSession(request, response = null) { function decodeJWT (line 60) | function decodeJWT(jwtToken) { function multiUserMode (line 67) | function multiUserMode(response) { function parseAuthHeader (line 71) | function parseAuthHeader(headerValue = null, apiKey = null) { function safeJsonParse (line 78) | function safeJsonParse(jsonString, fallback = null) { function isValidUrl (line 99) | function isValidUrl(urlString = "") { function toValidNumber (line 108) | function toValidNumber(number = null, fallback = null) { function decodeHtmlEntities (line 120) | function decodeHtmlEntities(str) { FILE: server/utils/logger/index.js class Logger (line 3) | class Logger { method constructor (line 6) | constructor() { method getWinstonLogger (line 13) | getWinstonLogger() { function setLogger (line 63) | function setLogger() { FILE: server/utils/middleware/chatHistoryViewable.js function chatHistoryViewable (line 8) | function chatHistoryViewable(_request, response, next) { FILE: server/utils/middleware/communityHubDownloadsEnabled.js function communityHubDownloadsEnabled (line 22) | function communityHubDownloadsEnabled(request, response, next) { function communityHubItem (line 50) | async function communityHubItem(request, response, next) { FILE: server/utils/middleware/embedMiddleware.js function validEmbedConfig (line 9) | async function validEmbedConfig(request, response, next) { function setConnectionMeta (line 22) | function setConnectionMeta(request, response, next) { function validEmbedConfigId (line 30) | async function validEmbedConfigId(request, response, next) { function canRespond (line 43) | async function canRespond(request, response, next) { FILE: server/utils/middleware/featureFlagEnabled.js function featureFlagEnabled (line 5) | function featureFlagEnabled(featureFlagKey = null) { FILE: server/utils/middleware/isSupportedRepoProviders.js constant REPO_PLATFORMS (line 2) | const REPO_PLATFORMS = ["github", "gitlab"]; function isSupportedRepoProvider (line 4) | function isSupportedRepoProvider(request, response, next) { FILE: server/utils/middleware/multiUserProtected.js constant ROLES (line 3) | const ROLES = { constant DEFAULT_ROLES (line 9) | const DEFAULT_ROLES = [ROLES.admin, ROLES.admin]; function strictMultiUserRoleValid (line 17) | function strictMultiUserRoleValid(allowedRoles = DEFAULT_ROLES) { function flexUserRoleValid (line 46) | function flexUserRoleValid(allowedRoles = DEFAULT_ROLES) { function isMultiUserSetup (line 76) | async function isMultiUserSetup(_request, response, next) { FILE: server/utils/middleware/simpleSSOEnabled.js function simpleSSOEnabled (line 11) | async function simpleSSOEnabled(_, response, next) { function simpleSSOLoginDisabled (line 45) | function simpleSSOLoginDisabled() { function simpleSSOLoginDisabledMiddleware (line 64) | async function simpleSSOLoginDisabledMiddleware(_, response, next) { FILE: server/utils/middleware/validApiKey.js function validApiKey (line 4) | async function validApiKey(request, response, next) { FILE: server/utils/middleware/validBrowserExtensionApiKey.js function validBrowserExtensionApiKey (line 7) | async function validBrowserExtensionApiKey(request, response, next) { FILE: server/utils/middleware/validWorkspace.js function validWorkspaceSlug (line 6) | async function validWorkspaceSlug(request, response, next) { function validWorkspaceAndThreadSlug (line 23) | async function validWorkspaceAndThreadSlug(request, response, next) { FILE: server/utils/middleware/validatedRequest.js function validatedRequest (line 7) | async function validatedRequest(request, response, next) { function validateMultiUserRequest (line 71) | async function validateMultiUserRequest(request, response, next) { FILE: server/utils/telemetry/index.js function setupTelemetry (line 8) | async function setupTelemetry() { FILE: server/utils/vectorDbProviders/astra/index.js class AstraDB (line 31) | class AstraDB extends VectorDatabase { method constructor (line 32) | constructor() { method name (line 36) | get name() { method connect (line 40) | async connect() { method heartbeat (line 51) | async heartbeat() { method isRealCollection (line 58) | async isRealCollection(astraCollection = null) { method totalVectors (line 66) | async totalVectors() { method namespaceCount (line 78) | async namespaceCount(_namespace = null) { method namespace (line 84) | async namespace(client, namespace = null) { method hasNamespace (line 104) | async hasNamespace(namespace = null) { method namespaceExists (line 110) | async namespaceExists(client, namespace = null) { method deleteVectorsInNamespace (line 117) | async deleteVectorsInNamespace(client, namespace = null) { method getOrCreateCollection (line 126) | async getOrCreateCollection(client, namespace, dimensions = null) { method addDocumentToNamespace (line 157) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 289) | async deleteDocumentFromNamespace(namespace, docId) { method performSimilaritySearch (line 314) | async performSimilaritySearch({ method similarityResponse (line 358) | async similarityResponse({ method allNamespaces (line 403) | async allNamespaces(client) { method "namespace-stats" (line 430) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 442) | async "delete-namespace"(reqBody = {}) { method curateSources (line 457) | curateSources(sources = []) { FILE: server/utils/vectorDbProviders/base.js class VectorDatabase (line 6) | class VectorDatabase { method name (line 7) | get name() { method constructor (line 11) | constructor() { method connect (line 21) | async connect() { method heartbeat (line 29) | async heartbeat() { method totalVectors (line 37) | async totalVectors() { method namespaceCount (line 46) | async namespaceCount(namespace = null) { method namespace (line 56) | async namespace(client, namespace = null) { method hasNamespace (line 65) | async hasNamespace(namespace = null) { method namespaceExists (line 75) | async namespaceExists(client, namespace = null) { method deleteVectorsInNamespace (line 85) | async deleteVectorsInNamespace(client, namespace = null) { method addDocumentToNamespace (line 97) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 112) | async deleteDocumentFromNamespace(namespace, docId) { method performSimilaritySearch (line 127) | async performSimilaritySearch({ method similarityResponse (line 149) | async similarityResponse({ method "namespace-stats" (line 166) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 176) | async "delete-namespace"(reqBody = {}) { method reset (line 184) | async reset() { method curateSources (line 193) | curateSources(sources = []) { method logger (line 197) | logger(message = null, ...args) { FILE: server/utils/vectorDbProviders/chroma/index.js constant COLLECTION_REGEX (line 10) | const COLLECTION_REGEX = new RegExp( class Chroma (line 14) | class Chroma extends VectorDatabase { method constructor (line 15) | constructor() { method name (line 19) | get name() { method normalize (line 31) | normalize(inputString) { method connect (line 67) | async connect() { method heartbeat (line 93) | async heartbeat() { method totalVectors (line 98) | async totalVectors() { method distanceToSimilarity (line 112) | distanceToSimilarity(distance = null) { method namespaceCount (line 119) | async namespaceCount(_namespace = null) { method similarityResponse (line 125) | async similarityResponse({ method namespace (line 168) | async namespace(client, namespace = null) { method hasNamespace (line 181) | async hasNamespace(namespace = null) { method namespaceExists (line 187) | async namespaceExists(client, namespace = null) { method deleteVectorsInNamespace (line 198) | async deleteVectorsInNamespace(client, namespace = null) { method addDocumentToNamespace (line 203) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 344) | async deleteDocumentFromNamespace(namespace, docId) { method performSimilaritySearch (line 363) | async performSimilaritySearch({ method "namespace-stats" (line 409) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 421) | async "delete-namespace"(reqBody = {}) { method reset (line 434) | async reset() { method curateSources (line 440) | curateSources(sources = []) { method smartAdd (line 465) | async smartAdd(collection, submissions) { method smartDelete (line 478) | async smartDelete(collection, vectorIds) { FILE: server/utils/vectorDbProviders/chromacloud/index.js class ChromaCloud (line 9) | class ChromaCloud extends Chroma { method constructor (line 10) | constructor() { method name (line 14) | get name() { method connect (line 29) | async connect() { method smartAdd (line 58) | async smartAdd(collection, submission) { method smartDelete (line 140) | async smartDelete(collection, vectorIds) { FILE: server/utils/vectorDbProviders/lance/index.js class LanceDb (line 17) | class LanceDb extends VectorDatabase { method constructor (line 18) | constructor() { method uri (line 22) | get uri() { method name (line 29) | get name() { method connect (line 34) | async connect() { method distanceToSimilarity (line 39) | distanceToSimilarity(distance = null) { method heartbeat (line 46) | async heartbeat() { method tables (line 51) | async tables() { method totalVectors (line 56) | async totalVectors() { method namespaceCount (line 67) | async namespaceCount(_namespace = null) { method rerankedSimilarityResponse (line 88) | async rerankedSimilarityResponse({ method similarityResponse (line 172) | async similarityResponse({ method namespace (line 221) | async namespace(client, namespace = null) { method updateOrCreateCollection (line 238) | async updateOrCreateCollection(client, data = [], namespace) { method hasNamespace (line 250) | async hasNamespace(namespace = null) { method namespaceExists (line 263) | async namespaceExists(client, namespace = null) { method deleteVectorsInNamespace (line 275) | async deleteVectorsInNamespace(client, namespace = null) { method deleteDocumentFromNamespace (line 280) | async deleteDocumentFromNamespace(namespace, docId) { method addDocumentToNamespace (line 301) | async addDocumentToNamespace( method performSimilaritySearch (line 406) | async performSimilaritySearch({ method "namespace-stats" (line 458) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 470) | async "delete-namespace"(reqBody = {}) { method reset (line 482) | async reset() { method curateSources (line 489) | curateSources(sources = []) { FILE: server/utils/vectorDbProviders/milvus/index.js class Milvus (line 15) | class Milvus extends VectorDatabase { method constructor (line 16) | constructor() { method name (line 20) | get name() { method normalize (line 28) | normalize(inputString) { method connect (line 35) | async connect() { method heartbeat (line 54) | async heartbeat() { method totalVectors (line 59) | async totalVectors() { method namespaceCount (line 71) | async namespaceCount(_namespace = null) { method namespace (line 79) | async namespace(client, namespace = null) { method hasNamespace (line 87) | async hasNamespace(namespace = null) { method namespaceExists (line 93) | async namespaceExists(client, namespace = null) { method deleteVectorsInNamespace (line 104) | async deleteVectorsInNamespace(client, namespace = null) { method getOrCreateCollection (line 112) | async getOrCreateCollection(client, namespace, dimensions = null) { method addDocumentToNamespace (line 155) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 291) | async deleteDocumentFromNamespace(namespace, docId) { method performSimilaritySearch (line 315) | async performSimilaritySearch({ method similarityResponse (line 356) | async similarityResponse({ method "namespace-stats" (line 393) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 405) | async "delete-namespace"(reqBody = {}) { method curateSources (line 419) | curateSources(sources = []) { FILE: server/utils/vectorDbProviders/pgvector/index.js class PGVector (line 17) | class PGVector extends VectorDatabase { method constructor (line 18) | constructor() { method name (line 22) | get name() { method tableName (line 48) | static tableName() { method connectionString (line 57) | static connectionString() { method createTableSql (line 61) | createTableSql(dimensions) { method sanitizeForJsonb (line 73) | sanitizeForJsonb(value) { method client (line 114) | client(connectionString = null) { method validateExistingEmbeddingTableSchema (line 126) | async validateExistingEmbeddingTableSchema(pgClient, tableName) { method validateConnection (line 204) | static async validateConnection({ method testConnectionToDB (line 268) | async testConnectionToDB() { method connect (line 284) | async connect() { method heartbeat (line 298) | async heartbeat() { method dbTableExists (line 306) | async dbTableExists() { method totalVectors (line 323) | async totalVectors() { method distanceToSimilarity (line 340) | distanceToSimilarity(distance = null) { method namespaceCount (line 347) | async namespaceCount(namespace = null) { method similarityResponse (line 375) | async similarityResponse({ method normalizeVector (line 415) | normalizeVector(vector) { method updateOrCreateCollection (line 432) | async updateOrCreateCollection({ method createTableIfNotExists (line 470) | async createTableIfNotExists(connection, dimensions = 384) { method namespace (line 483) | async namespace(connection, namespace = null) { method hasNamespace (line 497) | async hasNamespace(namespace = null) { method namespaceExists (line 516) | async namespaceExists(connection, namespace = null) { method deleteVectorsInNamespace (line 531) | async deleteVectorsInNamespace(connection, namespace = null) { method addDocumentToNamespace (line 540) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 668) | async deleteDocumentFromNamespace(namespace, docId) { method performSimilaritySearch (line 714) | async performSimilaritySearch({ method "namespace-stats" (line 766) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 790) | async "delete-namespace"(reqBody = {}) { method reset (line 820) | async reset() { method curateSources (line 833) | curateSources(sources = []) { FILE: server/utils/vectorDbProviders/pinecone/index.js class PineconeDB (line 10) | class PineconeDB extends VectorDatabase { method constructor (line 11) | constructor() { method name (line 15) | get name() { method connect (line 19) | async connect() { method totalVectors (line 34) | async totalVectors() { method namespaceCount (line 44) | async namespaceCount(_namespace = null) { method similarityResponse (line 50) | async similarityResponse({ method namespace (line 91) | async namespace(index, namespace = null) { method hasNamespace (line 97) | async hasNamespace(namespace = null) { method namespaceExists (line 103) | async namespaceExists(index, namespace = null) { method deleteVectorsInNamespace (line 109) | async deleteVectorsInNamespace(index, namespace = null) { method addDocumentToNamespace (line 115) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 218) | async deleteDocumentFromNamespace(namespace, docId) { method "namespace-stats" (line 238) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 250) | async "delete-namespace"(reqBody = {}) { method performSimilaritySearch (line 263) | async performSimilaritySearch({ method curateSources (line 300) | curateSources(sources = []) { FILE: server/utils/vectorDbProviders/qdrant/index.js class QDrant (line 10) | class QDrant extends VectorDatabase { method constructor (line 11) | constructor() { method name (line 15) | get name() { method connect (line 19) | async connect() { method heartbeat (line 39) | async heartbeat() { method totalVectors (line 44) | async totalVectors() { method namespaceCount (line 56) | async namespaceCount(_namespace = null) { method similarityResponse (line 62) | async similarityResponse({ method namespace (line 103) | async namespace(client, namespace = null) { method hasNamespace (line 115) | async hasNamespace(namespace = null) { method namespaceExists (line 121) | async namespaceExists(client, namespace = null) { method deleteVectorsInNamespace (line 130) | async deleteVectorsInNamespace(client, namespace = null) { method getOrCreateCollection (line 138) | async getOrCreateCollection(client, namespace, dimensions = null) { method addDocumentToNamespace (line 155) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 332) | async deleteDocumentFromNamespace(namespace, docId) { method performSimilaritySearch (line 351) | async performSimilaritySearch({ method "namespace-stats" (line 391) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 403) | async "delete-namespace"(reqBody = {}) { method reset (line 416) | async reset() { method curateSources (line 425) | curateSources(sources = []) { FILE: server/utils/vectorDbProviders/weaviate/index.js class Weaviate (line 11) | class Weaviate extends VectorDatabase { method constructor (line 12) | constructor() { method name (line 16) | get name() { method connect (line 20) | async connect() { method heartbeat (line 41) | async heartbeat() { method totalVectors (line 46) | async totalVectors() { method namespaceCountWithClient (line 56) | async namespaceCountWithClient(client, namespace) { method namespaceCount (line 72) | async namespaceCount(namespace = null) { method similarityResponse (line 90) | async similarityResponse({ method allNamespaces (line 138) | async allNamespaces(client) { method namespace (line 148) | async namespace(client, namespace = null) { method addVectors (line 163) | async addVectors(client, vectors = []) { method hasNamespace (line 181) | async hasNamespace(namespace = null) { method namespaceExists (line 188) | async namespaceExists(client, namespace = null) { method deleteVectorsInNamespace (line 194) | async deleteVectorsInNamespace(client, namespace = null) { method addDocumentToNamespace (line 199) | async addDocumentToNamespace( method deleteDocumentFromNamespace (line 365) | async deleteDocumentFromNamespace(namespace, docId) { method performSimilaritySearch (line 386) | async performSimilaritySearch({ method "namespace-stats" (line 426) | async "namespace-stats"(reqBody = {}) { method "delete-namespace" (line 436) | async "delete-namespace"(reqBody = {}) { method reset (line 448) | async reset() { method curateSources (line 457) | curateSources(sources = []) { method flattenObjectForWeaviate (line 471) | flattenObjectForWeaviate(obj = {}) { FILE: server/utils/vectorDbProviders/zilliz/index.js class Zilliz (line 8) | class Zilliz extends Milvus { method constructor (line 9) | constructor() { method name (line 13) | get name() { method connect (line 17) | async connect() { FILE: server/utils/vectorStore/resetAllVectorStores.js function resetAllVectorStores (line 18) | async function resetAllVectorStores({ vectorDbKey }) {