Skip to content

Commit 443af26

Browse files
author
parshvadaftari
committed
Changes to the RAG implementation for the updated version.
1 parent b8e88c8 commit 443af26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/voice-assistant/simple-rag/assistant.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ async def _enrich_with_rag(assistant: VoiceAssistant, chat_ctx: llm.ChatContext)
4646
stt=deepgram.STT(),
4747
llm=openai.LLM(),
4848
tts=openai.TTS(),
49-
before_llm_cb=_enrich_with_rag,
49+
will_synthesize_assistant_reply=_enrich_with_rag,
5050
)
5151

5252
assistant.start(ctx.room)

0 commit comments

Comments
 (0)