You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think I am facing the same issue as described in #197.
It seems that the WhisperSTTService only sends out TranscriptionFrame and not LLMMessagesFrame which would be needed for the LLM or LLMUserResponseAggregator. Is my assumption right?
What I did is to I created a custom FrameProcessor to convert TranscriptionFrame into LLMMessagesFrame. I have no idea if this is the right way to do it. Could you please give me feedback on how you actually should use Whisper and LocalTransport with LLM's?
stt=WhisperSTTService(aggregate_sentences=True)
llm=OLLamaLLMService(model="llama3.1")
stt_to_llm=ConvertSTTToLLM()
pipeline=Pipeline([
tk_transport.input(),
stt,
stt_to_llm,
tma_in,
llm,
tma_out,
# and so on
])
The text was updated successfully, but these errors were encountered:
I guess I got what was happening: The WhisperSTTService is not sending UserStartedSpeakingFrame and UserStoppedSpeakingFrame. Only the VAD is sending these messages and as long as it is not activated, LLMUserResponseAggregator won't combine the messages to an LLM message.
I think I am facing the same issue as described in #197.
It seems that the
WhisperSTTService
only sends outTranscriptionFrame
and notLLMMessagesFrame
which would be needed for the LLM orLLMUserResponseAggregator
. Is my assumption right?What I did is to I created a custom
FrameProcessor
to convertTranscriptionFrame
intoLLMMessagesFrame
. I have no idea if this is the right way to do it. Could you please give me feedback on how you actually should use Whisper and LocalTransport with LLM's?And here the Pipeline:
The text was updated successfully, but these errors were encountered: