Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/baidu/amis
/ gen_embedding.py
File
gen_embedding.py
scripts/bot/gen_embedding.py:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
import
sys
2
import
os
3
import
glob
4
import
uuid
Callers
nothing calls this directly
Calls
7
get_client
Function · 0.90
split_markdown
Function · 0.90
get_embedding_with_cache
Function · 0.85
get_text_blocks
Method · 0.80
load
Method · 0.65
reset
Method · 0.45
add
Method · 0.45
Tested by
no test coverage detected