Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FEAT: create_embedding add field model_replica #2779

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

zhoudelong
Copy link

No description provided.

@XprobeBot XprobeBot added this to the v1.x milestone Jan 22, 2025
@amumu96 amumu96 linked an issue Jan 22, 2025 that may be closed by this pull request
3 tasks
@@ -693,7 +693,8 @@ def base64_to_image(base64_str: str) -> Image.Image:
if not is_bge_m3_flag_model and not kwargs.get("return_sparse")
else "dict"
),
model=self._model_uid,
model="",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about just let the model be the model name? Empty looks weird, what's you opinion? @codingl2k1 @amumu96

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We cann't get model name in here, only replica name. We need to change create_embedding_model_instance and trans origin_uid into EmbeddingModel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

embedding模型接口调用后名称发生变化
5 participants