Commit 66846105 authored by DepFA's avatar DepFA Committed by GitHub

correct case on embeddingFromB64

parent d0184b8f
......@@ -34,7 +34,7 @@ def embeddingToB64(data):
d = json.dumps(data,cls=EmbeddingEncoder)
return base64.b64encode(d.encode())
def EmbeddingFromB64(data):
def embeddingFromB64(data):
d = base64.b64decode(data)
return json.loads(d,cls=EmbeddingDecoder)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment