MCPcopy Create free account

hub / github.com/archie0732/healthy-diet-ai-agent / functions

Functions406 in github.com/archie0732/healthy-diet-ai-agent

↓ 2 callersFunctionclearPendingApprovalById
(approvalId: string)
src/server/profileApproval.ts:131
↓ 2 callersFunctioncompactText
(value: string, max = 120)
agent_skills/summarizer_tools.ts:19
↓ 2 callersFunctioncreateGoogleChatModel
(apiKey: string)
src/server/modelRouting.ts:104
↓ 2 callersFunctioncreateKnowledgeGraphRouter
(options: RouterOptions = {})
src/server/knowledgeGraph.ts:651
↓ 2 callersMethodcreateKnowledgeIngestionJob
(record: KnowledgeIngestionJobRecord)
src/storage/types.ts:126
↓ 2 callersFunctioncreateLocalChatModel
()
src/server/modelRouting.ts:94
↓ 2 callersFunctioncreateLocalOnlyStructuredOutputBinder
( model: StructuredOutputModel = llm as unknown as StructuredOutputModel )
src/server/agentRuntime.ts:530
↓ 2 callersFunctioncreateRagApiRouter
(options: CreateRagApiRouterOptions = {})
src/server/ragDocuments.ts:475
↓ 2 callersFunctioncreateResponse
(statusCode: number)
src/server/httpRuntime.test.ts:8
↓ 2 callersFunctioncreateSupabaseStorage
( client: SupabaseClient = buildClient() )
src/storage/supabase/adapter.ts:65
↓ 2 callersFunctioncreateTempDir
()
src/server/agentRuntime.test.ts:38
↓ 2 callersFunctiondiscoverLocalKnowledgeSources
(rootDir: string)
src/server/knowledgeGraph.ts:237
↓ 2 callersFunctiondiscoverUploadedSources
( rootDir: string, repository?: RagDocumentsRepository | null )
src/server/knowledgeGraph.ts:267
↓ 2 callersFunctionemitRuntimeStatus
(runtimeStreamId: string | undefined, message: string)
src/server/agentRuntime.ts:76
↓ 2 callersFunctionextractTextByExtension
(absolutePath: string, extension: string)
src/server/ragDocuments.ts:141
↓ 2 callersFunctionfetchHtml
(url: string)
src/server/mohwNews.ts:70
↓ 2 callersMethodfindKnowledgeDocumentByHash
(fileHash: string)
src/storage/types.ts:119
↓ 2 callersFunctionfindKnowledgeInCorpus
(input: { query: string; topK: number; sourceTypes?: SourceType[]; }, corpus: KnowledgeChunk[], config:
agent_skills/file_tools.ts:331
↓ 2 callersFunctiongenerateConversationSummaryForTurn
({ room_id, user_id, existing_room_summary, current_user_message, current_assistant_reply, }: { ro
agent_skills/conversation_summary_tool.ts:110
↓ 2 callersFunctiongenerateConversationTitle
( userMessage: string, aiResponse?: string )
src/serverHandlers.ts:155
↓ 2 callersMethodgetKnowledgeDocument
(documentId: string)
src/storage/types.ts:118
↓ 2 callersMethodgetKnowledgeIngestionJob
(jobId: string)
src/storage/types.ts:131
↓ 2 callersFunctiongetRuntimeStatusEmitterCount
()
src/server/agentRuntime.ts:81
↓ 2 callersFunctionhasStandaloneStatusCode
(text: string, codes: number[])
src/server/modelRouting.ts:62
↓ 2 callersFunctioninferNodeType
(term: string)
src/server/knowledgeGraph.ts:196
↓ 2 callersFunctioninsertDietChatHistoryRow
( client: NonNullable<typeof supabase>, insertData: Record<string, unknown>, label: string )
agent_skills/db_tools.ts:67
↓ 2 callersFunctionisFdaHost
(url: URL)
src/server/mohwNews.ts:49
↓ 2 callersFunctionisUsefulContentBlock
(text: string)
src/server/mohwNews.ts:127
↓ 2 callersMethodlistDocuments
()
src/server/ragDocuments.test.ts:13
↓ 2 callersFunctionlistMarkdownFilesRecursively
(baseDir: string)
agent_skills/file_tools.ts:66
↓ 2 callersFunctionlooksLikeErrorPage
(content: string)
src/server/mohwNews.ts:181
↓ 2 callersFunctionmapKnowledgeDocumentRow
(row: Record<string, unknown>)
src/storage/sqlite/adapter.ts:56
↓ 2 callersFunctionnormalizeContentText
(value: string)
src/server/mohwNews.ts:46
↓ 2 callersFunctionnowIso
()
scripts/sync-mohw-clarifications.ts:33
↓ 2 callersFunctionparseCliArg
(name: string)
scripts/sync-mohw-clarifications.ts:56
↓ 2 callersFunctionparseConversationSummaryToolOutput
( rawOutput: unknown )
agent_skills/conversation_summary_tool.ts:50
↓ 2 callersFunctionparsePlainBase64Image
( raw: string, mimeTypeHint?: string )
src/server/imageStorage.ts:28
↓ 2 callersFunctionreindexDocument
(repository: RagDocumentsRepository, rootDir: string, document: RagDocumentRecord)
src/server/ragDocuments.ts:400
↓ 2 callersFunctionrequestLoggerMiddleware
(req: Request, res: Response, next: (err?: unknown) => void)
src/server/httpRuntime.ts:137
↓ 2 callersFunctionresolveStorageBackend
()
src/server/httpRuntime.ts:21
↓ 2 callersFunctionrunAgentStream
( res: Response, config: { configurable: { thread_id: string } }, input: { messages: Array<{ role: '
src/server/agentRuntime.ts:758
↓ 2 callersFunctionrunCliForTest
( argv: string[], executor?: (args: CliArgs) => Promise<CliTurnResult> )
src/cli.ts:106
↓ 2 callersFunctionrunMohwSyncSafely
(trigger: 'startup' | 'interval')
src/index.ts:71
↓ 2 callersFunctionsanitizeBaseFileName
(value: string)
src/server/knowledgeIngestion.ts:51
↓ 2 callersFunctionsanitizeBaseFileName
(value: string)
src/server/ragDocuments.ts:33
↓ 2 callersFunctionsanitizeForLog
(body: unknown)
src/server/httpRuntime.ts:116
↓ 2 callersFunctionsanitizePathToken
(value: string)
src/server/imageStorage.ts:12
↓ 2 callersFunctionsanitizeProfileUpdateFields
(fields: ProfileUpdateFields)
src/server/profileApproval.ts:173
↓ 2 callersFunctionscoreChunkForQuery
( query: EvaluationQueryV2, chunk: RAGChunk, mode: 'append-only' | 'recency-only' | 'proposed' )
experiments/version_aware_rag/scripts/run_retrieval_eval.ts:78
↓ 2 callersFunctionsendDocumentFile
( repositoryInstance: RagDocumentsRepository, req: Request, res: Response, scope: 'documents'
src/server/ragDocuments.ts:595
↓ 2 callersFunctionsendDocumentPreview
( repositoryInstance: RagDocumentsRepository, req: Request, res: Response, scope: 'documents'
src/server/ragDocuments.ts:613
↓ 2 callersFunctionsleep
(ms: number)
scripts/sync-mohw-clarifications.ts:46
↓ 2 callersFunctionsummarizeCache
(cache: KnowledgeGraphCache)
src/server/knowledgeGraph.ts:630
↓ 2 callersFunctionsummarizeQueryResult
( queryId: string, question: string, topK: RetrievalResult[], judgment: EvaluationJudgmentV2 )
experiments/version_aware_rag/scripts/run_retrieval_eval.ts:126
↓ 2 callersFunctionsyncMohwNews
()
src/server/mohwNews.ts:219
↓ 2 callersFunctiontoContentText
(content: unknown)
agent_skills/fetch_web.ts:65
↓ 2 callersFunctiontokenize
(text: string)
experiments/version_aware_rag/scripts/run_retrieval_eval.ts:72
↓ 2 callersMethodupdateDocument
(documentId: string, patch: Partial<RagDocumentRecord>)
src/server/ragDocuments.test.ts:33
↓ 2 callersMethodupdateKnowledgeIngestionJob
( jobId: string, patch: Partial<KnowledgeIngestionJobRecord> )
src/storage/types.ts:127
↓ 2 callersMethodupdateUserProfile
(input: UserProfileUpdateInput)
src/storage/types.ts:115
↓ 2 callersFunctionvalidateSafeWebUrl
(rawUrl: string)
agent_skills/fetch_web.ts:49
↓ 2 callersFunctionwithRuntimeStatusEmitter
({ runtimeStreamId, res, work, }: { runtimeStreamId: string; res: Pick<Response, 'write'>; work: (
src/server/agentRuntime.ts:83
↓ 2 callersFunctionwithTimeout
( promise: Promise<T>, timeoutMs: number, label: string )
src/server/httpRuntime.ts:42
↓ 2 callersFunctionwithTimeout
(promise: PromiseLike<T>, timeoutMs: number, label: string)
agent_skills/db_tools.ts:12
↓ 2 callersFunctionwriteCache
(cache: KnowledgeGraphCache)
src/server/knowledgeGraph.ts:659
↓ 1 callersFunctionbuildChunkPairs
(chunks: RAGChunk[])
experiments/version_aware_rag/scripts/build_chunk_pairs.ts:31
↓ 1 callersFunctionbuildChunksFromMarkdown
(filePath: string, docId: string, version: string, year: number)
experiments/version_aware_rag/scripts/build_chunks.ts:18
↓ 1 callersFunctionbuildClient
()
src/storage/supabase/adapter.ts:14
↓ 1 callersFunctionbuildConfigCacheKey
(config: Pick<AgentConfig, 'rag'>)
agent_skills/file_tools.ts:182
↓ 1 callersFunctionbuildEdgeId
(sourceId: string, relationType: GraphRelationType, targetId: string)
src/server/knowledgeGraph.ts:178
↓ 1 callersFunctionbuildEvidenceId
(edgeId: string, documentId: string, snippet: string)
src/server/knowledgeGraph.ts:181
↓ 1 callersFunctionbuildNodeDetail
(cache: KnowledgeGraphCache, nodeId: string)
src/server/knowledgeGraph.ts:567
↓ 1 callersFunctionbuildNodeId
(label: string, nodeType: GraphNodeType)
src/server/knowledgeGraph.ts:175
↓ 1 callersFunctionbuildRagSearchSchema
(config: Pick<AgentConfig, 'rag'>)
src/server/ragSearch.ts:26
↓ 1 callersFunctionbuildRelativeMarkdownPath
(documentId: string, safeName: string)
src/server/knowledgeIngestion.ts:83
↓ 1 callersFunctionbuildRelativeMarkdownPath
(documentId: string, safeName: string)
src/server/ragDocuments.ts:79
↓ 1 callersFunctionbuildRelativeStoragePath
(sha256: string, safeName: string, extension: string)
src/server/knowledgeIngestion.ts:74
↓ 1 callersFunctionbuildRelativeStoragePath
(sha256: string, safeName: string, extension: string)
src/server/ragDocuments.ts:71
↓ 1 callersFunctionbuildRoomSummaryIndexEntry
({ compactSummary, chatHistoryId, summaryHistoryId, createdAt = new Date().toISOString(), }: { compa
src/server/roomSummaryIndex.ts:97
↓ 1 callersFunctionbuildStorageRepository
()
src/server/ragDocuments.ts:337
↓ 1 callersFunctionbuildSubgraph
( cache: KnowledgeGraphCache, query: string, maxNodes: number, sourceTypes?: string[], documentIds?:
src/server/knowledgeGraph.ts:516
↓ 1 callersFunctionclassifyConflictRelation
(pair: EvaluationPair)
experiments/version_aware_rag/scripts/classify_conflicts.ts:21
↓ 1 callersFunctioncleanModelOutput
(raw: string)
agent_skills/vision_model.ts:12
↓ 1 callersFunctionclean_markdown_headers_footers_dots
清洗 Markdown 檔案,移除運行頁首尾、物理獨立頁碼,並清理目錄中的虛線導線
src/rag_clean/pdf_to_clean_markdown.py:151
↓ 1 callersFunctioncleanupExpiredUserProfileCache
()
src/serverHandlers.ts:551
↓ 1 callersFunctioncollectErrorText
(error: unknown)
src/server/modelRouting.ts:36
↓ 1 callersFunctioncontainsAny
(text: string, patterns: string[])
agent_skills/conversation_summary_tool.ts:71
↓ 1 callersFunctionconvert_pdf_to_markdown
將單一 PDF 轉譯為初步的 Markdown 格式,包含 Markdown 表格、數據文字化與圖表上下文標記
src/rag_clean/pdf_to_clean_markdown.py:99
↓ 1 callersFunctioncreateBookmarksMarkdown
(records: ArticleRecord[], generatedAt: string)
scripts/sync-mohw-clarifications.ts:203
↓ 1 callersMethodcreateDocument
(record: RagDocumentRecord)
src/server/knowledgeGraph.test.ts:29
↓ 1 callersMethodcreateDocument
(record: RagDocumentRecord)
src/server/ragDocuments.test.ts:28
↓ 1 callersFunctioncreateInitialChatPersistence
({ threadId, userId, userMessage, imagePath, isNewConversation, storage, persistChatRoomMetaFn =
src/serverHandlers.ts:300
↓ 1 callersFunctioncreateMarkdown
(record: ArticleRecord, content: string)
src/server/mohwNews.ts:177
↓ 1 callersFunctioncreateSqliteStorage
(dbPath: string)
src/storage/sqlite/adapter.ts:96
↓ 1 callersFunctioncreateStorage
()
src/storage/runtime.ts:11
↓ 1 callersFunctioncreateTempKnowledgeLayout
()
agent_skills/file_tools.test.ts:21
↓ 1 callersFunctiondecideConversationSummaryNeed
({ room_id, user_id, existing_room_summary, current_user_message, current_assistant_reply, }: { ro
agent_skills/conversation_summary_tool.ts:175
↓ 1 callersMethoddeleteDocument
(documentId: string)
src/server/ragDocuments.test.ts:44
↓ 1 callersMethoddeleteKnowledgeDocument
(documentId: string)
src/storage/types.ts:125
↓ 1 callersFunctiondetectExtension
(fileName: string, mimeType?: string)
src/server/knowledgeIngestion.ts:60
← previousnext →101–200 of 406, ranked by callers