MCPcopy Index your code

hub / github.com/OpenHealthForAll/open-health / functions

Functions170 in github.com/OpenHealthForAll/open-health

↓ 49 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:4
↓ 12 callersFunctionisFieldInvalid
(field: keyof PersonalInfoData)
src/components/onboarding/PersonalInfo.tsx:29
↓ 10 callersMethodparse
(options: VisionParseOptions)
src/lib/health-data/parser/vision/openai.ts:35
↓ 7 callersFunctionhandleChange
(field: keyof PersonalInfoData, fieldValue: string)
src/components/onboarding/PersonalInfo.tsx:33
↓ 6 callersMethodmodels
()
src/lib/health-data/parser/vision/openai.ts:21
↓ 5 callersFunctionprocessBatchWithConcurrency
( items: T[], processItem: (item: T) => Promise<R>, concurrencyLimit: number )
src/lib/health-data/parser/util.ts:21
↓ 4 callersFunctiononChangeChatRoom
({ assistantModeId, llmProvide
src/components/chat/chat-setting-side-bar.tsx:98
↓ 3 callersFunctiondecrypt
(base64Data: string)
src/lib/encryption/index.ts:47
↓ 3 callersFunctioninference
(inferenceOptions: InferenceOptions)
src/lib/health-data/parser/pdf.ts:81
↓ 2 callersFunctiondocumentParse
({document, documentParser}: { document: string, documentParser: DocumentParserOptions })
src/lib/health-data/parser/pdf.ts:61
↓ 2 callersFunctiongetNearestBoundingBox
(a: BoundingBox, b: BoundingBox)
src/components/source/source-add-screen.tsx:438
↓ 2 callersFunctionhandleUnitChange
(field: 'heightUnit' | 'weightUnit', newUnit: string)
src/components/onboarding/PersonalInfo.tsx:60
↓ 2 callersFunctiononLLMProviderChange
({ apiKey, apiURL,
src/components/chat/chat-setting-side-bar.tsx:152
↓ 2 callersMethodremoveNullable
(schema: T)
src/lib/health-data/parser/vision/google.ts:111
↓ 1 callersMethodchunkArray
(array: T[], size: number)
src/lib/health-data/parser/vision/google.ts:74
↓ 1 callersMethodconvertCoordinates
(bbox: { l: number; t: number; r: number; b: number }, pageHeight: number)
src/lib/health-data/parser/document/docling.ts:95
↓ 1 callersFunctionconvertHeight
(val: string, from: string, to: string)
src/components/onboarding/PersonalInfo.tsx:38
↓ 1 callersMethodconvertJsonContent
(data: any)
src/lib/health-data/parser/document/docling.ts:121
↓ 1 callersFunctionconvertWeight
(val: string, from: string, to: string)
src/components/onboarding/PersonalInfo.tsx:49
↓ 1 callersFunctioncreatePrismaClient
()
src/lib/prisma.ts:3
↓ 1 callersFunctiondocumentOCR
({document, documentParser}: { document: string, documentParser: DocumentParserOptions })
src/lib/health-data/parser/pdf.ts:44
↓ 1 callersFunctiondocumentToImages
* Convert a document to images * - pdf: convert to images * - image: nothing * * @param file * * @returns {Promise<string[]>} - List of image pa
src/lib/health-data/parser/pdf.ts:217
↓ 1 callersFunctionencrypt
(text: string)
src/lib/encryption/index.ts:24
↓ 1 callersFunctionfetchLLMProviderModels
()
src/components/chat/chat-setting-side-bar.tsx:90
↓ 1 callersFunctiongetFields
()
src/components/source/source-add-screen.tsx:506
↓ 1 callersFunctiongetFileMd5
(buffer: Buffer)
src/lib/health-data/parser/util.ts:8
↓ 1 callersFunctiongetIcon
(type: string)
src/components/source/source-add-screen.tsx:316
↓ 1 callersFunctiongetName
(type: string)
src/components/source/source-add-screen.tsx:329
↓ 1 callersFunctiongetParsePrompt
({excludeImage, excludeText}: { excludeImage: boolean, excludeText: boolean })
src/lib/health-data/parser/prompt.ts:78
↓ 1 callersFunctionhandle
()
src/components/auth/login-screen.tsx:35
↓ 1 callersFunctionhandleBlur
(name: string)
src/components/source/source-add-screen.tsx:419
↓ 1 callersFunctionhandleDeleteChat
(id: string, e: React.MouseEvent)
src/components/chat/chat-side-bar.tsx:116
↓ 1 callersFunctionhandleFocus
(name: string)
src/components/source/source-add-screen.tsx:414
↓ 1 callersFunctionhandleInputChange
(value: string)
src/components/ui/combobox.tsx:47
↓ 1 callersFunctionhandleKeyDown
(event: React.KeyboardEvent<HTMLInputElement>, name: string)
src/components/source/source-add-screen.tsx:424
↓ 1 callersFunctionhandleSelect
(selectedValue: string)
src/components/ui/combobox.tsx:55
↓ 1 callersFunctionhandleSendMessage
()
src/app/chat/[id]/screen.tsx:58
↓ 1 callersFunctionmain
()
prisma/seed.ts:6
↓ 1 callersMethodmergeResults
(results: any[])
src/lib/health-data/parser/vision/google.ts:96
↓ 1 callersMethodocr
(options: DocumentOCROptions)
src/lib/health-data/parser/document/docling.ts:35
↓ 1 callersFunctiononChangeAssistantMode
(assistantModeId: string, body: AssistantModePatchRequest)
src/components/chat/chat-setting-side-bar.tsx:133
↓ 1 callersFunctiononboardingSubmit
(data: OnboardingSubmitRequest)
src/actions/onboarding.ts:12
↓ 1 callersFunctionparseHealthData
(options: SourceParseOptions)
src/lib/health-data/parser/pdf.ts:273
↓ 1 callersFunctionpersonalInfoFields
(t: any, top: any)
src/components/source/source-add-screen.tsx:96
↓ 1 callersFunctionremoveFile
(index: number)
src/components/onboarding/MedicalRecords.tsx:47
↓ 1 callersMethodrequestChunks
(chunks: string[][])
src/lib/health-data/parser/vision/google.ts:82
↓ 1 callersFunctionsignUp
({username, password}: { username: string, password: string })
src/components/auth/login-screen.tsx:24
↓ 1 callersFunctionsubmit
()
src/app/onboarding/page.tsx:95
↓ 1 callersFunctionsymptomsFields
(t: any)
src/components/source/source-add-screen.tsx:187
↓ 1 callersFunctionuseClickAway
(ref: RefObject<T>, handler: () => void)
src/hooks/use-click-away.ts:3
↓ 1 callersFunctionvalidateCurrentStep
()
src/app/onboarding/page.tsx:45
FunctionAddSourceDialog
({ isSetUpVisionParser,
src/components/source/source-add-screen.tsx:192
FunctionAmplitudeContextProvider
({children}: React.PropsWithChildren)
src/context/amplitude.tsx:16
FunctionAnalysis
()
src/components/onboarding/Analysis.tsx:4
FunctionAuroraBackground
({ className, children,
src/components/ui/aurora-background.tsx:10
FunctionChatMessage
( {message}: ChatMessageProps )
src/components/chat/chat-message.tsx:14
FunctionChatSettingSideBar
({isRightSidebarOpen, chatRoomId}: ChatSettingSideBarProps )
src/components/chat/chat-setting-side-bar.tsx:22
FunctionChatSideBar
({ chatRoomId, isLeftSidebarOp
src/components/chat/chat-side-bar.tsx:23
FunctionCombobox
({ options, value, onVa
src/components/ui/combobox.tsx:18
FunctionConditionalDeploymentEnv
({env, children}: React.PropsWithChildren<ConditionalDeploymentEnvProps>)
src/components/common/deployment-env.tsx:8
FunctionDELETE
(request: Request, {params}: { params: Promise<{ id: string }> })
src/app/api/chat-rooms/[id]/route.ts:80
FunctionDELETE
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/health-data/[id]/route.ts:36
FunctionDefault
()
src/app/@modal/default.tsx:1
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:56
FunctionDynamicForm
({fields, data, onChange}: DynamicFormProps)
src/components/form/dynamic-form.tsx:21
FunctionFooter
()
src/components/ui/footer.tsx:4
FunctionGET
()
src/app/api/llm-providers/route.ts:23
FunctionGET
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/llm-providers/[id]/models/route.ts:17
FunctionGET
()
src/app/api/assistant-modes/route.ts:15
FunctionGET
( req: NextRequest, {params}: { params: Promise<{ filename: string }> } )
src/app/api/static/uploads/[filename]/route.ts:4
FunctionGET
()
src/app/api/chat-rooms/route.ts:27
FunctionGET
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/chat-rooms/[id]/route.ts:17
FunctionGET
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/chat-rooms/[id]/messages/route.ts:36
FunctionGET
()
src/app/api/health-data-parser/documents/route.ts:15
FunctionGET
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/health-data-parser/documents/[id]/models/route.ts:9
FunctionGET
()
src/app/api/health-data-parser/visions/route.ts:15
FunctionGET
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/health-data-parser/visions/[id]/models/route.ts:9
FunctionGET
()
src/app/api/health-data/route.ts:189
FunctionGET
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/health-data/[id]/route.ts:13
FunctionHealthConcerns
({value, onChange, isInvalid}: HealthConcernsProps)
src/components/onboarding/HealthConcerns.tsx:11
FunctionHealthDataItem
({healthData, isSelected, onClick, onDelete})
src/components/source/source-add-screen.tsx:313
FunctionHealthDataPreview
({healthData, formData, setFormData, setHealthData}: HealthDataPreviewProps)
src/components/source/source-add-screen.tsx:380
FunctionIntroduction
()
src/components/onboarding/Introduction.tsx:3
FunctionJSONEditor
({data, onSave, isEditable = false}: JSONEditorProps)
src/components/form/json-editor.tsx:12
FunctionLoginPage
()
src/app/login/page.tsx:4
FunctionLoginScreen
()
src/components/auth/login-screen.tsx:10
FunctionLogoutButton
()
src/components/auth/logout-button.tsx:5
FunctionMedicalRecords
({value, onValueChange}: MedicalRecordsProps)
src/components/onboarding/MedicalRecords.tsx:12
FunctionNavLinks
()
src/components/ui/nav-links.tsx:3
FunctionNavigationButtons
({ onNext, onBack,
src/components/onboarding/NavigationButtons.tsx:15
FunctionNextAuthProvider
({children}: { children: ReactNode; })
src/context/next-auth.tsx:6
FunctionOnboardingPage
()
src/app/onboarding/page.tsx:23
FunctionPATCH
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/llm-providers/[id]/route.ts:14
FunctionPATCH
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/assistant-modes/[id]/route.ts:13
FunctionPATCH
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/chat-rooms/[id]/route.ts:47
FunctionPATCH
( req: NextRequest, {params}: { params: Promise<{ id: string }> } )
src/app/api/health-data/[id]/route.ts:22
FunctionPOST
(request: Request)
src/app/api/static/uploads/route.ts:5
FunctionPOST
()
src/app/api/chat-rooms/route.ts:58
FunctionPOST
( req: NextRequest, {params}: { params: Promise<{ id: string }>, } )
src/app/api/chat-rooms/[id]/messages/route.ts:49
next →1–100 of 170, ranked by callers