MCPcopy Create free account

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

Functions445 in github.com/Superflows-AI/superflows

↓ 1 callersFunctionLLMPreProcess
(args: { userRequest: string; actions: ActionPlusApiInfo[]; org: Pick< Organization, | "id"
lib/v2/edge-runtime/clarification.ts:51
↓ 1 callersFunctionactionFilteringPrompt
(args: { userRequest: string; actionDescriptions: string[]; orgName: string; })
lib/v2/prompts/actionFiltering.ts:5
↓ 1 callersFunctionactionFilteringPrompt
( actions: Action[], userQuery: string, )
lib/prompts/actionFiltering.ts:5
↓ 1 callersFunctionactionTagsToToggleItems
( actionTags: ActionTagJoin[], setActionTags: (actionTags: ActionTagJoin[]) => void, supabase: SupabaseC
components/actions/actionsSection.tsx:723
↓ 1 callersFunctionbodyPropertiesFromRequestBodyContents
( requestBodyContents: Json, )
supabase/functions/execute-code-2/requests.ts:197
↓ 1 callersFunctionbuildBody
( schema: OpenAPIV3.SchemaObject, parameters: Record<string, unknown>, )
lib/edge-runtime/requests.ts:220
↓ 1 callersFunctionbuildBody
( schema: SchemaObject, parameters: Record<string, unknown>, )
supabase/functions/execute-code-2/requests.ts:217
↓ 1 callersFunctionchatHistorySummaryPrompt
( chatHistory: ChatGPTMessage[], org: { name: string; description: string }, language: string | null, )
lib/v2/prompts/summariseChatHistory.ts:10
↓ 1 callersFunctionchatToDocsPromptv3
( userRequest: string, docsSearchOutput: string, userDescription: string | undefined, org: Pick<Organi
lib/v3/prompts_parsers/chatToDocs.ts:4
↓ 1 callersMethodcheckAnalyticsCache
( instruction: string, orgId: number, chatHistory: GPTMessageInclSummary[], supabase: Supabase
lib/edge-runtime/llmResponseCache.ts:210
↓ 1 callersMethodcheckBertieAnalyticsCache
( instruction: string, chosen_actions: string[], orgId: number, supabase: SupabaseClient<Datab
lib/edge-runtime/llmResponseCache.ts:256
↓ 1 callersMethodcheckDocsCache
( chatHistory: GPTMessageInclSummary[], )
lib/edge-runtime/llmResponseCache.ts:176
↓ 1 callersMethodcheckFollowUpCache
( orgId: number, chatHistory: GPTMessageInclSummary[], supabase: SupabaseClient<Database>, )
lib/edge-runtime/llmResponseCache.ts:284
↓ 1 callersMethodcheckPreprocessingCache
( chatHistory: GPTMessageInclSummary[], chatSummary: string, supabase: SupabaseClient<Database>,
lib/edge-runtime/llmResponseCache.ts:315
↓ 1 callersFunctionchunkToString
(chunk: Chunk)
lib/utils.ts:368
↓ 1 callersFunctionclarificationPrompt
(args: { userRequest: string; actions: { name: string; filtering_description: string }[]; org: { name: s
lib/v2/prompts/clarification.ts:12
↓ 1 callersFunctioncodeFnNameDescriptionGenerationPrompt
(args: { userRequest: string; code: string; filteredActions: Action[]; org: Pick<Organization, "name"
lib/v3/prompts_parsers/descriptionGeneration.ts:18
↓ 1 callersFunctioncombineParams
(a: ParamsA, b: ParamsB)
lib/actionUtils.ts:88
↓ 1 callersFunctioncombineParams
(a: ParamsA, b: ParamsB)
supabase/functions/execute-code-2/actionUtils.ts:88
↓ 1 callersFunctionconstructHttpRequest
({ action, parameters, organization, userApiKey, }: { action: ActionPlusApiInfo; parameters: Recor
supabase/functions/execute-code-2/requests.ts:37
↓ 1 callersFunctiondeleteDocument
(document: Document)
pages/chat-to-docs.tsx:224
↓ 1 callersFunctiondeleteUndefined
( obj: InputType, )
lib/utils.ts:172
↓ 1 callersFunctiondeleteUndefined
( obj: InputType, )
supabase/functions/execute-code-2/utils.ts:30
↓ 1 callersFunctionembedText
( text: string, title: string, sectionName?: string, url?: string, createdAt?: string, )
lib/embed-docs/embedText.ts:7
↓ 1 callersFunctionendpointUrlFromAction
(action: { api_host: string; path: string; })
supabase/functions/execute-code-2/requests.ts:184
↓ 1 callersFunctionendsWithPartialMatch
(str: string, candidates: string[])
lib/edge-runtime/angelaUtils.ts:161
↓ 1 callersFunctionexplainNotPossiblePrompt
(args: { thoughts: string; userRequest: string; actions: Pick<Action, "name" | "filtering_description">[
lib/v2/prompts/explainNotPossible.ts:6
↓ 1 callersFunctionfetchAllSectionCount
()
lib/hooks/useDocumentsLoader.ts:21
↓ 1 callersFunctionfillNoChoiceRequiredParams
(paramsFromAI: Params, schema: OpenAPIV3_1.SchemaObject)
supabase/functions/execute-code-2/actionUtils.ts:74
↓ 1 callersFunctionfilterActions
( actions: ActionPlusApiInfo[], nonSystemMessages: GPTMessageInclSummary[], model: string, )
lib/edge-runtime/filterActions.ts:8
↓ 1 callersFunctionfilterKeys
( obj: InputObject, keysToKeep: string[], )
supabase/functions/execute-code-2/utils.ts:82
↓ 1 callersFunctionfindAndReplaceURL
(json: Json | Json[])
lib/edge-runtime/apiResponseSimplification.ts:84
↓ 1 callersFunctionfindHeading
(text: string)
lib/embed-docs/utils.ts:262
↓ 1 callersFunctionformatError
(e: any, code: string)
supabase/functions/execute-code-2/utils.ts:231
↓ 1 callersFunctionformatString
()
supabase/functions/execute-code-2/utils.ts:191
↓ 1 callersFunctionformatValueForVarName
(key: string, value: any)
lib/prompts/dataAnalysis.ts:120
↓ 1 callersFunctiongenerateFnNameAndDescription
( approvalAnswersData: Pick< ApprovalAnswer, "approved" | "generation_failed" | "is_generating" >
pages/api/v3/generate-answer-description.ts:404
↓ 1 callersFunctiongenerateMoreRequestsPrompt
( userRequest: string, variables: { name: string; variableStr: string }[], org: Pick<Organization, "name
lib/v3/prompts_parsers/generateAlternativeQuestions.ts:4
↓ 1 callersFunctiongetActionDescriptions
(actions: Action[])
lib/v2/prompts/chatBot.ts:130
↓ 1 callersFunctiongetAuthInfoFromSpec
( securitySchemes: | { [key: string]: OpenAPIV3_1.SecuritySchemeObject } | undefined, )
pages/api/swagger-to-actions.ts:388
↓ 1 callersFunctiongetCodeGenPromptv3
(args: { question: string; filteredActions: Action[]; org: { name: string; description: string; chatbot_
lib/v3/prompts_parsers/codeGen.ts:12
↓ 1 callersFunctiongetDocsLoader
( url: string, isDocusaurus: boolean, )
lib/embed-docs/embedDocs.ts:123
↓ 1 callersFunctiongetErrorMessage
( numActions: number, apis: Api[] | null, mockApiResponses: boolean | null, chatToDocsEnabled: boolean
components/playground.tsx:241
↓ 1 callersFunctiongetFilledNoChoiceRequiredFields
( schema: OpenAPIV3_1.SchemaObject | undefined, parentRequired: boolean = true, )
supabase/functions/execute-code-2/actionUtils.ts:31
↓ 1 callersFunctiongetFollowUpSuggestionPrompt
( userDescription: string | undefined, orgInfo: { name: string; description: string; }, langua
lib/prompts/suggestFollowUps.ts:4
↓ 1 callersFunctiongetFunctionCallCode
( calledActions: CalledAction[], varNames: string[], )
lib/prompts/dataAnalysis.ts:89
↓ 1 callersFunctiongetJsonMIMEType
( inputDict: Record<string, inObj> | undefined | null, )
supabase/functions/execute-code-2/utils.ts:125
↓ 1 callersFunctiongetLanguage
(text: string)
lib/language.ts:13
↓ 1 callersFunctiongetMatchingPromptv3
(args: { userRequest: string; matches: { text: string; fnName: string; description: string }[]; org: Pic
lib/v3/prompts_parsers/matching.ts:5
↓ 1 callersFunctiongetMessageCountText
( messages: ConversationSidebarItem["chat_messages"], )
components/transcripts/transcriptSearchSidebar.tsx:325
↓ 1 callersFunctiongetMessages
( userCopilotMessages: ChatGPTMessage[], actions: Action[], userDescription: string | undefined, orgIn
lib/v2/prompts/chatBot.ts:193
↓ 1 callersFunctiongetMissingParam
( missingParam: string, action: Action, previousConversation: ChatGPTMessage[], model: string, )
lib/edge-runtime/missingParamCorrection.ts:55
↓ 1 callersFunctiongetNextMessageIdx
(messages: ApprovalAnswerMessage[])
lib/v3/edge-runtime/ai.ts:413
↓ 1 callersFunctiongetObjectTSType
(object: any)
lib/prompts/tsConversion.ts:265
↓ 1 callersFunctiongetOpusOrGPTDataAnalysisPrompt
(args: { question: string; selectedActions: Action[]; orgInfo: Pick<Organization, "name" | "description"
lib/v2/prompts/dataAnalysis.ts:12
↓ 1 callersFunctiongetOrGenerateURL
(value: string)
lib/edge-runtime/apiResponseSimplification.ts:104
↓ 1 callersFunctiongetRedirectUrl
()
components/signIn.tsx:6
↓ 1 callersFunctiongetRelevantActions
( actions: ActionPlusApiInfo[], userQuery: string, model: string, )
lib/edge-runtime/filterActions.ts:44
↓ 1 callersFunctiongetRequiredParams
(action: Action)
lib/edge-runtime/missingParamCorrection.ts:87
↓ 1 callersFunctiongetSession
()
pages/sign-in.tsx:43
↓ 1 callersFunctiongetWriteActionDescriptionExamples
(isGet: boolean)
lib/v2/prompts/writeActionDescription.ts:11
↓ 1 callersFunctionisJson
(text: string)
lib/embed-docs/utils.ts:160
↓ 1 callersFunctionisMoneyValue
(str: string)
lib/utils.ts:489
↓ 1 callersFunctionisUUID
(str: string)
lib/utils.ts:451
↓ 1 callersFunctionisUrlRelative
(url: string)
lib/utils.ts:443
↓ 1 callersFunctionparamMatcher
(slugSegment: string, pathSegment: string)
pages/api/mock/[...slug].ts:56
↓ 1 callersFunctionparseActionDescription
(text: string)
lib/v2/prompts/writeActionDescription.ts:55
↓ 1 callersFunctionparseActionFilteringOutput
( output: string, possibleOutputs: string[], )
lib/v2/prompts/actionFiltering.ts:59
↓ 1 callersFunctionparseErrorHtml
(str: string)
supabase/functions/execute-code-2/utils.ts:173
↓ 1 callersFunctionparseFnNameDescriptionOut
(text: string)
lib/v3/prompts_parsers/descriptionGeneration.ts:192
↓ 1 callersFunctionparseGenerateAlternativeQuestionsOutput
( text: string, )
lib/v3/prompts_parsers/generateAlternativeQuestions.ts:62
↓ 1 callersFunctionparseRoutingOutputv3
( output: string, )
lib/v3/prompts_parsers/routing.ts:61
↓ 1 callersFunctionprocessAPIoutput
( out: Json | Json[], chosenAction: Action, )
supabase/functions/execute-code-2/requests.ts:16
↓ 1 callersFunctionpropertiesFromSchema
(schema: OpenAPIV3_1.SchemaObject)
pages/api/mock/[...slug].ts:384
↓ 1 callersFunctionqueryEmbedding
( textToEmbed: string | string[], model: string = "text-embedding-ada-002", )
lib/queryLLM.ts:369
↓ 1 callersFunctionrange
(start: number, end?: number)
lib/utils.ts:632
↓ 1 callersFunctionrebuildProperties
( hardCodedProperties: Properties, propertiesForAi: Properties, openAiResponse: string, transformed: P
pages/api/mock/[...slug].ts:338
↓ 1 callersFunctionrebuildPropertiesArray
( hardCodedProperties: Properties, propertiesForAi: Properties, openAiResponse: string, transformed: P
pages/api/mock/[...slug].ts:351
↓ 1 callersFunctionrecurse
(value: any)
lib/utils.ts:588
↓ 1 callersFunctionremoveEmptyCharacters
(text: string)
lib/utils.ts:20
↓ 1 callersFunctionremoveMarkdownLinks
(text: string)
lib/v2/prompts/chatBot.ts:48
↓ 1 callersFunctionremoveUnnecessaryTSTypeArgs
( tsType: string, exampleObj: any, )
lib/prompts/tsConversion.ts:284
↓ 1 callersFunctionroughSizeOfObject
(object: object)
lib/utils.ts:584
↓ 1 callersFunctionroutingPrompt
(args: { userRequest: string; org: { name: string; description: string; chat_to_docs_enabled:
lib/v2/prompts/routing.ts:9
↓ 1 callersFunctionrunDataAnalysis
( instruction: string, filteredActions: ActionPlusApiInfo[], org: Pick< Organization, | "id"
lib/v2/edge-runtime/dataAnalysis.ts:79
↓ 1 callersFunctionrunDataAnalysis
( instruction: string, actions: ActionPlusApiInfo[], fullChatHistory: GPTMessageInclSummary[], org: Pi
lib/edge-runtime/dataAnalysis.ts:70
↓ 1 callersFunctionsaveFollowUps
( llmOutput: string, orgId: number, conversationId: number, conversation_index: number, )
pages/api/v1/follow-ups.ts:257
↓ 1 callersFunctionsendFunLoadingMessages
( promise: Promise<PromiseResponse>, streamInfo: (message: StreamingStepInput) => void, )
lib/funLoadingMessages.ts:18
↓ 1 callersFunctionsimpleChatPrompt
( userDescriptionSection: string, orgInfo: Pick<Organization, "name" | "description" | "chatbot_instructio
lib/prompts/chatBot.ts:259
↓ 1 callersFunctionsystemPromptWithActions
( userDescriptionSection: string, orgInfo: Pick<Organization, "name" | "description" | "chatbot_instructio
lib/v2/prompts/chatBot.ts:227
↓ 1 callersFunctionsystemPromptWithActions
( userDescriptionSection: string, orgInfo: Pick<Organization, "name" | "description" | "chatbot_instructio
lib/prompts/chatBot.ts:289
↓ 1 callersFunctiontextFromResponse
( response: | ChatGPTResponse | RunPodResponse | TogetherAIResponse | AnthropicLegacyRespons
lib/queryLLM.ts:86
↓ 1 callersFunctiontoDateString
(date: Date)
components/transcripts/transcriptSearchSidebar.tsx:331
↓ 1 callersFunctiontoTSDescription
( match: { text: string; fnName: string; description: string }, variables: ApprovalVariable[], )
lib/v3/prompts_parsers/matching.ts:145
↓ 1 callersFunctionunprettifyJsonString
(jsonString: string)
lib/embed-docs/utils.ts:186
↓ 1 callersFunctionupdateActiveStatus
(checked: boolean, m: any)
components/actions/actionsSection.tsx:730
↓ 1 callersFunctionuseDocumentsLoader
(supabase: SupabaseClient<Database>)
lib/hooks/useDocumentsLoader.ts:14
↓ 1 callersFunctionvariableToTypeDef
(variable: ApprovalVariable)
lib/v3/prompts_parsers/utils.ts:3
↓ 1 callersFunctionwriteActionDescriptionPrompt
(args: { action: Action; org: { name: string; description: string }; })
lib/v2/prompts/writeActionDescription.ts:23
FunctionAPISettingsModal
(props: { close: () => void; api: Api | null; setApis: Dispatch<SetStateAction<Api[] | undefined>>; on
components/actions/APITabs.tsx:316
← previousnext →201–300 of 445, ranked by callers