Skip to content

Commit a7cbba1

Browse files
committed
refactor: xfembedding model
1 parent db58ed8 commit a7cbba1

File tree

1 file changed

+1
-0
lines changed
  • apps/models_provider/impl/xf_model_provider/model

1 file changed

+1
-0
lines changed

apps/models_provider/impl/xf_model_provider/model/embedding.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ class XFEmbedding(MaxKBBaseModel, SparkLLMTextEmbeddings):
2222
@staticmethod
2323
def new_instance(model_type, model_name, model_credential: Dict[str, object], **model_kwargs):
2424
return XFEmbedding(
25+
base_url=model_credential.get('base_url'),
2526
spark_app_id=model_credential.get('spark_app_id'),
2627
spark_api_key=model_credential.get('spark_api_key'),
2728
spark_api_secret=model_credential.get('spark_api_secret')

0 commit comments

Comments
 (0)