MCPcopy Create free account

hub / github.com/Superflows-AI/superflows / functions

Functions445 in github.com/Superflows-AI/superflows

↓ 4 callersFunctiongetRelevantDocChunks
( userQuery: string, org_id: number, nChunksInclude: number, supabase: SupabaseClient<Database>, )
lib/embed-docs/docsSearch.ts:7
↓ 4 callersFunctiongetSearchDocsAction
( org: { id: number; name: string; api_key: string }, currentHost: string, )
lib/builtinActions.ts:6
↓ 4 callersFunctiongetUserMessageText
( questionText: string, variables: Record<string, any>, )
lib/v3/utils.ts:4
↓ 4 callersFunctionhideMostRecentFunctionOutputs
( chatHistory: GPTMessageInclSummary[], )
lib/edge-runtime/utils.ts:396
↓ 4 callersMethodinitialize
( userMessage: string, orgId: number, conversationIndex: number, supabase: SupabaseClient<Data
lib/edge-runtime/llmResponseCache.ts:25
↓ 4 callersFunctionisEmail
(string: string)
lib/utils.ts:455
↓ 4 callersFunctionisPhoneNumber
(string: string)
lib/utils.ts:460
↓ 4 callersFunctionmakeHttpRequest
( url: string, requestOptions: RequestInit, localHostname: string, )
lib/edge-runtime/requests.ts:240
↓ 4 callersFunctionobjectNotEmpty
(obj: Object)
lib/utils.ts:168
↓ 4 callersFunctionparseLegacyAnthropicStreamedData
( claudeOutString: string, )
lib/parsers/parsers.ts:36
↓ 4 callersFunctionpullInMessageData
( answer_id: string, supabase: SupabaseClient<Database>, )
components/approval/verifyAnswerScreen.tsx:893
↓ 4 callersFunctionreplaceMarkdownLinks
( inputString: string | undefined, )
pages/api/swagger-to-actions.ts:377
↓ 3 callersFunctionMessageInclSummaryToGPT
( message: GPTMessageInclSummary, )
lib/edge-runtime/utils.ts:58
↓ 3 callersFunctionapiMockPrompt
( path: string, requestMethod: RequestMethod, requestParameters: Chunk[] | null, responseType: Propert
lib/prompts/apiMock.ts:4
↓ 3 callersFunctionchatToDocsPrompt
( userDescription: string | undefined, orgInfo: Pick<Organization, "name" | "description" | "chatbot_instr
lib/prompts/chatBot.ts:219
↓ 3 callersMethodcheckChatCache
(chatHistory: GPTMessageInclSummary[])
lib/edge-runtime/llmResponseCache.ts:196
↓ 3 callersFunctiondataAnalysisAction
(org: { id: number })
lib/v2/builtinActions.ts:6
↓ 3 callersFunctiongenerateApiKey
()
lib/apiKey.ts:3
↓ 3 callersFunctiongetChunkUniquenessString
(chunk: SimilaritySearchResult)
lib/edge-runtime/utils.ts:198
↓ 3 callersFunctiongetDataAnalysisPrompt
( command: string, calledActions: CalledAction[], varNames: string[], orgInfo: Pick<Organization, "nam
lib/prompts/dataAnalysis.ts:13
↓ 3 callersFunctiongetFreeTierUsage
( supabase: SupabaseClient<Database>, orgId: number, )
lib/edge-runtime/utils.ts:138
↓ 3 callersFunctiongetHost
(req: NextRequest)
lib/edge-runtime/utils.ts:155
↓ 3 callersFunctiongetSecondaryModel
(mainModel: string)
lib/queryLLM.ts:356
↓ 3 callersFunctionisAlphaNumericUnderscore
(str: string)
lib/utils.ts:84
↓ 3 callersFunctionisName
(string: string)
lib/utils.ts:481
↓ 3 callersFunctionisTextWithSubstance
(text: string)
lib/embed-docs/utils.ts:4
↓ 3 callersFunctionjoinArraysNoDuplicates
( arr1: T[], arr2: T[], uniqueKey: keyof T, )
lib/utils.ts:566
↓ 3 callersFunctionjoinShortChunks
(arr: string[], tokenLimit: number)
lib/embed-docs/utils.ts:236
↓ 3 callersFunctionlanguageLine
( language: string | null, keywordsStr?: string, )
lib/v2/prompts/utils.ts:61
↓ 3 callersFunctionprocessAPIoutput
( out: Json | Json[], chosenAction: Action, )
lib/edge-runtime/requests.ts:15
↓ 3 callersFunctionrequestCorrectionPrompt
( missingParam: string, action: Action, )
lib/prompts/requestCorrection.ts:32
↓ 3 callersFunctionsnakeToCamel
(str: string)
supabase/functions/execute-code-2/utils.ts:119
↓ 3 callersFunctionsplitMarkdownIntoSentences
(markdown: string)
lib/embed-docs/utils.ts:199
↓ 3 callersFunctiontextToJson
(text: string)
components/actions/editActionModal.tsx:505
↓ 2 callersFunctionDottie
( // Dottie talks to docs controller: ReadableStreamDefaultController, reqData: AnswersType, org: OrgJoi
lib/edge-runtime/ai.ts:73
↓ 2 callersMethod_history_matches
(chatHistory: GPTMessageInclSummary[])
lib/edge-runtime/llmResponseCache.ts:142
↓ 2 callersFunctionaddGPTdataToProperties
( properties: Properties, gptOutput: string, arrayIdx: number | null = null, )
lib/utils.ts:373
↓ 2 callersFunctionaddTabsToVariables
(str: string)
components/actions/viewPromptModal.tsx:116
↓ 2 callersFunctionapplyConversationFilters
( conversation: ConversationSidebarItem, includePlaygroundItems: SelectBoxWithDropdownOption[], includeF
components/transcripts/transcriptSearchSidebar.tsx:372
↓ 2 callersFunctionbodyPropertiesFromRequestBodyContents
( requestBodyContents: Json, )
lib/edge-runtime/requests.ts:200
↓ 2 callersMethodcheckChatSummaryCache
(chatHistory: GPTMessageInclSummary[])
lib/edge-runtime/llmResponseCache.ts:306
↓ 2 callersFunctioncheckCodeExecutionOutput
( returnedData: ExecuteCode2Item[] | null, )
lib/v3/edge-runtime/dataAnalysis.ts:13
↓ 2 callersFunctioncheckPlotData
(data: any)
lib/v2/edge-runtime/dataAnalysis.ts:571
↓ 2 callersFunctioncombineChunks
(chunks: SimilaritySearchResult[])
lib/edge-runtime/utils.ts:265
↓ 2 callersFunctioncombineSelectedFunctions
( ensembleSelectedFns: ActionFilteringOutput[], actions: ActionPlusApiInfo[], )
lib/v2/edge-runtime/filterActions.ts:66
↓ 2 callersFunctionconvertToGraphData
( executeCodeResponse: ExecuteCode2Item[], )
lib/v3/edge-runtime/dataAnalysis.ts:108
↓ 2 callersFunctionconvertWrittenCodeToExecutable
( code: string, variableData: ApprovalVariable[], )
lib/v3/prompts_parsers/codeGen.ts:161
↓ 2 callersFunctionexecuteMessages
( messages: Pick< ApprovalAnswerMessage, "raw_text" | "message_idx" | "message_type" >[], isDocs
lib/v3/edge-runtime/matching.ts:352
↓ 2 callersFunctionexponentialRetryWrapper
( func: (...args: Args) => Promise<Output>, args: Args, retries: number, )
supabase/functions/execute-code-2/utils.ts:1
↓ 2 callersFunctionfetchPage
(page: number)
lib/hooks/useDocumentsLoader.ts:41
↓ 2 callersFunctionfilterActions
( userRequest: string, actions: ActionPlusApiInfo[], org: { name: string; id: number }, model: string,
lib/v2/edge-runtime/filterActions.ts:16
↓ 2 callersFunctionfindAndReplaceID
(json: Json | Json[])
lib/edge-runtime/apiResponseSimplification.ts:26
↓ 2 callersFunctionforgeLogMessage
(url: string, requestOptions: RequestInit)
lib/edge-runtime/requests.ts:32
↓ 2 callersFunctionforgeLogMessage
(url: string, requestOptions: RequestInit)
supabase/functions/execute-code-2/requests.ts:29
↓ 2 callersFunctionformatReqBodySchema
( schema: OpenAPIV3_1.SchemaObject | undefined, nestingLevel: number = 0, isRequired: boolean = false,
lib/v2/prompts/chatBot.ts:55
↓ 2 callersFunctiongetActionFilteringDescriptions
( selectedActions: Pick<Action, "name" | "filtering_description">[], )
lib/v2/prompts/utils.ts:21
↓ 2 callersFunctiongetChatHistoryText
(chatHistory: ChatGPTMessage[])
lib/v2/prompts/summariseChatHistory.ts:81
↓ 2 callersFunctiongetConversations
( from: number, to: number, includeFeedbackItems: SelectBoxWithDropdownOption[], includePlaygroundItem
components/transcripts/transcriptSearchSidebar.tsx:409
↓ 2 callersFunctiongetLLMRequestChat
( messages: ChatGPTMessage[], params: ChatGPTParams = {}, model: string, )
lib/queryLLM.ts:179
↓ 2 callersFunctiongetLLMResponse
( prompt: string | ChatGPTMessage[], params: ChatGPTParams = {}, model: string, )
lib/queryLLM.ts:31
↓ 2 callersFunctiongetNextAnswerId
( supabase: SupabaseClient<Database>, groupId: string, )
components/approval/verifyAnswerScreen.tsx:872
↓ 2 callersFunctiongetOAIRequestCompletion
( prompt: string, params: ChatGPTParams = {}, model: string, )
lib/queryLLM.ts:146
↓ 2 callersFunctiongetOrGenerateID
(value: string)
lib/edge-runtime/apiResponseSimplification.ts:52
↓ 2 callersFunctiongetPossibleJsonChunk
(text: string)
lib/embed-docs/utils.ts:154
↓ 2 callersFunctiongetSummarizeTextPrompt
( textToSummarize: string, organization: Omit<Organization, "created_at" | "join_link_id">, )
lib/prompts/summarizeText.ts:11
↓ 2 callersFunctiongetType
( type: typeType | undefined, enums: any[] | undefined, )
lib/v2/prompts/chatBot.ts:30
↓ 2 callersFunctiongetUniqueLinks
( links: Link[], base_url: string, url_docs: string, )
lib/embed-docs/getNestedUrls.ts:116
↓ 2 callersFunctionhallucinateDocsSystemPrompt
( userDescription: string | undefined, orgInfo: { name: string; description: string; }, langua
lib/prompts/hallucinateDocs.ts:3
↓ 2 callersFunctionisFunctionMessageTooLong
( message: FunctionMessageInclSummary, )
lib/edge-runtime/utils.ts:352
↓ 2 callersFunctionisJsonString
(str: string)
lib/utils.ts:89
↓ 2 callersFunctionisOSModel
(model: string)
lib/queryLLM.ts:172
↓ 2 callersFunctionmakeUrlAbsolute
(url: string, href: string)
lib/utils.ts:447
↓ 2 callersFunctionpageGetServerSideProps
( ctx: GetServerSidePropsContext, )
components/getServerSideProps.ts:4
↓ 2 callersFunctionpreStreamProcessOutMessage
( outMessage: FunctionMessageInclSummary, command: FunctionCall, chosenAction: Action, )
lib/edge-runtime/utils.ts:358
↓ 2 callersFunctionpreamble
( controller: ReadableStreamDefaultController, conversationId: number, )
lib/v2/edge-runtime/ai.ts:879
↓ 2 callersFunctionpreamble
( controller: ReadableStreamDefaultController, conversationId: number, actions: ActionPlusApiInfo[], r
lib/edge-runtime/ai.ts:702
↓ 2 callersFunctionpropertiesToChunks
(properties: Properties)
lib/utils.ts:416
↓ 2 callersFunctionreformatActionData
( data: Action & { apis: Api & { fixed_headers: HeaderRow[] } }, params: Record<string, any>, requestDat
pages/api/v1/confirm.ts:399
↓ 2 callersFunctionreformatFromFuse
( data: { item: Obj; refIndex: number; score?: number }[], )
lib/utils.ts:618
↓ 2 callersFunctionremoveFromHtml
(node: HTMLBodyElement, tags: string[])
lib/embed-docs/embedDocs.ts:139
↓ 2 callersFunctionremoveHiddenElements
( body: cheerio.Cheerio<cheerio.Element>, )
pages/api/parse-html.ts:57
↓ 2 callersFunctionremoveMarkdownLinks
(text: string)
lib/prompts/chatBot.ts:45
↓ 2 callersFunctionremoveUrlsFromObjs
( obj: Json | Json[], existingStore?: StringMapping, )
lib/edge-runtime/apiResponseSimplification.ts:65
↓ 2 callersFunctionrequestCorrectionSystemPrompt
( orgInfo: { name: string; description: string; }, userDescription: string | undefined, )
lib/prompts/requestCorrection.ts:5
↓ 2 callersFunctionrunCodeGen
( userRequest: string, actions: ActionPlusApiInfo[], org: Pick< Organization, | "id" | "name
lib/v2/edge-runtime/ai.ts:898
↓ 2 callersFunctionsaveAnalyticsToDB
( instructionMessage: string, llmResponse: string, orgId: number, dbData: { conversationId: number; in
lib/v2/edge-runtime/dataAnalysis.ts:44
↓ 2 callersFunctionsaveAnalyticsToDB
( instructionMessage: string, llmResponse: string, orgId: number, dbData: { conversationId: number; in
lib/edge-runtime/dataAnalysis.ts:48
↓ 2 callersFunctionscoreItem
(item: any)
pages/approval/index.tsx:500
↓ 2 callersFunctionslugMatchesPath
(path: string, slug: string)
pages/api/mock/[...slug].ts:32
↓ 2 callersFunctionsortObjectToArray
( obj: Record<string, ValueType>, )
lib/edge-runtime/utils.ts:386
↓ 2 callersFunctionsplitPath
(path: string)
lib/utils.ts:261
↓ 2 callersFunctionstoreActionsAwaitingConfirmation
( toConfirm: ToConfirm[], conversationId: number, )
lib/edge-runtime/ai.ts:746
↓ 2 callersFunctionstripBasicTypescriptTypes
( jsCodeString: string, definedTypeNames?: string[], )
lib/v2/prompts/dataAnalysis.ts:232
↓ 2 callersFunctionsummariseChatHistory
( chatHistory: ChatGPTMessage[], language: string | null, org: { id: number; name: string; description:
lib/v2/edge-runtime/summariseChatHistory.ts:9
↓ 2 callersFunctionsummarizeText
( text: string, organization: Omit<Organization, "created_at" | "join_link_id">, )
lib/edge-runtime/summarize.ts:9
↓ 2 callersFunctionswapKeysValues
(json: { [key: string]: string })
lib/utils.ts:426
↓ 2 callersFunctionvalidateVariablesValid
( questionText: string, variables: ApprovalVariable[], )
components/approval/addQuestionModal.tsx:219
↓ 1 callersFunctionCassius
( // Yond Cassius has a lean and hungry look, // He thinks too much; such men are dangerous controller:
lib/v3/edge-runtime/ai.ts:53
↓ 1 callersFunctionGPTChatFormatToClaudeInstant
( chatMessages: ChatGPTMessage[], )
lib/queryLLM.ts:438
↓ 1 callersFunctionGPTChatFormatToPhind
(chatMessages: ChatGPTMessage[])
lib/queryLLM.ts:416
← previousnext →101–200 of 445, ranked by callers