[GH-ISSUE #13] feat: model chaining #4

Closed
opened 2026-10-18 21:01:22 +00:00 by bsakaguchi · 4 comments
Owner

Originally created by @Sooloom on GitHub (Feb 21, 2024).
Original GitHub issue: https://github.com/open-webui/pipelines/issues/13

I have two models, the first one only supports English, and the second one supports Japanese and English. I would like to have my words translated into English through the second model first, then have a conversation with the first model, and then the first model will submit the response to the second model for translation into Japanese.

Can this function be automatically completed?

Originally created by @Sooloom on GitHub (Feb 21, 2024). Original GitHub issue: https://github.com/open-webui/pipelines/issues/13 I have two models, the first one only supports English, and the second one supports Japanese and English. I would like to have my words translated into English through the second model first, then have a conversation with the first model, and then the first model will submit the response to the second model for translation into Japanese. Can this function be automatically completed?
Author
Owner

@justinh-rahb commented on GitHub (Feb 21, 2024):

You can sort of do this I think using the @mention feature, it lets you sort of "call" one model from another conversation, I think? I don't think the feature has been entirely fleshed out yet and I may be unclear as to the intention of it. @tjbck can probably explain better.

<!-- gh-comment-id:2132165767 --> @justinh-rahb commented on GitHub (Feb 21, 2024): You can sort of do this I think using the **@mention** feature, it lets you sort of "call" one model from another conversation, I think? I don't think the feature has been entirely fleshed out yet and I may be unclear as to the intention of it. @tjbck can probably explain better.
Author
Owner

@jannikstdl commented on GitHub (Feb 21, 2024):

@justinh-rahb oh didn't know this feature exists haha, but this seems to be a call to ollama and streaming it into the chatfield, don't know what the idea behind this is.

<!-- gh-comment-id:2132165768 --> @jannikstdl commented on GitHub (Feb 21, 2024): @justinh-rahb oh didn't know this feature exists haha, but this seems to be a call to ollama and streaming it into the chatfield, don't know what the idea behind this is.
Author
Owner

@Sooloom commented on GitHub (Feb 22, 2024):

Thanks, It can be used for translation between multiple languages. Some models support limited languages, and it can also achieve interaction between multiple agents.

<!-- gh-comment-id:2132165769 --> @Sooloom commented on GitHub (Feb 22, 2024): Thanks, It can be used for translation between multiple languages. Some models support limited languages, and it can also achieve interaction between multiple agents.
Author
Owner
<!-- gh-comment-id:2139178113 --> @tjbck commented on GitHub (May 30, 2024): Implemented with `filter` pipeline using `inlet`, and `outlet` hooks! https://github.com/open-webui/pipelines/assets/25473318/4f818d72-adca-4ed0-a2e7-c5d061236f2d https://github.com/open-webui/pipelines/blob/main/pipelines/examples/libretranlsate_filter_pipeline.py
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
open-webui/pipelines#4
No description provided.