mirror of
https://github.com/dograh-hq/dograh.git
synced 2026-07-19 11:41:04 +02:00
feat: add AWS Bedrock support
This commit is contained in:
parent
1604e306ec
commit
fe84f086ba
30 changed files with 546 additions and 195 deletions
|
|
@ -74,9 +74,16 @@ def build_pipeline(
|
|||
if recording_router:
|
||||
post_llm.append(recording_router)
|
||||
|
||||
processors.append(user_context_aggregator)
|
||||
|
||||
# Insert LLM gate before the main LLM when voicemail detection is enabled.
|
||||
# This prevents the main LLM from being triggered until classification
|
||||
# determines whether a human or voicemail answered the call.
|
||||
if voicemail_detector:
|
||||
processors.append(voicemail_detector.llm_gate())
|
||||
|
||||
processors.extend(
|
||||
[
|
||||
user_context_aggregator,
|
||||
llm, # LLM
|
||||
*post_llm,
|
||||
tts, # TTS
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue