Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
)
16
def
get_storage_context(persist_dir: str) -> StorageContext:
17
return
StorageContext.from_defaults(persist_dir=persist_dir)
18
19
20
def
get_index():
Callers
1
get_index
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected