Skip to content

Commit 0b120a2

Browse files
authored
Adds attribute_id to embedding create call (#14)
* adds attribute_id to embedding create call * updates model version
1 parent 6712d18 commit 0b120a2

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

controller.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,7 @@ def prepare_run_encoding(request: data_type.Request, embedding_type: str) -> int
9595
attribute_data_type = attribute_item.data_type
9696
embedding_item = embedding.create(
9797
request.project_id,
98+
request.attribute_id,
9899
f"{attribute_name}-{embedding_type}-{request.config_string}",
99100
type=__infer_enum_value(embedding_type),
100101
with_commit=True,

0 commit comments

Comments
 (0)