Skip to content

Commit cfff095

Browse files
authored
Refactor documentation structure and enhance SDK content (#26)
- Removed outdated sections on knowledge graphs and related images. - Updated Python SDK documentation to include new methods for app management, such as `create_app`, `delete_app`, and `rename_app`. - Enhanced existing sections with clearer descriptions and examples, particularly for folder management and user scoping. - Adjusted references to deprecated methods and improved overall clarity in usage instructions. - Added new methods for document and folder summary management, including `upsert_document_summary` and `upsert_folder_summary`. - Improved the organization of the Python SDK documentation to better reflect current capabilities and usage patterns.
1 parent 99d90f0 commit cfff095

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+1211
-1763
lines changed

assets/med_data_k_graph.png

-591 KB
Binary file not shown.

concepts/cloud-architecture.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ This separation keeps your application management in the UI while all document d
1515
| Component | Primary role | Typical hosting |
1616
| --- | --- | --- |
1717
| Cloud UI | Auth, orgs, billing, app metadata, dashboards | Vercel (or your web host) |
18-
| Morphik Core | Ingestion, storage, retrieval, search, graphs, chat | EC2 or Kubernetes |
18+
| Morphik Core | Ingestion, storage, retrieval, search, chat | EC2 or Kubernetes |
1919
| Embedding GPU (optional) | Multimodal embeddings (ColPali API mode) | Lambda GPU, on-prem GPU |
2020
| Postgres + pgvector | Documents, embeddings, app isolation | Neon or any Postgres |
2121
| Object storage | Raw files and chunk payloads | S3 or local disk |
@@ -102,4 +102,3 @@ Agent mode runs in a server route (Cloud UI) so it can call your LLM provider se
102102
- The UI calls `/api/agent/chat` on the Cloud UI.
103103
- The server route calls Morphik Core for retrieval (using the app token).
104104
- The server route streams the LLM response back to the browser.
105-

concepts/colpali.mdx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description: 'Using Late-interaction and Contrastive learning to achieve state-o
55

66
## Introduction
77

8-
Upto now, we've seen RAG techniques that **i)** parse a given document, **ii)** convert it to text, and **iii)** embed the text for retrieval. These techniques have been particularly text-heavy. Embedding models expect text in, knowledge graphs expect text in, and parsers break down when provided with documents that aren't text-dominant. This motivates the question:
8+
Upto now, we've seen RAG techniques that **i)** parse a given document, **ii)** convert it to text, and **iii)** embed the text for retrieval. These techniques have been particularly text-heavy. Embedding models expect text in, and parsers break down when provided with documents that aren't text-dominant. This motivates the question:
99

1010
> When was the last time you looked at a document and only saw text?
1111
@@ -57,7 +57,7 @@ from morphik import Morphik
5757

5858
db = Morphik("YOUR-URI-HERE")
5959

60-
db.ingest_file("report_with_images_and_graphs.pdf", use_colpali=True)
60+
db.ingest_file("report_with_images_and_charts.pdf", use_colpali=True)
6161
```
6262

6363
Here is an example query pathway:
@@ -109,5 +109,3 @@ If you're experiencing context limit issues with image-based retrieval, it may b
109109

110110

111111

112-
113-

0 commit comments

Comments
 (0)