MCPcopy Create free account

hub / github.com/Zleap-AI/SAG / functions

Functions494 in github.com/Zleap-AI/SAG

↓ 3 callersFunctionreadConfiguredSourceId
()
src/mcp/server.ts:110
↓ 3 callersFunctionsafeParseJson
(text: string)
web/src/lib/api.ts:24
↓ 3 callersFunctionsearchChunksByVector
(input: { sourceIds: string[]; queryVector: number[]; topK: number; })
src/db/repositories.ts:668
↓ 3 callersMethodupdateSettings
(input: UpdateAiSettingsInput)
src/services/ai-settings-service.ts:82
↓ 2 callersFunctionaddMcpMessage
(input: { sessionId: string; role: McpMessageRole; content: string; metadata?: Record<string, unknown>
src/db/repositories.ts:1496
↓ 2 callersFunctionaddMcpToolCall
(input: { sessionId: string; messageId?: string | null; toolName: string; arguments: Record<string, un
src/db/repositories.ts:1514
↓ 2 callersFunctionaiProviderSettingsFromRow
(row: Record<string, unknown>)
src/db/repositories.ts:160
↓ 2 callersMethodarchiveDocument
(documentId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:319
↓ 2 callersMethodarchiveProject
(projectId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:107
↓ 2 callersFunctionassertSourcesAccessible
(sourceIds: string[], tenantId: string)
src/db/repositories.ts:309
↓ 2 callersMethodbatchGenerate
(texts: string[])
src/ai/embedding-client.ts:8
↓ 2 callersFunctionbenchmarkExtractionSchema
()
src/ai/llm-client.ts:346
↓ 2 callersFunctionbuildChunk
(sections: SectionDraft[], rank: number)
src/ingestion/chunking/markdown.ts:342
↓ 2 callersFunctionbuildMcpSearchQueryStep
(toolCall: McpToolCallRecord, language: SupportedLanguage)
web/src/App.tsx:3899
↓ 2 callersFunctionbuildTraceProcessSteps
(trace: unknown, groupTitle: string, language: SupportedLanguage)
web/src/App.tsx:3752
↓ 2 callersFunctioncompareEntities
(a?: ProjectGraphEntityRecord, b?: ProjectGraphEntityRecord)
web/src/components/ProjectGraphFlow.tsx:629
↓ 2 callersFunctioncompareEvents
(a?: ProjectGraphEventRecord, b?: ProjectGraphEventRecord)
web/src/components/ProjectGraphFlow.tsx:633
↓ 2 callersFunctioncontextPanelModeLabel
(mode: ContextPanelMode, t: (zh: string, en: string) => string)
web/src/App.tsx:3635
↓ 2 callersFunctioncreateGraphNode
(input: { id: string; label: string; kind: GraphNodeData["kind"]; expanded: boolean; x: number; y:
web/src/components/ProjectGraphFlow.tsx:401
↓ 2 callersFunctioncreateMcpProgressEmitter
(emit: McpNotificationEmitter)
src/mcp/server.ts:167
↓ 2 callersMethodcreateProject
(input: { name: string; description?: string | null; }, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:72
↓ 2 callersFunctioncreateSource
(input: { id?: string; tenantId: string; name: string; description?: string; metadata?: Record<strin
src/db/repositories.ts:178
↓ 2 callersMethodcreateUploadJob
(input: { title?: string; fileName: string; content: string; sourceId?: string; extract?:
src/services/webui-service.ts:181
↓ 2 callersFunctiondeleteDocument
(documentId: string)
web/src/lib/api.ts:137
↓ 2 callersMethoddeleteDocument
(documentId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:335
↓ 2 callersMethoddeleteProject
(projectId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:123
↓ 2 callersFunctiondetectBrowserLanguage
()
web/src/i18n.tsx:61
↓ 2 callersFunctionentity
(id: string, sourceId: string, name: string)
test/search-service-multi.test.ts:265
↓ 2 callersFunctionenvSettings
()
src/services/ai-settings-service.ts:133
↓ 2 callersFunctionextractCitationSections
(result: unknown)
src/services/mcp-agent-service.ts:689
↓ 2 callersFunctionextractEventsFromChunk
(input: { llm: LlmClient; documentTitle: string; heading?: string; content: string; references: stri
src/ingestion/extract/extractor.ts:4
↓ 2 callersFunctionextractToolText
(value: unknown)
src/services/mcp-agent-service.ts:858
↓ 2 callersFunctionfallbackPosition
()
web/src/components/ProjectGraphFlow.tsx:517
↓ 2 callersFunctionfinishRunningSteps
()
web/src/App.tsx:677
↓ 2 callersFunctionfirstSentence
(text: string)
src/ai/llm-client.ts:710
↓ 2 callersFunctionformatDataContent
(content: string, t: (zh: string, en: string) => string)
web/src/App.tsx:4089
↓ 2 callersFunctionformatMessageContent
(content: string, t: (zh: string, en: string) => string)
web/src/App.tsx:4057
↓ 2 callersMethodgetDocument
(documentId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:343
↓ 2 callersFunctiongetDocumentDetail
(input: { documentId: string; tenantId: string; })
src/db/repositories.ts:1092
↓ 2 callersMethodgetEntity
(entityId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:363
↓ 2 callersFunctiongetEntityDetail
(input: { entityId: string; tenantId: string; includeArchived?: boolean; })
src/db/repositories.ts:1207
↓ 2 callersFunctiongetMcpSearchQuery
(args: Record<string, unknown>, language: SupportedLanguage)
web/src/App.tsx:3889
↓ 2 callersMethodgetProjectGraph
(projectId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:303
↓ 2 callersMethodgetProjectStats
(projectId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:299
↓ 2 callersMethodgetUploadJob
(jobId: string)
src/services/webui-service.ts:218
↓ 2 callersFunctionisMarkdownTableRow
(line: string)
web/src/App.tsx:3472
↓ 2 callersMethodlistChunks
(documentId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:347
↓ 2 callersMethodlistEntities
(documentId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:355
↓ 2 callersMethodlistEvents
(documentId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:351
↓ 2 callersMethodlistSessions
(input: { sourceId?: string } = {}, tenantId = config.DEFAULT_TENANT_ID)
src/services/mcp-agent-service.ts:79
↓ 2 callersFunctionlistSources
(input: { tenantId: string; limit: number; cursor?: string; includeArchived?: boolean; })
src/db/repositories.ts:210
↓ 2 callersMethodlistSources
(input: { limit?: number; cursor?: string }, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:68
↓ 2 callersFunctionloadDocumentWorkspace
(documentId: string)
web/src/App.tsx:345
↓ 2 callersFunctionlocalRerank
(query: string, candidates: EventRecord[], topK: number)
src/ai/llm-client.ts:687
↓ 2 callersFunctionlocalScoreRerank
(query: string, candidates: EventRecord[], topK: number)
src/ai/rerank-client.ts:204
↓ 2 callersFunctionnormalizeEventText
(value: string, fallback: string, inputIsChinese: boolean)
src/ai/llm-client.ts:545
↓ 2 callersFunctionnormalizeKeyword
(value: string)
web/src/App.tsx:3631
↓ 2 callersFunctionnormalizeOptionalSecret
(value: string | undefined)
src/services/ai-settings-service.ts:200
↓ 2 callersFunctionnormalizeTokenCount
(value: number, min: number, max: number)
src/ingestion/chunking/markdown.ts:150
↓ 2 callersFunctionoverlapScore
(queryTokens: Set<string>, text: string)
src/ai/llm-client.ts:699
↓ 2 callersFunctionparseToolJsonResult
(result: unknown)
src/services/mcp-agent-service.ts:717
↓ 2 callersFunctionparseToolResponse
(value: unknown)
web/src/App.tsx:3944
↓ 2 callersFunctionpreviewText
(text: string, limit: number)
src/ai/rerank-client.ts:262
↓ 2 callersFunctionpreviewText
(text: string, limit: number)
src/services/search-service.ts:653
↓ 2 callersFunctionreadDefaultChunkingMode
(metadata: Record<string, unknown>)
src/services/ai-settings-service.ts:184
↓ 2 callersFunctionreadDefaultSearchMode
(metadata: Record<string, unknown>)
src/services/ai-settings-service.ts:180
↓ 2 callersFunctionreadSseStream
(response: Response, onEvent: (event: T) => void)
web/src/lib/api.ts:344
↓ 2 callersFunctionrelationEmbeddingKey
(eventId: string, entity: ExtractedEntity)
src/services/ingestion-service.ts:438
↓ 2 callersMethodrerankEvents
(input: { query: string; candidates: EventRecord[]; topK: number; })
src/ai/llm-client.ts:15
↓ 2 callersFunctionresetProcess
(title: string, detail?: string)
web/src/App.tsx:636
↓ 2 callersMethodrestoreDocument
(documentId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:327
↓ 2 callersMethodrestoreProject
(projectId: string, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:115
↓ 2 callersFunctionresultViewLabel
(view: ResultView, language: SupportedLanguage)
web/src/App.tsx:3613
↓ 2 callersMethodrunUserMessage
(input: { sessionId: string; content: string; signal?: AbortSignal; }, tenantId = config.DEFAULT
src/services/mcp-agent-service.ts:107
↓ 2 callersFunctionsearchEntitiesByVector
(input: { sourceIds: string[]; queryVector: number[]; topK: number; threshold: number; })
src/db/repositories.ts:390
↓ 2 callersFunctionsearchEventsByTitleVector
(input: { sourceIds: string[]; queryVector: number[]; topK: number; threshold: number; })
src/db/repositories.ts:542
↓ 2 callersFunctionshortId
(id?: string | null)
web/src/lib/utils.ts:8
↓ 2 callersFunctionsubmitCreateProject
()
web/src/App.tsx:1310
↓ 2 callersFunctionsubmitRenameProject
()
web/src/App.tsx:1323
↓ 2 callersFunctionsubscribeModelCallLogs
(listener: ModelCallLogListener)
src/observability/model-call-log.ts:99
↓ 2 callersFunctiontableAlignClass
(alignment?: "left" | "center" | "right")
web/src/App.tsx:3495
↓ 2 callersFunctiontoPublicSettings
(settings: AiProviderSettingsRecord)
src/services/ai-settings-service.ts:158
↓ 2 callersFunctiontouchMcpSession
(sessionId: string)
src/db/repositories.ts:1577
↓ 2 callersFunctionuniqueStrings
(values: string[])
src/ai/llm-client.ts:612
↓ 2 callersMethodupdateDocument
(documentId: string, input: { title?: string }, tenantId = config.DEFAULT_TENANT_ID)
src/services/webui-service.ts:307
↓ 2 callersMethodupdateProject
(projectId: string, input: { name?: string; description?: string | null; }, tenantId = config.DEFAUL
src/services/webui-service.ts:91
↓ 2 callersFunctionupsertProcessStep
(step: ProcessStep)
web/src/App.tsx:657
↓ 2 callersMethodvectorSearch
(input: SearchInput, emit?: SearchProgressEmitter)
src/services/search-service.ts:69
↓ 2 callersFunctionwaitBeforeRetry
(attempt: number)
src/ai/rerank-client.ts:258
↓ 2 callersFunctionwaitBeforeRetry
(attempt: number)
src/ai/llm-client.ts:239
↓ 1 callersFunctionappendMessageToDetail
(message: McpMessageRecord)
web/src/App.tsx:683
↓ 1 callersFunctionappendToolCallToDetail
(toolCall: McpToolCallRecord)
web/src/App.tsx:694
↓ 1 callersFunctionapplySelectionStyles
(input: { nodes: GraphNode[]; edges: GraphEdge[]; selectedNodeId: string | null; })
web/src/components/ProjectGraphFlow.tsx:437
↓ 1 callersFunctionarchiveDocument
(input: { documentId: string; tenantId: string; })
src/db/repositories.ts:867
↓ 1 callersFunctionarchiveOrRestoreDocument
(document: DocumentRecord)
web/src/App.tsx:553
↓ 1 callersFunctionarchiveOrRestoreProject
(project: SourceRecord)
web/src/App.tsx:496
↓ 1 callersFunctionarchiveSource
(input: { sourceId: string; tenantId: string; })
src/db/repositories.ts:266
↓ 1 callersMethodbatchGenerate
(texts: string[])
src/ai/embedding-client.ts:17
↓ 1 callersFunctionbenchmarkExtractionExampleInput
()
src/ai/llm-client.ts:296
↓ 1 callersFunctionbenchmarkExtractionExampleOutput
()
src/ai/llm-client.ts:317
← previousnext →101–200 of 494, ranked by callers