MCPcopy Create free account

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

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

↓ 3 callersFunction_find_or_create_model
Find existing Model record or auto-create one linked to provider credential.
open_notebook/podcasts/migration.py:27
↓ 3 callersMethodadd_item
Add a ContextItem to the builder. Args: item: ContextItem to add
open_notebook/utils/context_builder.py:305
↓ 3 callersFunctionapplyBulkNoteContext
( existing: Record<string, ContextMode>, notes: NoteLike[], action: NoteContextDefault, )
frontend/src/lib/utils/source-context.ts:127
↓ 3 callersFunctioncheckAuth
()
frontend/src/components/auth/LoginForm.tsx:43
↓ 3 callersFunctioncheck_env_configured
Check if a provider has sufficient env vars configured for migration.
api/credentials_service.py:234
↓ 3 callersFunctioncloseModal
()
frontend/src/lib/hooks/use-modal-manager.ts:32
↓ 3 callersFunctiongetKeys
(obj: Record<string, unknown>, prefix = '')
frontend/src/lib/locales/index.test.ts:7
↓ 3 callersFunctiongetSourceDefaultMode
(source: SourceListResponse)
frontend/src/components/podcasts/GeneratePodcastDialog.tsx:64
↓ 3 callersMethodget_job_detail
Get status and error_message of the associated command
open_notebook/podcasts/models.py:244
↓ 3 callersMethodget_notes
(self, include_content: bool = False)
open_notebook/domain/notebook.py:47
↓ 3 callersMethodget_sources
Get all sources with optional notebook filtering.
api/client.py:359
↓ 3 callersMethodget_status
Get the processing status of the associated command
open_notebook/domain/notebook.py:384
↓ 3 callersFunctionhandleCreateSelection
(target: CreateTarget)
frontend/src/components/layout/AppSidebar.tsx:95
↓ 3 callersFunctionhandleOpenEditor
(trans?: Transformation)
frontend/src/app/(dashboard)/transformations/components/TransformationsList.tsx:25
↓ 3 callersFunctionhandleSave
()
frontend/src/components/common/InlineEdit.tsx:52
↓ 3 callersFunctionhandleSubmit
(e: React.FormEvent)
frontend/src/app/(dashboard)/settings/api-keys/page.tsx:214
↓ 3 callersFunctionincludedMode
(insightsCount: number)
frontend/src/lib/utils/source-context.ts:24
↓ 3 callersFunctionisStepValid
(step: number)
frontend/src/components/sources/AddSourceDialog.tsx:210
↓ 3 callersFunctionrepo_delete
Delete a record by record id
open_notebook/database/repository.py:158
↓ 3 callersFunctionrepo_update
Update an existing record by table and id
open_notebook/database/repository.py:134
↓ 3 callersFunctionresolveModelName
(id?: string | null)
frontend/src/app/(dashboard)/search/page.tsx:74
↓ 3 callersFunctionstr_to_bool
(value: str)
api/routers/sources.py:114
↓ 3 callersMethodsubmit_generation_job
Submit a podcast generation job for background processing
api/podcast_service.py:37
↓ 3 callersMethodtitle
(self)
api/sources_service.py:38
↓ 3 callersFunctionuseAuth
()
frontend/src/lib/hooks/use-auth.ts:7
↓ 3 callersFunctionuseCreateNote
()
frontend/src/lib/hooks/use-notes.ts:26
↓ 3 callersFunctionuseEpisodeProfiles
()
frontend/src/lib/hooks/use-podcasts.ts:139
↓ 3 callersFunctionuseModelDefaults
()
frontend/src/lib/hooks/use-models.ts:81
↓ 3 callersFunctionuseSettings
()
frontend/src/lib/hooks/use-settings.ts:9
↓ 3 callersFunctionvector_search
( keyword: str, results: int, source: bool = True, note: bool = True, minimum_score=0.2, )
open_notebook/domain/notebook.py:738
↓ 2 callersFunctionStreamingResponse
({ isStreaming, strategy, answers, finalAnswer }: StreamingResponseProps)
frontend/src/components/search/StreamingResponse.tsx:28
↓ 2 callersMethod_add_note_context
Add note to context. Args: note_id: ID of the note inclusion_level: "full content" or "not in"
open_notebook/utils/context_builder.py:254
↓ 2 callersMethod_from_db_row
Create a Credential from a database row, decrypting api_key.
open_notebook/domain/credential.py:278
↓ 2 callersFunction_get_plain_splitter
Get plain text splitter using CHUNK_SIZE and CHUNK_OVERLAP constants.
open_notebook/utils/chunking.py:388
↓ 2 callersMethod_prepare_save_data
(self)
open_notebook/podcasts/models.py:89
↓ 2 callersFunction_resolve_source_file
(source_id: str)
api/routers/sources.py:588
↓ 2 callersFunction_truncate
Truncate text to max_length to avoid leaking verbose internal details.
open_notebook/utils/error_classifier.py:99
↓ 2 callersMethodadd_insight
Submit insight creation as an async command (fire-and-forget). Submits a create_insight command that handles database operations wit
open_notebook/domain/notebook.py:525
↓ 2 callersMethodadd_to_notebook
(self, notebook_id: str)
open_notebook/domain/notebook.py:472
↓ 2 callersMethodadd_to_notebook
(self, notebook_id: str)
open_notebook/domain/notebook.py:661
↓ 2 callersFunctionbulkModeForNote
(action: NoteContextDefault)
frontend/src/lib/utils/source-context.ts:103
↓ 2 callersMethodclear_instance
Clear the singleton instance (useful for testing)
open_notebook/domain/base.py:352
↓ 2 callersFunctioncreateChatMock
()
frontend/src/app/(dashboard)/notebooks/components/ChatColumn.test.tsx:23
↓ 2 callersFunctioncreateCollapseButton
(onToggle: () => void, label: string)
frontend/src/components/notebooks/CollapsibleColumn.tsx:69
↓ 2 callersFunctioncreateNotesMock
(overrides: { isLoading?: boolean } = {})
frontend/src/app/(dashboard)/notebooks/components/ChatColumn.test.tsx:15
↓ 2 callersFunctiondiscover_provider_models
Discover available models for a specific provider. Args: provider: Provider name (openai, anthropic, etc.) Returns: Lis
open_notebook/ai/model_discovery.py:740
↓ 2 callersFunctionembed_source_command
Generate and store embeddings for a source document. Creates multiple chunk embeddings stored in the source_embedding table. Uses conten
commands/embedding_commands.py:380
↓ 2 callersFunctionencrypt_value
Encrypt a string value using Fernet symmetric encryption. Args: value: The plain text string to encrypt. Returns: Base6
open_notebook/utils/encryption.py:128
↓ 2 callersFunctionfetchConfig
* Fetch configuration from the API or use defaults.
frontend/src/lib/config.ts:59
↓ 2 callersFunctionformatApiError
(error: unknown)
frontend/src/lib/utils/error-handler.ts:82
↓ 2 callersFunctionformatNumber
(num: number)
frontend/src/components/podcasts/GeneratePodcastDialog.tsx:44
↓ 2 callersFunctionformatNumber
(num: number)
frontend/src/components/common/ContextIndicator.tsx:18
↓ 2 callersFunctiongetModelsForType
(type: ModelType)
frontend/src/app/(dashboard)/settings/api-keys/page.tsx:1168
↓ 2 callersFunctiongetSourceTypes
(t: TFunction)
frontend/src/components/sources/steps/SourceTypeStep.tsx:68
↓ 2 callersFunctiongetYouTubeVideoId
(url: string)
frontend/src/components/source/SourceDetailContent.tsx:334
↓ 2 callersMethodget_credential_obj
Get the Credential object linked to this model, if any.
open_notebook/ai/models.py:49
↓ 2 callersFunctionget_default_modalities
Get default modalities for a provider.
api/credentials_service.py:247
↓ 2 callersMethodget_default_model
Get the default model for a specific type. Args: model_type: The type of model to retrieve (e.g., 'chat', 'embedding', e
open_notebook/ai/models.py:221
↓ 2 callersFunctionget_fernet
Get Fernet instance with the configured encryption key. Returns: Fernet instance. Raises: ValueError: If encryption key
open_notebook/utils/encryption.py:115
↓ 2 callersFunctionget_installed_version
Get the version of an installed package. Args: package_name (str): Name of the installed package Returns: str: Version
open_notebook/utils/version_utils.py:113
↓ 2 callersMethodget_processing_progress
Get detailed processing information for the associated command
open_notebook/domain/notebook.py:398
↓ 2 callersMethodget_sources
(self, include_full_text: bool = False)
open_notebook/domain/notebook.py:29
↓ 2 callersFunctionget_version_from_github
Fetch and parse the version from pyproject.toml in a public GitHub repository. Args: repo_url (str): URL of the GitHub repository
open_notebook/utils/version_utils.py:59
↓ 2 callersFunctionhandleClose
()
frontend/src/components/sources/AddSourceDialog.tsx:425
↓ 2 callersFunctionhandleDeleteClick
(noteId: string)
frontend/src/app/(dashboard)/notebooks/components/NotesColumn.tsx:61
↓ 2 callersFunctionhandleRetry
()
frontend/src/components/sources/SourceCard.tsx:187
↓ 2 callersFunctionhasActiveEpisodes
(episodes: PodcastEpisode[])
frontend/src/lib/hooks/use-podcasts.ts:35
↓ 2 callersFunctionhasSelections
(selection?: NotebookSelection)
frontend/src/components/podcasts/GeneratePodcastDialog.tsx:54
↓ 2 callersFunctionmodels_endpoint
(url: str)
api/credentials_service.py:487
↓ 2 callersFunctionneedsModelSetup
(profile: EpisodeProfile | SpeakerProfile)
frontend/src/lib/types/podcasts.ts:149
↓ 2 callersMethodneeds_migration
Check if migration is needed.
open_notebook/database/async_migrate.py:181
↓ 2 callersFunctionparseAndValidateUrls
(text: string)
frontend/src/components/sources/steps/SourceTypeStep.tsx:44
↓ 2 callersFunctionparseSourceReferences
(text: string)
frontend/src/lib/utils/source-references.tsx:46
↓ 2 callersFunctionremove_non_ascii
Remove non-ASCII characters from text.
open_notebook/utils/text_utils.py:17
↓ 2 callersFunctionremove_non_printable
Remove non-printable characters from text.
open_notebook/utils/text_utils.py:22
↓ 2 callersFunctionrepo_upsert
Create or update a record in the specified table
open_notebook/database/repository.py:123
↓ 2 callersFunctionresetConfig
()
frontend/src/lib/config.ts:145
↓ 2 callersMethodsave
Save credential, handling api_key re-hydration after DB round-trip.
open_notebook/domain/credential.py:261
↓ 2 callersFunctionsync_provider_models
Sync models for a provider: discover and optionally register in database. Args: provider: Provider name auto_register: If Tr
open_notebook/ai/model_discovery.py:764
↓ 2 callersFunctionuseAddSourcesToNotebook
()
frontend/src/lib/hooks/use-sources.ts:292
↓ 2 callersFunctionuseCreateDialogs
()
frontend/src/lib/hooks/use-create-dialogs.tsx:41
↓ 2 callersFunctionuseCredentialStatus
()
frontend/src/lib/hooks/use-credentials.ts:26
↓ 2 callersFunctionuseEnvStatus
()
frontend/src/lib/hooks/use-credentials.ts:36
↓ 2 callersFunctionuseNotes
(notebookId?: string)
frontend/src/lib/hooks/use-notes.ts:9
↓ 2 callersFunctionuseRemoveSourceFromNotebook
()
frontend/src/lib/hooks/use-sources.ts:354
↓ 2 callersFunctionuseSpeakerProfiles
(episodeProfiles?: EpisodeProfile[])
frontend/src/lib/hooks/use-podcasts.ts:259
↓ 2 callersFunctionuseTheme
()
frontend/src/lib/stores/theme-store.ts:52
↓ 2 callersFunctionuseTransformations
()
frontend/src/lib/hooks/use-transformations.ts:19
↓ 2 callersFunctionuseUpdateNotebook
()
frontend/src/lib/hooks/use-notebooks.ts:48
↓ 1 callersMethod__init__
(self)
open_notebook/ai/models.py:99
↓ 1 callersMethod__new__
(cls, **kwargs)
open_notebook/domain/base.py:254
↓ 1 callersMethod_add_notebook_context
Add notebook content based on context configuration. Args: notebook_id: ID of the notebook
open_notebook/utils/context_builder.py:210
↓ 1 callersFunction_apply_secondary_chunking
Apply secondary chunking to ensure no chunk exceeds CHUNK_SIZE tokens. Used when primary splitters (HTML/Markdown) produce oversized chunks.
open_notebook/utils/chunking.py:398
↓ 1 callersFunction_build_text_exceeding_tokens
Build text that exceeds a token threshold.
tests/test_embedding.py:18
↓ 1 callersFunction_build_text_with_max_tokens
Build text that stays within a token budget.
tests/test_chunking.py:21
↓ 1 callersFunction_calculate_html_score
Calculate confidence score for HTML content.
open_notebook/utils/chunking.py:230
↓ 1 callersFunction_calculate_markdown_score
Calculate confidence score for Markdown content.
open_notebook/utils/chunking.py:266
↓ 1 callersFunction_call_model_with_source_context_inner
( state: SourceChatState, config: RunnableConfig )
open_notebook/graphs/source_chat.py:54
↓ 1 callersFunction_ensure_fernet_key
Derive a valid Fernet key from an arbitrary string via SHA-256. Any string is accepted as input. The key is derived by hashing it with S
open_notebook/utils/encryption.py:104
↓ 1 callersFunction_find_model_record
Find an existing Model record matching provider + name + type.
open_notebook/podcasts/migration.py:14
← previousnext →101–200 of 1,250, ranked by callers