MCPcopy Create free account
hub / github.com/Azure-Samples/llama-index-python / get_storage_context

Function get_storage_context

backend/app/engine/index.py:16–17  ·  view source on GitHub ↗
(persist_dir: str)

Source from the content-addressed store, hash-verified

14 key=lambda *args, **kwargs: "global_storage_context",
15)
16def get_storage_context(persist_dir: str) -> StorageContext:
17 return StorageContext.from_defaults(persist_dir=persist_dir)
18
19
20def get_index():

Callers 1

get_indexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected