Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Superflows-AI/superflows
/ functions
Functions
445 in github.com/Superflows-AI/superflows
⨍
Functions
445
◇
Types & classes
38
↓ 1 callers
Function
LLMPreProcess
(args: { userRequest: string; actions: ActionPlusApiInfo[]; org: Pick< Organization, | "id"
lib/v2/edge-runtime/clarification.ts:51
↓ 1 callers
Function
actionFilteringPrompt
(args: { userRequest: string; actionDescriptions: string[]; orgName: string; })
lib/v2/prompts/actionFiltering.ts:5
↓ 1 callers
Function
actionFilteringPrompt
( actions: Action[], userQuery: string, )
lib/prompts/actionFiltering.ts:5
↓ 1 callers
Function
actionTagsToToggleItems
( actionTags: ActionTagJoin[], setActionTags: (actionTags: ActionTagJoin[]) => void, supabase: SupabaseC
components/actions/actionsSection.tsx:723
↓ 1 callers
Function
bodyPropertiesFromRequestBodyContents
( requestBodyContents: Json, )
supabase/functions/execute-code-2/requests.ts:197
↓ 1 callers
Function
buildBody
( schema: OpenAPIV3.SchemaObject, parameters: Record<string, unknown>, )
lib/edge-runtime/requests.ts:220
↓ 1 callers
Function
buildBody
( schema: SchemaObject, parameters: Record<string, unknown>, )
supabase/functions/execute-code-2/requests.ts:217
↓ 1 callers
Function
chatHistorySummaryPrompt
( chatHistory: ChatGPTMessage[], org: { name: string; description: string }, language: string | null, )
lib/v2/prompts/summariseChatHistory.ts:10
↓ 1 callers
Function
chatToDocsPromptv3
( userRequest: string, docsSearchOutput: string, userDescription: string | undefined, org: Pick<Organi
lib/v3/prompts_parsers/chatToDocs.ts:4
↓ 1 callers
Method
checkAnalyticsCache
( instruction: string, orgId: number, chatHistory: GPTMessageInclSummary[], supabase: Supabase
lib/edge-runtime/llmResponseCache.ts:210
↓ 1 callers
Method
checkBertieAnalyticsCache
( instruction: string, chosen_actions: string[], orgId: number, supabase: SupabaseClient<Datab
lib/edge-runtime/llmResponseCache.ts:256
↓ 1 callers
Method
checkDocsCache
( chatHistory: GPTMessageInclSummary[], )
lib/edge-runtime/llmResponseCache.ts:176
↓ 1 callers
Method
checkFollowUpCache
( orgId: number, chatHistory: GPTMessageInclSummary[], supabase: SupabaseClient<Database>, )
lib/edge-runtime/llmResponseCache.ts:284
↓ 1 callers
Method
checkPreprocessingCache
( chatHistory: GPTMessageInclSummary[], chatSummary: string, supabase: SupabaseClient<Database>,
lib/edge-runtime/llmResponseCache.ts:315
↓ 1 callers
Function
chunkToString
(chunk: Chunk)
lib/utils.ts:368
↓ 1 callers
Function
clarificationPrompt
(args: { userRequest: string; actions: { name: string; filtering_description: string }[]; org: { name: s
lib/v2/prompts/clarification.ts:12
↓ 1 callers
Function
codeFnNameDescriptionGenerationPrompt
(args: { userRequest: string; code: string; filteredActions: Action[]; org: Pick<Organization, "name"
lib/v3/prompts_parsers/descriptionGeneration.ts:18
↓ 1 callers
Function
combineParams
(a: ParamsA, b: ParamsB)
lib/actionUtils.ts:88
↓ 1 callers
Function
combineParams
(a: ParamsA, b: ParamsB)
supabase/functions/execute-code-2/actionUtils.ts:88
↓ 1 callers
Function
constructHttpRequest
({ action, parameters, organization, userApiKey, }: { action: ActionPlusApiInfo; parameters: Recor
supabase/functions/execute-code-2/requests.ts:37
↓ 1 callers
Function
deleteDocument
(document: Document)
pages/chat-to-docs.tsx:224
↓ 1 callers
Function
deleteUndefined
( obj: InputType, )
lib/utils.ts:172
↓ 1 callers
Function
deleteUndefined
( obj: InputType, )
supabase/functions/execute-code-2/utils.ts:30
↓ 1 callers
Function
embedText
( text: string, title: string, sectionName?: string, url?: string, createdAt?: string, )
lib/embed-docs/embedText.ts:7
↓ 1 callers
Function
endpointUrlFromAction
(action: { api_host: string; path: string; })
supabase/functions/execute-code-2/requests.ts:184
↓ 1 callers
Function
endsWithPartialMatch
(str: string, candidates: string[])
lib/edge-runtime/angelaUtils.ts:161
↓ 1 callers
Function
explainNotPossiblePrompt
(args: { thoughts: string; userRequest: string; actions: Pick<Action, "name" | "filtering_description">[
lib/v2/prompts/explainNotPossible.ts:6
↓ 1 callers
Function
fetchAllSectionCount
()
lib/hooks/useDocumentsLoader.ts:21
↓ 1 callers
Function
fillNoChoiceRequiredParams
(paramsFromAI: Params, schema: OpenAPIV3_1.SchemaObject)
supabase/functions/execute-code-2/actionUtils.ts:74
↓ 1 callers
Function
filterActions
( actions: ActionPlusApiInfo[], nonSystemMessages: GPTMessageInclSummary[], model: string, )
lib/edge-runtime/filterActions.ts:8
↓ 1 callers
Function
filterKeys
( obj: InputObject, keysToKeep: string[], )
supabase/functions/execute-code-2/utils.ts:82
↓ 1 callers
Function
findAndReplaceURL
(json: Json | Json[])
lib/edge-runtime/apiResponseSimplification.ts:84
↓ 1 callers
Function
findHeading
(text: string)
lib/embed-docs/utils.ts:262
↓ 1 callers
Function
formatError
(e: any, code: string)
supabase/functions/execute-code-2/utils.ts:231
↓ 1 callers
Function
formatString
()
supabase/functions/execute-code-2/utils.ts:191
↓ 1 callers
Function
formatValueForVarName
(key: string, value: any)
lib/prompts/dataAnalysis.ts:120
↓ 1 callers
Function
generateFnNameAndDescription
( approvalAnswersData: Pick< ApprovalAnswer, "approved" | "generation_failed" | "is_generating" >
pages/api/v3/generate-answer-description.ts:404
↓ 1 callers
Function
generateMoreRequestsPrompt
( userRequest: string, variables: { name: string; variableStr: string }[], org: Pick<Organization, "name
lib/v3/prompts_parsers/generateAlternativeQuestions.ts:4
↓ 1 callers
Function
getActionDescriptions
(actions: Action[])
lib/v2/prompts/chatBot.ts:130
↓ 1 callers
Function
getAuthInfoFromSpec
( securitySchemes: | { [key: string]: OpenAPIV3_1.SecuritySchemeObject } | undefined, )
pages/api/swagger-to-actions.ts:388
↓ 1 callers
Function
getCodeGenPromptv3
(args: { question: string; filteredActions: Action[]; org: { name: string; description: string; chatbot_
lib/v3/prompts_parsers/codeGen.ts:12
↓ 1 callers
Function
getDocsLoader
( url: string, isDocusaurus: boolean, )
lib/embed-docs/embedDocs.ts:123
↓ 1 callers
Function
getErrorMessage
( numActions: number, apis: Api[] | null, mockApiResponses: boolean | null, chatToDocsEnabled: boolean
components/playground.tsx:241
↓ 1 callers
Function
getFilledNoChoiceRequiredFields
( schema: OpenAPIV3_1.SchemaObject | undefined, parentRequired: boolean = true, )
supabase/functions/execute-code-2/actionUtils.ts:31
↓ 1 callers
Function
getFollowUpSuggestionPrompt
( userDescription: string | undefined, orgInfo: { name: string; description: string; }, langua
lib/prompts/suggestFollowUps.ts:4
↓ 1 callers
Function
getFunctionCallCode
( calledActions: CalledAction[], varNames: string[], )
lib/prompts/dataAnalysis.ts:89
↓ 1 callers
Function
getJsonMIMEType
( inputDict: Record<string, inObj> | undefined | null, )
supabase/functions/execute-code-2/utils.ts:125
↓ 1 callers
Function
getLanguage
(text: string)
lib/language.ts:13
↓ 1 callers
Function
getMatchingPromptv3
(args: { userRequest: string; matches: { text: string; fnName: string; description: string }[]; org: Pic
lib/v3/prompts_parsers/matching.ts:5
↓ 1 callers
Function
getMessageCountText
( messages: ConversationSidebarItem["chat_messages"], )
components/transcripts/transcriptSearchSidebar.tsx:325
↓ 1 callers
Function
getMessages
( userCopilotMessages: ChatGPTMessage[], actions: Action[], userDescription: string | undefined, orgIn
lib/v2/prompts/chatBot.ts:193
↓ 1 callers
Function
getMissingParam
( missingParam: string, action: Action, previousConversation: ChatGPTMessage[], model: string, )
lib/edge-runtime/missingParamCorrection.ts:55
↓ 1 callers
Function
getNextMessageIdx
(messages: ApprovalAnswerMessage[])
lib/v3/edge-runtime/ai.ts:413
↓ 1 callers
Function
getObjectTSType
(object: any)
lib/prompts/tsConversion.ts:265
↓ 1 callers
Function
getOpusOrGPTDataAnalysisPrompt
(args: { question: string; selectedActions: Action[]; orgInfo: Pick<Organization, "name" | "description"
lib/v2/prompts/dataAnalysis.ts:12
↓ 1 callers
Function
getOrGenerateURL
(value: string)
lib/edge-runtime/apiResponseSimplification.ts:104
↓ 1 callers
Function
getRedirectUrl
()
components/signIn.tsx:6
↓ 1 callers
Function
getRelevantActions
( actions: ActionPlusApiInfo[], userQuery: string, model: string, )
lib/edge-runtime/filterActions.ts:44
↓ 1 callers
Function
getRequiredParams
(action: Action)
lib/edge-runtime/missingParamCorrection.ts:87
↓ 1 callers
Function
getSession
()
pages/sign-in.tsx:43
↓ 1 callers
Function
getWriteActionDescriptionExamples
(isGet: boolean)
lib/v2/prompts/writeActionDescription.ts:11
↓ 1 callers
Function
isJson
(text: string)
lib/embed-docs/utils.ts:160
↓ 1 callers
Function
isMoneyValue
(str: string)
lib/utils.ts:489
↓ 1 callers
Function
isUUID
(str: string)
lib/utils.ts:451
↓ 1 callers
Function
isUrlRelative
(url: string)
lib/utils.ts:443
↓ 1 callers
Function
paramMatcher
(slugSegment: string, pathSegment: string)
pages/api/mock/[...slug].ts:56
↓ 1 callers
Function
parseActionDescription
(text: string)
lib/v2/prompts/writeActionDescription.ts:55
↓ 1 callers
Function
parseActionFilteringOutput
( output: string, possibleOutputs: string[], )
lib/v2/prompts/actionFiltering.ts:59
↓ 1 callers
Function
parseErrorHtml
(str: string)
supabase/functions/execute-code-2/utils.ts:173
↓ 1 callers
Function
parseFnNameDescriptionOut
(text: string)
lib/v3/prompts_parsers/descriptionGeneration.ts:192
↓ 1 callers
Function
parseGenerateAlternativeQuestionsOutput
( text: string, )
lib/v3/prompts_parsers/generateAlternativeQuestions.ts:62
↓ 1 callers
Function
parseRoutingOutputv3
( output: string, )
lib/v3/prompts_parsers/routing.ts:61
↓ 1 callers
Function
processAPIoutput
( out: Json | Json[], chosenAction: Action, )
supabase/functions/execute-code-2/requests.ts:16
↓ 1 callers
Function
propertiesFromSchema
(schema: OpenAPIV3_1.SchemaObject)
pages/api/mock/[...slug].ts:384
↓ 1 callers
Function
queryEmbedding
( textToEmbed: string | string[], model: string = "text-embedding-ada-002", )
lib/queryLLM.ts:369
↓ 1 callers
Function
range
(start: number, end?: number)
lib/utils.ts:632
↓ 1 callers
Function
rebuildProperties
( hardCodedProperties: Properties, propertiesForAi: Properties, openAiResponse: string, transformed: P
pages/api/mock/[...slug].ts:338
↓ 1 callers
Function
rebuildPropertiesArray
( hardCodedProperties: Properties, propertiesForAi: Properties, openAiResponse: string, transformed: P
pages/api/mock/[...slug].ts:351
↓ 1 callers
Function
recurse
(value: any)
lib/utils.ts:588
↓ 1 callers
Function
removeEmptyCharacters
(text: string)
lib/utils.ts:20
↓ 1 callers
Function
removeMarkdownLinks
(text: string)
lib/v2/prompts/chatBot.ts:48
↓ 1 callers
Function
removeUnnecessaryTSTypeArgs
( tsType: string, exampleObj: any, )
lib/prompts/tsConversion.ts:284
↓ 1 callers
Function
roughSizeOfObject
(object: object)
lib/utils.ts:584
↓ 1 callers
Function
routingPrompt
(args: { userRequest: string; org: { name: string; description: string; chat_to_docs_enabled:
lib/v2/prompts/routing.ts:9
↓ 1 callers
Function
runDataAnalysis
( instruction: string, filteredActions: ActionPlusApiInfo[], org: Pick< Organization, | "id"
lib/v2/edge-runtime/dataAnalysis.ts:79
↓ 1 callers
Function
runDataAnalysis
( instruction: string, actions: ActionPlusApiInfo[], fullChatHistory: GPTMessageInclSummary[], org: Pi
lib/edge-runtime/dataAnalysis.ts:70
↓ 1 callers
Function
saveFollowUps
( llmOutput: string, orgId: number, conversationId: number, conversation_index: number, )
pages/api/v1/follow-ups.ts:257
↓ 1 callers
Function
sendFunLoadingMessages
( promise: Promise<PromiseResponse>, streamInfo: (message: StreamingStepInput) => void, )
lib/funLoadingMessages.ts:18
↓ 1 callers
Function
simpleChatPrompt
( userDescriptionSection: string, orgInfo: Pick<Organization, "name" | "description" | "chatbot_instructio
lib/prompts/chatBot.ts:259
↓ 1 callers
Function
systemPromptWithActions
( userDescriptionSection: string, orgInfo: Pick<Organization, "name" | "description" | "chatbot_instructio
lib/v2/prompts/chatBot.ts:227
↓ 1 callers
Function
systemPromptWithActions
( userDescriptionSection: string, orgInfo: Pick<Organization, "name" | "description" | "chatbot_instructio
lib/prompts/chatBot.ts:289
↓ 1 callers
Function
textFromResponse
( response: | ChatGPTResponse | RunPodResponse | TogetherAIResponse | AnthropicLegacyRespons
lib/queryLLM.ts:86
↓ 1 callers
Function
toDateString
(date: Date)
components/transcripts/transcriptSearchSidebar.tsx:331
↓ 1 callers
Function
toTSDescription
( match: { text: string; fnName: string; description: string }, variables: ApprovalVariable[], )
lib/v3/prompts_parsers/matching.ts:145
↓ 1 callers
Function
unprettifyJsonString
(jsonString: string)
lib/embed-docs/utils.ts:186
↓ 1 callers
Function
updateActiveStatus
(checked: boolean, m: any)
components/actions/actionsSection.tsx:730
↓ 1 callers
Function
useDocumentsLoader
(supabase: SupabaseClient<Database>)
lib/hooks/useDocumentsLoader.ts:14
↓ 1 callers
Function
variableToTypeDef
(variable: ApprovalVariable)
lib/v3/prompts_parsers/utils.ts:3
↓ 1 callers
Function
writeActionDescriptionPrompt
(args: { action: Action; org: { name: string; description: string }; })
lib/v2/prompts/writeActionDescription.ts:23
Function
APISettingsModal
(props: { close: () => void; api: Api | null; setApis: Dispatch<SetStateAction<Api[] | undefined>>; on
components/actions/APITabs.tsx:316
← previous
next →
201–300 of 445, ranked by callers