MCPcopy Create free account

hub / github.com/lfnovo/open-notebook / functions

Functions1,250 in github.com/lfnovo/open-notebook

FunctionhandleDeleteWithModels
()
frontend/src/app/(dashboard)/settings/api-keys/page.tsx:696
FunctionhandleDownloadFile
()
frontend/src/components/source/SourceDetailContent.tsx:268
FunctionhandleEmbedContent
()
frontend/src/components/source/SourceDetailContent.tsx:229
FunctionhandleExecute
()
frontend/src/app/(dashboard)/transformations/components/TransformationPlayground.tsx:32
FunctionhandleKeyDown
(e: React.KeyboardEvent)
frontend/src/components/source/ChatPanel.tsx:113
FunctionhandleKeyDown
(e: React.KeyboardEvent)
frontend/src/components/common/InlineEdit.tsx:75
FunctionhandleKeyDown
(e: KeyboardEvent)
frontend/src/app/(dashboard)/sources/page.tsx:101
FunctionhandleKeyPress
(e: KeyboardEvent)
frontend/src/components/common/ConnectionGuard.tsx:85
FunctionhandleKeyPress
(e: React.KeyboardEvent)
frontend/src/app/(dashboard)/search/page.tsx:98
FunctionhandleLogin
(password: string)
frontend/src/lib/hooks/use-auth.ts:41
FunctionhandleLogout
()
frontend/src/lib/hooks/use-auth.ts:56
FunctionhandleMigrate
()
frontend/src/app/(dashboard)/settings/api-keys/page.tsx:703
FunctionhandlePlayground
(transformation: Transformation)
frontend/src/app/(dashboard)/transformations/page.tsx:21
FunctionhandlePrevStep
(e?: React.MouseEvent)
frontend/src/components/sources/AddSourceDialog.tsx:270
FunctionhandleReferenceClick
(type: string, id: string)
frontend/src/components/search/StreamingResponse.tsx:39
FunctionhandleReferenceClick
(type: string, id: string)
frontend/src/components/source/ChatPanel.tsx:88
FunctionhandleRegister
()
frontend/src/app/(dashboard)/settings/api-keys/page.tsx:500
FunctionhandleRemoveConfirm
()
frontend/src/app/(dashboard)/notebooks/components/SourcesColumn.tsx:123
FunctionhandleRemoveFromNotebook
(sourceId: string)
frontend/src/app/(dashboard)/notebooks/components/SourcesColumn.tsx:118
FunctionhandleReset
()
frontend/src/components/source/ModelSelector.tsx:78
FunctionhandleReset
()
frontend/src/app/(dashboard)/advanced/components/RebuildEmbeddings.tsx:94
FunctionhandleRetry
()
frontend/src/components/podcasts/EpisodeCard.tsx:222
FunctionhandleRetry
(sourceId: string)
frontend/src/app/(dashboard)/notebooks/components/SourcesColumn.tsx:139
FunctionhandleSave
()
frontend/src/components/search/SaveToNotebooksDialog.tsx:46
FunctionhandleSave
()
frontend/src/components/search/AdvancedModelsDialog.tsx:49
FunctionhandleSave
()
frontend/src/components/source/NotebookAssociations.tsx:58
FunctionhandleSave
()
frontend/src/components/source/ModelSelector.tsx:73
FunctionhandleSave
()
frontend/src/app/(dashboard)/transformations/components/DefaultPromptEditor.tsx:27
FunctionhandleSaveToNote
()
frontend/src/components/source/MessageActions.tsx:21
FunctionhandleSourceClick
(sourceId: string)
frontend/src/app/(dashboard)/notebooks/components/SourcesColumn.tsx:147
FunctionhandleStartRebuild
()
frontend/src/app/(dashboard)/advanced/components/RebuildEmbeddings.tsx:83
FunctionhandleStepClick
(step: number)
frontend/src/components/sources/AddSourceDialog.tsx:278
FunctionhandleTextPaste
(event: React.ClipboardEvent<HTMLTextAreaElement>)
frontend/src/components/sources/steps/SourceTypeStep.tsx:111
FunctionhandleToggle
(notebookId: string)
frontend/src/components/search/SaveToNotebooksDialog.tsx:38
FunctionhandleTransformationToggle
(transformationId: string)
frontend/src/components/sources/AddSourceDialog.tsx:292
FunctionhandleUpdateDescription
(description: string)
frontend/src/app/(dashboard)/notebooks/components/NotebookHeader.tsx:35
FunctionhandleUpdateName
(name: string)
frontend/src/app/(dashboard)/notebooks/components/NotebookHeader.tsx:26
FunctionhandleUpdateTitle
(title: string)
frontend/src/components/source/SourceDetailContent.tsx:215
FunctionhandleViewSource
()
frontend/src/components/source/SourceInsightDialog.tsx:46
Functionhandler
(event: MediaQueryListEvent)
frontend/src/lib/hooks/use-media-query.ts:16
Functionhealth
()
api/main.py:321
Methodid
(self)
api/sources_service.py:34
Functioninvalid_input_error_handler
(request: Request, exc: InvalidInputError)
api/main.py:227
Methodis_source_processing_complete
Check if a source's async processing is complete. Returns True if processing is complete (success or failure), False if stil
api/sources_service.py:267
Functionlegacy_embed_chunk_command
Compatibility handler for pre-1.6 queued embed_chunk jobs. The legacy vectorizer stored the full chunk payload in each job. Keeping this
commands/embedding_commands.py:602
Functionlegacy_embed_single_item_command
Compatibility handler for pre-1.6 queued embed_single_item jobs. New code submits embed_source, embed_note, or embed_insight directly. This
commands/embedding_commands.py:516
Functionlegacy_vectorize_source_command
Compatibility handler for pre-1.6 queued vectorize_source jobs. The old command submitted one job per chunk. Current embed_source does the
commands/embedding_commands.py:667
Functionlifespan
Lifespan event handler for the FastAPI application. Runs database migrations automatically on startup.
api/main.py:99
Functionlist_command_jobs
List command jobs with optional filtering
api/routers/commands.py:89
Functionlist_credentials
List all credentials, optionally filtered by provider.
api/routers/credentials.py:102
Functionlist_credentials_by_provider
List all credentials for a specific provider.
api/routers/credentials.py:125
Functionlist_episode_profiles
List all available episode profiles
api/routers/episode_profiles.py:48
Functionlist_languages
List available languages as BCP 47 locale codes (e.g. pt-BR, en-US).
api/routers/languages.py:38
Functionlist_podcast_episodes
List all podcast episodes
api/routers/podcasts.py:87
Functionlist_speaker_profiles
List all available speaker profiles
api/routers/speaker_profiles.py:36
Methodmake_embeddings
(batch)
tests/test_embedding.py:254
Functionmigrate_from_env
Migrate API keys from environment variables to credential records. Returns dict with message, migrated, skipped, not_configured, errors.
api/credentials_service.py:826
Functionmigrate_from_env
Migrate API keys from environment variables to credential records.
api/routers/credentials.py:422
Functionmigrate_from_provider_config
Migrate existing ProviderConfig data to individual credential records. Returns dict with message, migrated, skipped, errors.
api/credentials_service.py:718
Functionmigrate_from_provider_config
Migrate existing ProviderConfig data to individual credential records.
api/routers/credentials.py:410
Methodname_must_not_be_empty
(cls, v)
open_notebook/domain/notebook.py:24
Methodneeds_migration
Check if migration is needed (sync wrapper).
open_notebook/database/migrate.py:20
Functionnetwork_error_handler
(request: Request, exc: NetworkError)
api/main.py:263
Functionnot_found_error_handler
(request: Request, exc: NotFoundError)
api/main.py:218
FunctiononChangeEnd
()
frontend/src/components/common/LanguageLoadingOverlay.tsx:63
FunctiononChangeStart
()
frontend/src/components/common/LanguageLoadingOverlay.tsx:62
FunctiononSubmit
(data: CreateNotebookFormData)
frontend/src/components/notebooks/CreateNotebookDialog.tsx:54
FunctiononSubmit
(data: CreateSourceFormData)
frontend/src/components/sources/AddSourceDialog.tsx:386
FunctiononSubmit
(values: SpeakerProfileFormValues)
frontend/src/components/podcasts/forms/SpeakerProfileFormDialog.tsx:129
FunctiononSubmit
(values: EpisodeProfileFormValues)
frontend/src/components/podcasts/forms/EpisodeProfileFormDialog.tsx:120
FunctiononSubmit
(data: CreateNoteFormData)
frontend/src/app/(dashboard)/notebooks/components/NoteEditorDialog.tsx:84
FunctiononSubmit
(data: SettingsFormData)
frontend/src/app/(dashboard)/settings/components/SettingsForm.tsx:73
FunctiononSubmit
(data: TransformationFormData)
frontend/src/app/(dashboard)/transformations/components/TransformationEditorDialog.tsx:83
Functionopen_notebook_error_handler
(request: Request, exc: OpenNotebookError)
api/main.py:281
Methodparse_command
Parse command field to ensure RecordID format
open_notebook/domain/notebook.py:368
Methodparse_command
(cls, value)
open_notebook/podcasts/models.py:264
Methodparse_datetime
(cls, value)
open_notebook/domain/base.py:233
Methodparse_id
Parse id field to handle both string and RecordID inputs
open_notebook/domain/notebook.py:376
Functionparse_source_form_data
Parse form data into SourceCreate model and return upload file separately.
api/routers/sources.py:97
Methodpatch
Update model attributes from dictionary and save
open_notebook/domain/base.py:357
Functionprocess_source_command
Process source content using the source_graph workflow
commands/source_commands.py:61
Functionprocess_text_command
Example command for text processing. Tests basic command functionality and demonstrates different processing types.
commands/example_commands.py:44
Functionprovide_answer
(state: SubGraphState, config: RunnableConfig)
open_notebook/graphs/ask.py:98
Functionprovision_all_keys
Provision environment variables from database for all providers. NOTE: This function is deprecated for request-time use because it can leave
open_notebook/ai/key_provider.py:283
Functionproxy
(request: NextRequest)
frontend/src/proxy.ts:4
Functionrate_limit_error_handler
(request: Request, exc: RateLimitError)
api/main.py:245
Methodrebuild_embeddings
Rebuild embeddings in bulk. Note: This operation can take a long time for large databases. Consider increasing API_CLIENT_TIMEOUT to
api/client.py:304
Functionrebuild_embeddings_command
Rebuild embeddings for sources, notes, and/or insights. This command submits individual embedding jobs for each item: - embed_source for
commands/embedding_commands.py:899
Functionregister_models_for_credential
Register discovered models and link them to this credential.
api/routers/credentials.py:392
Methodrelate_to_source
(self, source_id: str)
open_notebook/domain/notebook.py:690
Functionremove_source_from_notebook
Remove a source from a notebook (delete the reference).
api/routers/notebooks.py:291
Functionretry_podcast_episode
Retry a failed podcast episode by deleting it and submitting a new job
api/routers/podcasts.py:216
Functionretry_source_processing
Retry processing for a failed or stuck source.
api/routers/sources.py:824
Functionrewrites
()
frontend/next.config.ts:18
Functionroot
()
api/main.py:316
Functionrun_in_new_loop
Run the async function in a new event loop
open_notebook/graphs/source_chat.py:134
Functionrun_in_new_loop
Run the async function in a new event loop
open_notebook/graphs/chat.py:39
Methodrun_migration_up
Run migrations (sync wrapper).
open_notebook/database/migrate.py:24
Methodrun_one_down
Run one down migration.
open_notebook/database/async_migrate.py:82
Methodrun_one_up
Run one up migration.
open_notebook/database/async_migrate.py:74
← previousnext →901–1,000 of 1,250, ranked by callers