Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/OpenBMB/ChatDev
/ get_embedding
Method
get_embedding
runtime/node/agent/memory/embedding.py:23–24 ·
view source on GitHub ↗
(self, text)
Source
from the content-addressed store, hash-verified
21
22
@abstractmethod
23
def
get_embedding(self, text):
24
...
25
26
def
_preprocess_text(self, text: str) -> str:
27
""
"Preprocess text to improve embedding quality."
""
Callers
4
retrieve
Method · 0.45
update
Method · 0.45
retrieve
Method · 0.45
_build_embeddings
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected