Skip to content

Commit a46a91c

Browse files
committed
Remove cache-augmented generation documentation
1 parent 33a9920 commit a46a91c

9 files changed

Lines changed: 5 additions & 357 deletions

File tree

blogs/cache-augmented-generation.mdx

Lines changed: 0 additions & 124 deletions
This file was deleted.

concepts/metadata-filtering.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Metadata Filtering"
33
description: "Canonical reference for Morphik’s metadata filter DSL and typed comparisons."
44
---
55

6-
Morphik lets you filter documents and chunks directly in the database using a concise JSON filter syntax. The same structure powers the REST API, Python SDK (sync + async), folder helpers, `UserScope`, caches, and knowledge-graph builders, so you can define a filter once and reuse it everywhere.
6+
Morphik lets you filter documents and chunks directly in the database using a concise JSON filter syntax. The same structure powers the REST API, Python SDK (sync + async), folder helpers, `UserScope`, and knowledge-graph builders, so you can define a filter once and reuse it everywhere.
77

88
<Note>
99
Prefer server-side filters over client-side post-processing. You’ll reduce bandwidth, improve performance, and keep behavior consistent between endpoints.
@@ -14,7 +14,7 @@ Morphik lets you filter documents and chunks directly in the database using a co
1414
You can pass `filters` (or `document_filters`) to:
1515

1616
- Retrieval endpoints: [`retrieve_chunks`](/python-sdk/retrieve_chunks), [`retrieve_docs`](/python-sdk/retrieve_docs), [`query`](/python-sdk/query), [`query_document`](/python-sdk/query_document) ingestion options.
17-
- Listing/management: [`list_documents`](/python-sdk/list_documents), document/folder analytics, graph create/update, caches, chat history, and anywhere an SDK method exposes a `filters` argument.
17+
- Listing/management: [`list_documents`](/python-sdk/list_documents), document/folder analytics, graph create/update, chat history, and anywhere an SDK method exposes a `filters` argument.
1818

1919
## Quick Start
2020

cookbooks/cache-augmented-generation.mdx

Lines changed: 0 additions & 9 deletions
This file was deleted.

docs.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,6 @@
117117
"blogs/memory-vibe-coding",
118118
"blogs/llm-science-battle",
119119
"blogs/gpt-vs-morphik-multimodal",
120-
"blogs/cache-augmented-generation",
121120
"blogs/stop-parsing-docs"
122121
]
123122
}
@@ -213,13 +212,6 @@
213212
"python-sdk/check_workflow_status"
214213
]
215214
},
216-
{
217-
"group": "Cache Management",
218-
"pages": [
219-
"python-sdk/create_cache",
220-
"python-sdk/get_cache"
221-
]
222-
},
223215
{
224216
"group": "Chat & Conversation Management",
225217
"pages": [

introduction.mdx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ Morphik is a database that makes it easy to create fast, versatile, and producti
88
Key features include:
99

1010
- **First class support for Unstructured Data**: Unlike traditional databases, Morphik allows users to directly ingest unstructured data of all forms - including (but not limited to) videos and PDFs. We've built research-driven custom algorithms to ensure state-of-the-art retrieval accuracy.
11-
- **Persistent KV-caching**: For documents you reference often, you can process them once and *freeze* the LLM's internal state such that you can use it again later. This helps drastically reduce compute costs as well speed up model responses.
1211
- **Out of the box MCP support**: Morphik has [built in support](/using-morphik/mcp) for [Model Context Protocol](https://modelcontextprotocol.io/introduction) - so you can integrate your knowledge with any MCP client in a single click.
1312
- **User and Folder Scoping**: Organize and isolate your data with multi-user and folder-based access controls. Create logical boundaries for different projects or user groups while maintaining a unified database.
1413
- **Completely source-available**: You can check out Morphik core code [here!](https://github.com/morphik-org/morphik-core/).

knowledge-base/how-do-i-set-up-rag.mdx

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,18 +21,15 @@ db = Morphik("morphik://owner_id:token@api.morphik.ai")
2121
# 1. Ingest a document
2222
doc = db.ingest_file("document.pdf")
2323

24-
# 2. Create a cache for quick retrieval
25-
db.create_cache(name="docs-cache", model="openai_gpt4o", gguf_file="model.gguf", docs=[doc.id])
26-
27-
# 3 & 4. Retrieve and generate with context
24+
# 2. Retrieve and generate with context
2825
response = db.query("What topics are covered?", k=4)
2926
print(response.text)
3027
```
3128

3229
### Related questions
3330

34-
- **Q:** What are the steps to set up a RAG pipeline with Morphik?
35-
**A:** The key steps are: (1) Initialize the Morphik client, (2) Ingest your documents using `ingest_file()`, (3) Create a cache with `create_cache()`, and (4) Query using `query()` with your question and desired number of results.
31+
- **Q:** What are the steps to set up a RAG pipeline with Morphik?
32+
**A:** The key steps are: (1) Initialize the Morphik client, (2) Ingest your documents using `ingest_file()`, and (3) Query using `query()` with your question and desired number of results.
3633

3734
- **Q:** How can I quickly build a retrieval-augmented generation workflow?
3835
**A:** Use Morphik's built-in RAG capabilities by following the code example above. The `query()` method handles both retrieval and generation in one step when you provide a question and set `k` for the number of relevant chunks to retrieve.

python-sdk/create_cache.mdx

Lines changed: 0 additions & 100 deletions
This file was deleted.

0 commit comments

Comments
 (0)