MCPcopy Create free account

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

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

↓ 1 callersMethod_format_response
Format the final response. Returns: Formatted context response
open_notebook/utils/context_builder.py:367
↓ 1 callersFunction_format_source_context
Format the context data into a readable string for the prompt. Args: context_data: Context data from ContextBuilder Returns:
open_notebook/graphs/source_chat.py:190
↓ 1 callersFunction_generate_test_wav
Generate a minimal 0.5s silence WAV file in memory (16kHz, 16-bit mono).
open_notebook/ai/connection_tester.py:183
↓ 1 callersFunction_get_chunk_overlap
Get chunk overlap from environment variable or calculate default (15% of chunk size).
open_notebook/utils/chunking.py:60
↓ 1 callersFunction_get_chunk_size
Get chunk size from environment variable or use default.
open_notebook/utils/chunking.py:33
↓ 1 callersMethod_get_class_by_table_name
Find the appropriate subclass based on table_name.
open_notebook/domain/base.py:131
↓ 1 callersFunction_get_embedding_batch_size
Read the embedding batch size from the environment. This is intentionally configurable because provider limits vary widely, and CPU-only
open_notebook/utils/embedding.py:24
↓ 1 callersFunction_get_encryption_key
Get the encryption key, initializing lazily on first call.
open_notebook/utils/encryption.py:96
↓ 1 callersFunction_get_html_splitter
Get HTML header splitter configured for h1, h2, h3.
open_notebook/utils/chunking.py:365
↓ 1 callersFunction_get_markdown_splitter
Get Markdown header splitter configured for #, ##, ###.
open_notebook/utils/chunking.py:375
↓ 1 callersFunction_get_min_chunk_size
Get minimum chunk size from environment variable or use default. Chunks below this token count are dropped. Some splitters (notably the HTML
open_notebook/utils/chunking.py:88
↓ 1 callersFunction_get_or_create_encryption_key
Get encryption key from environment, requires explicit configuration. Priority: 1. OPEN_NOTEBOOK_ENCRYPTION_KEY_FILE (Docker secrets)
open_notebook/utils/encryption.py:62
↓ 1 callersFunction_get_preferred_model
Select the best model from a list based on provider priority and model preferences. Args: models: List of model dictionaries with 'p
api/routers/models.py:644
↓ 1 callersFunction_get_test_audio
Return a short speech clip for STT testing, or silence as a fallback.
open_notebook/ai/connection_tester.py:223
↓ 1 callersFunction_is_source_file_available
(source: Source)
api/routers/sources.py:613
↓ 1 callersMethod_load_from_db
Load data from database if not already loaded
open_notebook/domain/base.py:282
↓ 1 callersFunction_normalize_error_message
Normalize common error patterns into user-friendly messages.
open_notebook/ai/connection_tester.py:236
↓ 1 callersFunction_parse_cors_origins
Parse CORS_ORIGINS env value into a list of origins.
api/main.py:53
↓ 1 callersMethod_prepare_save_data
Prepare data for database storage. SecretStr values are extracted, encrypted, and stored as strings. Encryption is performed
open_notebook/domain/provider_config.py:411
↓ 1 callersMethod_prepare_save_data
(self)
open_notebook/domain/base.py:195
↓ 1 callersMethod_prepare_save_data
Override to ensure command field is always RecordID format for database
open_notebook/domain/notebook.py:572
↓ 1 callersMethod_process_custom_params
Process any additional custom parameters.
open_notebook/utils/context_builder.py:296
↓ 1 callersFunction_provision_azure
Set environment variables for Azure OpenAI from DB config. Returns: True if any keys were set from database
open_notebook/ai/key_provider.py:174
↓ 1 callersFunction_provision_openai_compatible
Set environment variables for OpenAI-Compatible providers from DB config. Returns: True if any keys were set from database
open_notebook/ai/key_provider.py:221
↓ 1 callersFunction_provision_simple_provider
Set environment variable for a simple provider from DB config. Returns: True if key was set from database, False otherwise
open_notebook/ai/key_provider.py:113
↓ 1 callersFunction_provision_vertex
Set environment variables for Google Vertex AI from DB config. Returns: True if any keys were set from database
open_notebook/ai/key_provider.py:145
↓ 1 callersFunction_test_azure_connection
Test Azure OpenAI connectivity by listing models. Azure requires deployment names which vary per user, so instead of invoking a model, w
open_notebook/ai/connection_tester.py:40
↓ 1 callersFunction_test_ollama_connection
Test Ollama server connectivity.
open_notebook/ai/connection_tester.py:97
↓ 1 callersFunction_test_openai_compatible_connection
Test OpenAI-compatible server connectivity.
open_notebook/ai/connection_tester.py:132
↓ 1 callersMethodask_simple
Ask the knowledge base a question (simple, non-streaming).
api/client.py:137
↓ 1 callersFunctionbuild_context
Build context in a new event loop
open_notebook/graphs/source_chat.py:62
↓ 1 callersFunctionbump_version
Bump the version by adding a new entry to migrations table.
open_notebook/database/async_migrate.py:226
↓ 1 callersMethodcancel_command_job
Cancel a running command job
api/command_service.py:83
↓ 1 callersFunctioncheck_database_health
Check if database is reachable using a lightweight query. Returns: dict with 'status' ("online" | "offline") and optional 'error'
api/routers/config.py:102
↓ 1 callersFunctioncloseDialog
()
frontend/src/components/notebooks/CreateNotebookDialog.tsx:52
↓ 1 callersFunctioncollect_items_for_rebuild
Collect items to rebuild based on mode and include flags. Returns: Dict with keys: 'sources', 'notes', 'insights' containing lists o
commands/embedding_commands.py:825
↓ 1 callersFunctionconsolidate_folder
Consolidate all markdown files from a folder into a single file with a TOC.
scripts/export_docs.py:27
↓ 1 callersFunctionconvertReferencesToCompactMarkdown
(text: string, referencesLabel: string = 'References')
frontend/src/lib/utils/source-references.tsx:339
↓ 1 callersFunctionconvertReferencesToMarkdownLinks
(text: string)
frontend/src/lib/utils/source-references.tsx:174
↓ 1 callersFunctioncreateCompactReferenceLinkComponent
( onReferenceClick: (type: ReferenceType, id: string) => void )
frontend/src/lib/utils/source-references.tsx:431
↓ 1 callersFunctioncreateReferenceLinkComponent
( onReferenceClick: (type: ReferenceType, id: string) => void )
frontend/src/lib/utils/source-references.tsx:266
↓ 1 callersFunctioncreate_credential_from_env
Create a Credential from environment variables for a given provider.
api/credentials_service.py:252
↓ 1 callersFunctioncreate_source
Create a new source with support for both JSON and multipart form data.
api/routers/sources.py:290
↓ 1 callersMethodcreate_source
Create a new source with support for async processing. Args: notebook_id: Single notebook ID (deprecated, use notebooks
api/sources_service.py:128
↓ 1 callersFunctiondiscover_with_config
Discover models using explicit config instead of env vars. Returns model names only — no type classification. The user chooses the model
api/credentials_service.py:477
↓ 1 callersFunctionembed_insight_command
Generate and store embedding for a single source insight. Uses the unified embedding pipeline with automatic chunking and mean pooling f
commands/embedding_commands.py:283
↓ 1 callersFunctionembed_note_command
Generate and store embedding for a single note. Uses the unified embedding pipeline with automatic chunking and mean pooling for notes t
commands/embedding_commands.py:188
↓ 1 callersFunctionemitLanguageChangeEnd
(language: string)
frontend/src/lib/i18n-events.ts:18
↓ 1 callersFunctionemitLanguageChangeStart
(language: string)
frontend/src/lib/i18n-events.ts:10
↓ 1 callersFunctionepisodeProfileSchema
(t: TFunction)
frontend/src/components/podcasts/forms/EpisodeProfileFormDialog.tsx:38
↓ 1 callersFunctionextractFilename
(pathOrUrl: string | undefined, fallback: string)
frontend/src/components/source/SourceDetailContent.tsx:245
↓ 1 callersFunctionextractOutlineSegments
(outline: unknown)
frontend/src/components/podcasts/EpisodeCard.tsx:121
↓ 1 callersFunctionextractTranscriptEntries
(transcript: unknown)
frontend/src/components/podcasts/EpisodeCard.tsx:131
↓ 1 callersFunctionfindSpeakerSummary
( speakerProfiles: SpeakerProfile[], speakerName: string )
frontend/src/components/podcasts/EpisodeProfilesPanel.tsx:47
↓ 1 callersFunctionformatDate
(dateString: string)
frontend/src/components/sources/AddExistingSourceDialog.tsx:175
↓ 1 callersFunctiongenerate_unique_filename
Generate unique filename like Streamlit app (append counter if file exists).
api/routers/sources.py:41
↓ 1 callersFunctiongetCreateItems
(t: TFunction)
frontend/src/components/common/CommandPalette.tsx:46
↓ 1 callersFunctiongetNavigation
(t: TFunction)
frontend/src/components/layout/AppSidebar.tsx:46
↓ 1 callersFunctiongetNavigationItems
(t: TFunction)
frontend/src/components/common/CommandPalette.tsx:35
↓ 1 callersFunctiongetSTATUS_META
(t: TFunction)
frontend/src/components/podcasts/EpisodeCard.tsx:46
↓ 1 callersFunctiongetSTATUS_ORDER
(t: TFunction)
frontend/src/components/podcasts/EpisodesTab.tsx:16
↓ 1 callersFunctiongetSourceIcon
(source: SourceListResponse)
frontend/src/components/sources/AddExistingSourceDialog.tsx:164
↓ 1 callersFunctiongetSourceIcon
()
frontend/src/components/source/SourceDetailContent.tsx:305
↓ 1 callersFunctiongetSourceIcon
(source: SourceListResponse)
frontend/src/app/(dashboard)/sources/page.tsx:216
↓ 1 callersFunctiongetSourceType
(source: SourceListResponse)
frontend/src/components/sources/SourceCard.tsx:103
↓ 1 callersFunctiongetSourceType
()
frontend/src/components/source/SourceDetailContent.tsx:312
↓ 1 callersFunctiongetSourceType
(source: SourceListResponse)
frontend/src/app/(dashboard)/sources/page.tsx:222
↓ 1 callersFunctiongetStatusConfig
(t: TFunction)
frontend/src/components/sources/SourceCard.tsx:54
↓ 1 callersFunctiongetThemeItems
(t: TFunction)
frontend/src/components/common/CommandPalette.tsx:52
↓ 1 callersFunctionget_all_versions
Get all versions from the migrations table.
open_notebook/database/async_migrate.py:216
↓ 1 callersMethodget_chat_sessions
(self)
open_notebook/domain/notebook.py:129
↓ 1 callersMethodget_command_status
Get status of any command job
api/command_service.py:47
↓ 1 callersFunctionget_database_password
Get password with backward compatibility
open_notebook/database/repository.py:24
↓ 1 callersFunctionget_database_url
Get database URL with backward compatibility
open_notebook/database/repository.py:12
↓ 1 callersMethodget_delete_preview
Get counts of items that would be affected by deleting this notebook. Returns a dict with: - note_count: Number of notes tha
open_notebook/domain/notebook.py:154
↓ 1 callersMethodget_episode_profiles
Get all episode profiles.
api/client.py:476
↓ 1 callersMethodget_instance
Always fetch fresh defaults from database (override parent caching behavior)
open_notebook/ai/models.py:74
↓ 1 callersMethodget_job_status
Get status of a podcast generation job
api/podcast_service.py:115
↓ 1 callersFunctionget_latest_version_cached
Check for the latest version from GitHub with caching. Returns: tuple: (latest_version, has_update) - latest_version: str or
api/routers/config.py:43
↓ 1 callersFunctionget_markdown_files
Get all markdown files in a folder, excluding index.md files.
scripts/export_docs.py:21
↓ 1 callersMethodget_models
Get all models with optional type filtering.
api/client.py:157
↓ 1 callersMethodget_models_by_type
(cls, model_type)
open_notebook/ai/models.py:28
↓ 1 callersMethodget_notebooks
Get all notebooks.
api/client.py:80
↓ 1 callersFunctionget_provider_model_count
Get count of registered models for a provider, grouped by type. Args: provider: Provider name (case-insensitive) Returns:
open_notebook/ai/model_discovery.py:859
↓ 1 callersFunctionget_provider_status
Get configuration status: encryption key status, and per-provider configured/source information.
api/credentials_service.py:323
↓ 1 callersMethodget_source
(self)
open_notebook/domain/notebook.py:328
↓ 1 callersMethodget_source
Get a specific source.
api/client.py:413
↓ 1 callersMethodget_source_status
Get processing status for a source.
api/sources_service.py:219
↓ 1 callersMethodget_transformations
Get all transformations.
api/client.py:193
↓ 1 callersFunctionget_version
Read version from pyproject.toml
api/routers/config.py:31
↓ 1 callersFunctionget_version_from_github_async
Fetch and parse the version from pyproject.toml in a public GitHub repository (async).
open_notebook/utils/version_utils.py:14
↓ 1 callersFunctiongroupEpisodesByStatus
(episodes: PodcastEpisode[])
frontend/src/lib/types/podcasts.ts:97
↓ 1 callersFunctionhandleCancel
()
frontend/src/components/common/InlineEdit.tsx:70
↓ 1 callersFunctionhandleCancelEdit
()
frontend/src/components/source/SessionManager.tsx:92
↓ 1 callersFunctionhandleCreateSession
()
frontend/src/components/source/SessionManager.tsx:71
↓ 1 callersFunctionhandleDelete
()
frontend/src/components/sources/SourceCard.tsx:193
↓ 1 callersFunctionhandleNextStep
(e?: React.MouseEvent)
frontend/src/components/sources/AddSourceDialog.tsx:246
↓ 1 callersFunctionhandleNotebookToggle
(notebookId: string)
frontend/src/components/sources/AddSourceDialog.tsx:285
↓ 1 callersFunctionhandleRemoveFromNotebook
()
frontend/src/components/sources/SourceCard.tsx:199
↓ 1 callersFunctionhandleSaveEdit
()
frontend/src/components/source/SessionManager.tsx:84
← previousnext →201–300 of 1,250, ranked by callers