Skip to content
This repository was archived by the owner on Sep 10, 2025. It is now read-only.

Commit 3eae234

Browse files
author
Yuanbo Li
committed
Hotfix: cohere embedding ingestion exception.
1 parent 60aa9fd commit 3eae234

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

code/offline_process/aos_write_job.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ def get_embedding_bedrock(texts,model_id):
110110
})
111111

112112
bedrock_resp = bedrock.invoke_model(
113-
body=playload,
113+
body=body,
114114
modelId=model_id,
115115
accept="application/json",
116116
contentType="application/json"

0 commit comments

Comments
 (0)