Skip to content

Commit ee8d823

Browse files
authored
Remove local kv caches (#282)
1 parent b050375 commit ee8d823

31 files changed

Lines changed: 3 additions & 1458 deletions

CLAUDE.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ Morphik is an AI-native toolset for visually rich documents and multimodal data.
1717
- **Vector Store**: Multiple providers (pgvector, TurboPuffer) in `core/vector_store/`
1818
- **Embedding**: Support for multiple providers (OpenAI, Ollama, Azure) in `core/embedding/`
1919
- **Parser**: Document processing and chunking in `core/parser/`
20-
- **Cache**: Caching layer in `core/cache/`
2120

2221
### Frontend (TypeScript/Next.js)
2322
- **Location**: `ee/ui-component/` - Enterprise Edition UI component

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ The result is AI applications that confidently return wrong answers because they
4242
- [Knowledge Graphs](https://morphik.ai/docs/concepts/knowledge-graphs): Build knowledge graphs for domain-specific use cases in a single line of code. Use our battle-tested system prompts, or use your own.
4343
- [Fast and Scalable Metadata Extraction](https://morphik.ai/docs/concepts/rules-processing): Extract metadata from documents - including bounding boxes, labeling, classification, and more.
4444
- [Integrations](https://morphik.ai/docs/integrations): Integrate with existing tools and workflows. Including (but not limited to) Google Suite, Slack, and Confluence.
45-
- [Cache-Augmented-Generation](https://morphik.ai/docs/python-sdk/create_cache): Create persistent KV-caches of your documents to speed up generation.
4645
4746
The best part? Morphik has a [free tier](https://www.morphik.ai/pricing)! Get started by signing up at [Morphik](https://www.morphik.ai/signup).
4847

core/api.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,6 @@
3939
SearchDocumentsRequest,
4040
)
4141
from core.models.responses import ChatTitleResponse, ModelsResponse
42-
from core.routes.cache import router as cache_router
4342
from core.routes.documents import router as documents_router
4443
from core.routes.folders import router as folders_router
4544
from core.routes.graph import router as graph_router
@@ -307,10 +306,6 @@ def _extract_provider(model_name: str) -> str:
307306
# Register logs router
308307
app.include_router(logs_router)
309308

310-
# Register cache router (only if KV cache is enabled)
311-
if settings.KV_CACHE_ENABLED:
312-
app.include_router(cache_router)
313-
314309
# Register graph router
315310
app.include_router(graph_router)
316311

core/cache/base_cache.py

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

core/cache/base_cache_factory.py

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

0 commit comments

Comments
 (0)