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

Extends input types of RemoteWhisperTranscriber #6218

Merged
merged 19 commits into from
Nov 22, 2023

Conversation

ZanSara
Copy link
Contributor

@ZanSara ZanSara commented Nov 2, 2023

Related Issues

Proposed Changes:

Extends input types of RemoteWhisperTranscriber from List[ByteStream] to List[Union[str, Path, ByteStream]] to make possible to connect it to FileTypeRouter (see issue)

How did you test it?

Local tests

Notes for the reviewer

Checklist

@github-actions github-actions bot added the 2.x Related to Haystack v2.0 label Nov 2, 2023
@ZanSara ZanSara marked this pull request as ready for review November 2, 2023 09:36
@ZanSara ZanSara requested a review from a team as a code owner November 2, 2023 09:36
@ZanSara ZanSara requested review from masci and vblagoje and removed request for a team and masci November 2, 2023 09:36
@ZanSara ZanSara requested a review from a team as a code owner November 2, 2023 09:36
@ZanSara ZanSara requested review from dfokina and removed request for a team November 2, 2023 09:36
@vblagoje
Copy link
Member

vblagoje commented Nov 2, 2023

@ZanSara do we need any additional unit tests?

@ZanSara
Copy link
Contributor Author

ZanSara commented Nov 2, 2023

Oh I thought I pushed it! I'll take care of it asap

Copy link
Member

@vblagoje vblagoje left a comment

Choose a reason for hiding this comment

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

Something seems off with metadata file_path lookup? Please double check, I might be mistaken.

@ZanSara ZanSara requested a review from vblagoje November 8, 2023 17:02
@github-actions github-actions bot added the type:documentation Improvements on the docs label Nov 8, 2023
@vblagoje
Copy link
Member

Hey @ZanSara there seem to be some test failures on this one. Let's clean these up and integrate. Also note more comment I left. Perhaps a different PR and then find all references to this file_path fixing and remove them

Copy link
Member

@vblagoje vblagoje left a comment

Choose a reason for hiding this comment

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

LGTM

@ZanSara ZanSara merged commit b751978 into main Nov 22, 2023
21 checks passed
@ZanSara ZanSara deleted the remotetranscriber-input-type branch November 22, 2023 08:57
vblagoje pushed a commit that referenced this pull request Nov 22, 2023
* fix tests

* reno

* tests

* retain file name

* paths are strings for openai sdk

* streams->sources

* feedback

* always add name to file

* mypy

* test placeholder with extension

* fallback

* paths

* path test

* path must be a string

* fix test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.x Related to Haystack v2.0 topic:tests type:documentation Improvements on the docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Cannot connect FileTypeRouter to RemoteWhisperTranscriber
2 participants