Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/morphik-org/morphik-core
/ functions
Functions
1,929 in github.com/morphik-org/morphik-core
⨍
Functions
1,929
◇
Types & classes
383
↳
Endpoints
76
↓ 538 callers
Method
get
(self, property_id)
core/tests/unit/test_video_parser.py:199
↓ 478 callers
Method
error
Error message if processing had failed (snapshot; see :attr:`status`).
sdks/python/morphik/models.py:157
↓ 167 callers
Method
get
* Convenience methods
ee/ui-component/lib/api-client.ts:88
↓ 116 callers
Function
cn
(...inputs: ClassValue[])
ee/ui-component/lib/utils.ts:7
↓ 66 callers
Method
json
(self)
sdks/python/morphik/tests/test_scoped_ops_unit.py:260
↓ 57 callers
Function
showAlert
( message: string, options?: { type?: "error" | "success" | "info" | "upload" | "warning"; title?:
ee/ui-component/components/ui/alert-system.tsx:124
↓ 55 callers
Function
get_settings
Get cached settings instance.
core/config.py:176
↓ 46 callers
Method
_request
Make HTTP request
sdks/python/morphik/async_.py:629
↓ 46 callers
Method
_request
Make HTTP request
sdks/python/morphik/sync.py:653
↓ 43 callers
Method
close
(self)
sdks/python/morphik/tests/test_scoped_ops_unit.py:184
↓ 42 callers
Method
build
Construct a SQL WHERE clause from a metadata filter dictionary.
core/database/metadata_filters.py:43
↓ 39 callers
Function
fromRecord
(record: Record<string, unknown> | null, key: string)
ee/ui-component/components/chat/chatModelUtils.ts:50
↓ 36 callers
Method
list_documents
List accessible documents. Args: skip: Number of documents to skip limit: Maximum number of documents to ret
sdks/python/morphik/sync.py:1271
↓ 34 callers
Function
_normalize_values
(*args, **kwargs)
core/tests/unit/test_typed_metadata.py:18
↓ 34 callers
Method
get
(self, namespace: str, bucket: str, key: str)
core/vector_store/fast_multivector_store.py:117
↓ 29 callers
Function
canonicalize_type_name
Normalize user-provided type labels to canonical metadata type names.
core/utils/typed_metadata.py:60
↓ 27 callers
Function
asString
(value: unknown)
ee/ui-component/components/chat/chatModelUtils.ts:35
↓ 27 callers
Method
ingest_text
Ingest a text document into Morphik. Args: content: Text content to ingest metadata: Optional metadata dicti
sdks/python/morphik/sync.py:939
↓ 27 callers
Function
normalizeFolderPathValue
(value?: string | null)
ee/ui-component/lib/folderTree.ts:12
↓ 27 callers
Method
parse
Parse document and return page-wise XML chunks with bbox metadata. Uses API if configured, otherwise falls back to local parsing. Ar
core/parser/docling_v2.py:326
↓ 25 callers
Method
close
Close the HTTP client
sdks/python/morphik/sync.py:2203
↓ 25 callers
Method
read
(self)
core/tests/unit/test_video_parser.py:187
↓ 24 callers
Method
delete_document
Delete a document and all its associated data. This method deletes a document and all its associated data, including: - Docu
sdks/python/morphik/sync.py:2164
↓ 24 callers
Method
start_phase
(self, phase_name: str)
core/api.py:102
↓ 21 callers
Function
_make_sync_client
()
sdks/python/morphik/tests/test_scoped_ops_unit.py:18
↓ 20 callers
Function
normalize_folder_path
Normalize a folder path into canonical form (leading slash, no trailing slash). Rules: - Trim outer whitespace. - Strip leading/trai
core/utils/folder_utils.py:20
↓ 18 callers
Function
_make_async_client
()
sdks/python/morphik/tests/test_scoped_ops_unit.py:52
↓ 18 callers
Method
update_document
Update document metadata if user has write access. Args: document_id: The document ID to update updates: Dictionary o
core/database/postgres_database.py:724
↓ 17 callers
Method
signin
Returns a UserScope object scoped to this folder and the end user. Args: end_user_id: The ID of the end user Re
sdks/python/morphik/sync.py:542
↓ 16 callers
Method
get_connection
Get a PostgreSQL connection with retry logic. Yields: A PostgreSQL connection object Raises: psycopg.Operati
core/vector_store/multi_vector_store.py:139
↓ 16 callers
Method
get_document
Retrieve document metadata by ID if user has access.
core/database/postgres_database.py:299
↓ 15 callers
Method
_escape_single_quotes
Escape single quotes for SQL literals.
core/database/metadata_filters.py:607
↓ 15 callers
Method
delete
(endpoint: string, options?: RequestInit)
ee/ui-component/lib/api-client.ts:100
↓ 15 callers
Method
initialize
Initialize database tables for the user limits system if not already done.
core/services/user_service.py:28
↓ 15 callers
Function
pushCandidateBase
(list: string[], value: unknown)
ee/ui-component/components/chat/chatModelUtils.ts:63
↓ 15 callers
Method
query_similar
( self, query_embedding: List[float], k: int, auth: AuthContext, docum
core/vector_store/chunk_v2_store.py:352
↓ 14 callers
Method
_parse_document_response
Parse document response
sdks/python/morphik/_internal.py:611
↓ 14 callers
Function
check_and_increment_limits
Check or record usage against organization limits. When *verify_only* is **True** the function **only** validates that the operation **would*
core/limits_utils.py:92
↓ 14 callers
Method
tobytes
(self, format: str)
core/tests/unit/test_ingestion_colpali_rendering.py:20
↓ 13 callers
Method
_resolve_document_projection_fields
Resolve requested API fields to the document table columns needed to serve them. Lightweight status keys (``status``, ``error``, timestamps)
core/database/postgres_database.py:647
↓ 13 callers
Method
_serialize_metadata_map
Normalize metadata values and build a type map for top-level fields.
sdks/python/morphik/_internal.py:527
↓ 13 callers
Method
get_document_by_filename
Get document metadata by filename. If multiple documents have the same filename, returns the most recently updated one. Args
sdks/python/morphik/sync.py:1640
↓ 13 callers
Function
normalizeApiBase
(value?: string | null)
ee/ui-component/components/chat/chatModelUtils.ts:55
↓ 13 callers
Method
retrieve_chunks
Retrieve relevant chunks. Args: query: Search query text (mutually exclusive with query_image) filters: Opti
sdks/python/morphik/sync.py:1125
↓ 13 callers
Method
store_embeddings
Bulk-insert embeddings in one go instead of row-by-row ORM adds. This avoids per-row overhead and cuts the SQL round-trips from *n*
core/vector_store/pgvector_store.py:384
↓ 12 callers
Method
_image_bytes_to_chunk
Build a Chunk for a page image. Raw bytes are attached only in local ColPali mode, where the in-process model reads them; in API mode
core/services/ingestion_service.py:1366
↓ 12 callers
Function
detect_file_type
Detect file type from content string and return appropriate extension. Content can be either base64 encoded or plain text.
core/storage/utils_file_extensions.py:83
↓ 12 callers
Method
download_file
Download file from S3 asynchronously using a dedicated thread pool. Uses a 64-thread executor to support parallel downloads of 50-75 multivec
core/storage/s3_storage.py:208
↓ 12 callers
Function
encode_base64
Encode bytes to base64 string. Uses Rust SIMD-optimized implementation when available (2-3x faster).
core/utils/fast_ops.py:48
↓ 12 callers
Method
get_connector
(self, connector_type: str)
ee/services/connector_service.py:36
↓ 12 callers
Function
useMorphik
()
ee/ui-component/contexts/morphik-context.tsx:212
↓ 11 callers
Method
_scope_end_user_id
(self)
sdks/python/morphik/async_.py:66
↓ 11 callers
Method
_scope_end_user_id
(self)
sdks/python/morphik/sync.py:65
↓ 11 callers
Method
create_folder
Create a folder to scope operations. Args: name: The name of the folder (leaf segment when using nested paths)
sdks/python/morphik/sync.py:715
↓ 11 callers
Method
generate_embeddings
(self, content: Union[str, Image])
core/embedding/colpali_embedding_model.py:236
↓ 11 callers
Function
updateSearchOption
(key: K, value: SearchOptions[K])
ee/ui-component/components/search/SearchSection.tsx:54
↓ 11 callers
Method
update_document
Update a document by replacing its content and/or metadata. Args: document_id: ID of the document to update
core/services/ingestion_service.py:853
↓ 11 callers
Function
useHeader
()
ee/ui-component/contexts/header-context.tsx:33
↓ 10 callers
Method
__new__
(cls)
core/services/telemetry.py:288
↓ 10 callers
Function
_stub_module
(monkeypatch, name)
core/tests/unit/test_video_parser.py:26
↓ 10 callers
Function
asRecord
(value: unknown)
ee/ui-component/components/chat/chatModelUtils.ts:28
↓ 10 callers
Function
build_store_metrics
( *, chunk_payload_backend: str, multivector_backend: str, vector_store_backend: str, chun
core/vector_store/utils.py:82
↓ 10 callers
Method
close
Close the HTTP client
sdks/python/morphik/async_.py:2186
↓ 10 callers
Method
embed_for_query
Generate embedding for a query. Args: text: Query text to embed Returns: Embedding vector
core/embedding/litellm_embedding.py:143
↓ 10 callers
Function
parse_json_dict
(value: Optional[str], field_name: str, default: Optional[Dict[str, Any]] = None)
core/routes/utils.py:104
↓ 10 callers
Method
query
Generate completion using relevant chunks as context. Args: query: Query text filters: Optional metadata fil
sdks/python/morphik/sync.py:1210
↓ 9 callers
Method
_call_api_endpoint
Call a specific ColPali API endpoint, retrying transient failures. 429/5xx responses, timeouts and transport errors are retried with
core/embedding/colpali_api_embedding_model.py:309
↓ 9 callers
Method
_is_storage_key
Check if content field contains a storage key rather than actual content.
core/vector_store/multi_vector_store.py:458
↓ 9 callers
Function
_is_transient_error
True when the error (or its direct cause) is transient infrastructure failure.
core/workers/ingestion_worker.py:292
↓ 9 callers
Function
clearDocumentsCache
(cacheKey?: string)
ee/ui-component/hooks/useDocuments.ts:22
↓ 9 callers
Method
delete
(self, namespace: str, bucket: str, key: str)
core/vector_store/fast_multivector_store.py:153
↓ 9 callers
Method
get_user_limits
Get user limits information.
core/services/user_service.py:44
↓ 9 callers
Method
ingest_file_content
Ingests file content from bytes. Saves to storage, creates document record, and then enqueues a background job for chunking and embed
core/services/ingestion_service.py:553
↓ 9 callers
Method
log_summary
(self, additional_info: str = "")
core/api.py:121
↓ 9 callers
Function
normalize_additional_folders
( additional_folders: Optional[List[str]], folder_name: Optional[Union[str, List[str]]], )
sdks/python/morphik/_shared.py:198
↓ 9 callers
Method
raise_for_status
(self)
sdks/python/morphik/tests/test_scoped_ops_unit.py:257
↓ 9 callers
Method
upload_file
Upload a file to S3 using a shared executor for true concurrency.
core/storage/s3_storage.py:93
↓ 9 callers
Method
upload_from_base64
Upload base64-encoded content to S3. Accepts either a raw base64 string or a data URI (e.g. "data:image/png;base64,..."). Does not pr
core/storage/s3_storage.py:139
↓ 8 callers
Function
_make_doc
()
sdks/python/morphik/tests/test_update_document_metadata_rename.py:7
↓ 8 callers
Function
_merge_values
(*args, **kwargs)
core/tests/unit/test_typed_metadata.py:24
↓ 8 callers
Function
_resolve_folder
Resolve a folder identifier that might be either an ID or a name.
core/routes/folders.py:36
↓ 8 callers
Function
_serialize_datetime
Recursively serialize datetime objects to ISO format strings.
core/database/serializers.py:7
↓ 8 callers
Method
add_suboperation
Add a sub-operation timing that will be displayed under its parent phase
core/api.py:111
↓ 8 callers
Method
delete_file
Delete file from S3.
core/storage/s3_storage.py:263
↓ 8 callers
Method
embed_for_ingestion
Generate embeddings for chunks to be ingested into the vector store. Args: chunks: Single chunk or list of chunks to emb
core/embedding/litellm_embedding.py:113
↓ 8 callers
Function
getSystemMetadata
(metadata: unknown)
ee/ui-component/components/ui/document-selector.tsx:224
↓ 8 callers
Method
move_folder
Move and/or rename a folder by setting its new canonical path. Args: folder_id_or_name: Folder ID, name, or full path
sdks/python/morphik/sync.py:773
↓ 8 callers
Function
normalize_metadata
Return JSON-serializable metadata plus a parallel type map. Args: metadata: Original metadata dictionary. type_hints: Optional ex
core/utils/typed_metadata.py:69
↓ 8 callers
Function
removeAlert
(id: string)
ee/ui-component/components/ui/alert-system.tsx:100
↓ 8 callers
Method
rerank
Rerank chunks based on their relevance to the query
core/reranker/base_reranker.py:11
↓ 7 callers
Method
_check_folder_model_access
Check if the user has access to the folder.
core/database/postgres_database.py:2493
↓ 7 callers
Method
_combine_clauses
Combine multiple SQL clauses with a logical operator.
core/database/metadata_filters.py:112
↓ 7 callers
Method
_execute_scoped_operation
( self, method: str, endpoint: str, parser: Callable[[Any], T], *,
sdks/python/morphik/_scoped_ops.py:20
↓ 7 callers
Function
_make_model
(transport: httpx.MockTransport)
core/tests/unit/test_week1_ingest_fixes.py:44
↓ 7 callers
Function
bytes_to_data_uri
Convert bytes to a data URI string. Uses Rust implementation when available for faster base64 encoding.
core/utils/fast_ops.py:68
↓ 7 callers
Function
clearFoldersCache
(apiBaseUrl?: string)
ee/ui-component/hooks/useFolders.ts:8
↓ 7 callers
Function
clearUnorganizedDocumentsCache
(cacheKey?: string)
ee/ui-component/hooks/useUnorganizedDocuments.ts:8
↓ 7 callers
Method
delete_chunks_by_document_id
Delete chunks for a document, scoped by app_id to prevent cross-tenant deletion.
core/vector_store/chunk_v2_store.py:431
↓ 7 callers
Method
fetch
* Make a fetch request with proper authentication based on connection type
ee/ui-component/lib/api-client.ts:23
↓ 7 callers
Function
flushMessage
()
ee/ui-component/hooks/useMorphikChat.ts:241
next →
1–100 of 1,929, ranked by callers