MCPcopy Create free account

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

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

Method__aexit__
(self, exc_type, exc, tb)
tests/test_credentials_api.py:115
Method__init__
Initialize ContextBuilder with flexible parameters. Supported parameters: - source_id: str - Include specific source
open_notebook/utils/context_builder.py:65
Method__init__
Initialize migration with SQL content.
open_notebook/database/async_migrate.py:18
Method__init__
Initialize runner with migration lists.
open_notebook/database/async_migrate.py:57
Method__init__
Initialize migration manager.
open_notebook/database/async_migrate.py:96
Method__init__
Initialize with async migration manager.
open_notebook/database/migrate.py:11
Method__init__
( self, id: str, name: str, provider: str, is_default: bool = False,
open_notebook/domain/provider_config.py:51
Method__init__
(self, **kwargs)
open_notebook/domain/base.py:269
Method__init__
(self)
api/settings_service.py:14
Method__init__
(self, base_url: Optional[str] = None)
api/client.py:16
Method__init__
(self)
api/transformations_service.py:17
Method__init__
(self)
api/episode_profiles_service.py:16
Method__init__
(self)
api/context_service.py:15
Method__init__
(self)
api/sources_service.py:69
Method__init__
(self, app, excluded_paths: Optional[list] = None)
api/auth.py:19
Method__init__
(self)
api/search_service.py:15
Method__init__
(self)
api/models_service.py:16
Method__init__
(self)
api/embedding_service.py:15
Method__init__
(self)
api/notes_service.py:16
Method__init__
(self)
api/chat_service.py:16
Method__init__
(self)
api/podcast_api_service.py:16
Method__init__
(self)
api/notebook_service.py:16
Method__init__
(self)
api/insights_service.py:16
Method__post_init__
Calculate token count for the content if not provided.
open_notebook/utils/context_builder.py:31
Method__post_init__
Initialize default values.
open_notebook/utils/context_builder.py:49
Method_clear_for_test
Clear the singleton instance for testing purposes.
open_notebook/domain/provider_config.py:441
Method_mirror_config_to_fields
Mirror known keys from the persisted `config` bag onto their convenience fields on load. Done in `before` so the values flow through n
open_notebook/domain/credential.py:88
Method_prepare_save_data
(self)
open_notebook/podcasts/models.py:171
Method_prepare_save_data
Override to ensure command field is always RecordID format for database
open_notebook/podcasts/models.py:269
Method_prepare_save_data
(self)
open_notebook/ai/models.py:43
Methodadd_config
Add a new configuration for a provider. If this is the first config for the provider, it becomes the default. When adding a
open_notebook/domain/provider_config.py:326
Functionadd_source_to_notebook
Add an existing source to a notebook (create the reference).
api/routers/notebooks.py:246
Functionanalyze_data_command
Example command for data analysis. Tests command with complex input/output and demonstrates error handling.
commands/example_commands.py:95
FunctionareEqual
(prev: SourceCardProps, next: SourceCardProps)
frontend/src/components/sources/SourceCard.tsx:427
Functionask_knowledge_base
Ask the knowledge base a question using AI models.
api/routers/search.py:114
Methodask_knowledge_base
Ask the knowledge base a question.
api/search_service.py:40
Functionask_knowledge_base_simple
Ask the knowledge base a question and return a simple response (non-streaming).
api/routers/search.py:161
Methodasset
(self)
api/sources_service.py:50
Functionauthentication_error_handler
(request: Request, exc: AuthenticationError)
api/main.py:236
Functionauto_assign_defaults
Auto-assign default models based on available models. This endpoint intelligently assigns the first available model of each required typ
api/routers/models.py:689
Methodauto_save_validator
(self)
open_notebook/domain/base.py:315
Functionbuild_context
Build context for a notebook based on context configuration.
api/routers/chat.py:422
Methodbuild_context
Build context for a notebook
api/chat_service.py:149
Functionbuild_mixed_context
Build context from mixed sources. Args: source_ids: List of source IDs note_ids: List of note IDs notebook_id: Optio
open_notebook/utils/context_builder.py:464
Functionbuild_notebook_context
Build context for a notebook. Args: notebook_id: ID of the notebook context_config: Optional context configuration m
open_notebook/utils/context_builder.py:422
Functionbuild_source_context
Build context for a single source. Args: source_id: ID of the source include_insights: Whether to include insights m
open_notebook/utils/context_builder.py:444
Functioncall_model
(state: dict, config: RunnableConfig)
open_notebook/graphs/prompt.py:20
Functioncall_model_with_messages
(state: ThreadState, config: RunnableConfig)
open_notebook/graphs/chat.py:30
Functioncall_model_with_messages
(state: ThreadState, config: RunnableConfig)
open_notebook/graphs/ask.py:51
Functioncall_model_with_source_context
Main function that builds source context and calls the model. This function: 1. Uses ContextBuilder to build source-specific context
open_notebook/graphs/source_chat.py:33
Functioncancel_command_job
Cancel a running command job
api/routers/commands.py:109
Methodcapture_save
(self_source)
tests/test_sources_api.py:42
Functioncheck_api_password
Utility function to check API password. Can be used as a dependency in individual routes if needed. Supports Docker secrets via OPEN_NOTE
api/auth.py:82
Functioncheck_source_file
Check if a source has a downloadable file.
api/routers/sources.py:690
Functionclient
Create test client after environment variables have been cleared by conftest.
tests/test_sources_api.py:14
Functionclient
Create test client after environment variables have been cleared by conftest.
tests/test_search_api.py:8
Functionclient
Create test client after environment variables have been cleared by conftest.
tests/test_models_api.py:8
Functionclient
Create test client after environment variables have been cleared by conftest.
tests/test_notes_api.py:8
Functionclient
Create test client after environment variables have been cleared by conftest.
tests/test_credentials_api.py:13
MethodcomponentDidCatch
(error: Error, errorInfo: React.ErrorInfo)
frontend/src/components/common/ErrorBoundary.tsx:36
Functionconfiguration_error_handler
(request: Request, exc: ConfigurationError)
api/main.py:254
Methodconstructor
(props: ErrorBoundaryProps)
frontend/src/components/common/ErrorBoundary.tsx:24
Methodcontent_must_not_be_empty
(cls, v)
open_notebook/domain/notebook.py:631
Functioncontent_process
(state: SourceState)
open_notebook/graphs/source.py:34
FunctionconvertSourceReferences
( text: string, onReferenceClick: (type: ReferenceType, id: string) => void )
frontend/src/lib/utils/source-references.tsx:76
FunctionconvertSourceReferencesLegacy
(text: string)
frontend/src/lib/utils/source-references.tsx:482
FunctioncreateInsight
()
frontend/src/components/source/SourceDetailContent.tsx:151
Functioncreate_credential
Create a new credential.
api/routers/credentials.py:140
Methodcreate_default_episode_profiles
Create default episode profiles if they don't exist
api/podcast_service.py:167
Methodcreate_default_speaker_profiles
Create default speaker profiles if they don't exist
api/podcast_service.py:188
Functioncreate_episode_profile
Create a new episode profile
api/routers/episode_profiles.py:101
Methodcreate_episode_profile
Create a new episode profile.
api/client.py:487
Methodcreate_episode_profile
Create a new episode profile.
api/episode_profiles_service.py:62
Methodcreate_episode_profile
Create a new episode profile.
api/podcast_api_service.py:39
Functioncreate_insight_command
Create a source insight with automatic retry on transaction conflicts. This command wraps the CREATE source_insight operation with retry log
commands/embedding_commands.py:731
Functioncreate_model
Create a new model configuration.
api/routers/models.py:198
Methodcreate_model
Create a new model.
api/client.py:165
Methodcreate_model
Create a new model.
api/models_service.py:36
Functioncreate_note
Create a new note.
api/routers/notes.py:50
Methodcreate_note
Create a new note.
api/client.py:259
Methodcreate_note
Create a new note.
api/notes_service.py:52
Functioncreate_notebook
Create a new notebook.
api/routers/notebooks.py:90
Methodcreate_notebook
Create a new notebook.
api/client.py:91
Methodcreate_notebook
Create a new notebook.
api/notebook_service.py:50
Functioncreate_session
Create a new chat session.
api/routers/chat.py:138
Methodcreate_session
Create a new chat session
api/chat_service.py:39
Methodcreate_source
Create a new source.
api/client.py:367
Methodcreate_source_async
Create a new source with async processing enabled. This is a convenience method that always uses async processing. Returns a
api/sources_service.py:224
Functioncreate_source_chat_session
Create a new chat session for a source.
api/routers/source_chat.py:90
Functioncreate_source_insight
Start insight generation for a source by running a transformation. This endpoint returns immediately with a 202 Accepted status. The tra
api/routers/sources.py:1006
Methodcreate_source_insight
Create a new insight for a source by running a transformation.
api/client.py:464
Methodcreate_source_insight
Create a new insight for a source by running a transformation.
api/insights_service.py:76
Functioncreate_source_json
Create a new source using JSON payload (legacy endpoint for backward compatibility).
api/routers/sources.py:581
Functioncreate_speaker_profile
Create a new speaker profile
api/routers/speaker_profiles.py:83
Methodcreate_speaker_profile
Create a new speaker profile.
api/podcast_api_service.py:83
Functioncreate_transformation
Create a new transformation.
api/routers/transformations.py:50
Methodcreate_transformation
Create a new transformation.
api/client.py:198
Methodcreate_transformation
Create a new transformation.
api/transformations_service.py:63
Methodcreated
(self)
api/sources_service.py:58
Functioncustom_http_exception_handler
Custom exception handler that ensures CORS headers are included in error responses. This is particularly important for 413 (Payload Too Large
api/main.py:201
← previousnext →601–700 of 1,250, ranked by callers