Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NanGePlus/LightRAGTest
/ get_embedding_dim
Function
get_embedding_dim
LightRAG/examples/lightrag_api_oracle_demo..py:75–79 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
73
74
75
async
def
get_embedding_dim():
76
test_text = [
"This is a test sentence."
]
77
embedding = await embedding_func(test_text)
78
embedding_dim = embedding.shape[1]
79
return
embedding_dim
80
81
82
async
def
init():
Callers
1
init
Function · 0.70
Calls
1
embedding_func
Function · 0.70
Tested by
no test coverage detected