Aleix Conchillo Flaqué
4075b19f7c
Merge pull request #600 from pipecat-ai/aleix/prepare-0.0.45
...
update CHANGELOG to 0.0.45
2024-10-16 09:18:37 -07:00
Aleix Conchillo Flaqué
bb14918a33
update CHANGELOG to 0.0.45
2024-10-16 09:17:33 -07:00
Mark Backman
2aee8a12f8
Merge pull request #599 from pipecat-ai/mb/remove-metrics-from-transport
...
Move metrics from transport to rtvi
2024-10-16 11:39:58 -04:00
Mark Backman
5760fadb44
Update changelog
2024-10-16 11:33:56 -04:00
Mark Backman
af5a7e9092
Move metrics from transport to rtvi
2024-10-16 11:33:56 -04:00
Mark Backman
8d9a7486d1
Merge pull request #598 from pipecat-ai/mb/add-daily-metrics-message-frame
...
Comply with RTVI format for sending metrics data via Daily transport
2024-10-16 10:14:44 -04:00
Mark Backman
00d0f9ae48
Comply with RTVI format for sending metrics data
2024-10-16 09:00:38 -04:00
Aleix Conchillo Flaqué
d255b7d1b2
Merge pull request #596 from pipecat-ai/aleix/prepare-0.0.44
...
prepare for pipecat 0.0.44
2024-10-15 18:13:07 -07:00
Aleix Conchillo Flaqué
4eb2c95b63
update CHANGELOG for 0.0.44
2024-10-15 17:51:01 -07:00
Aleix Conchillo Flaqué
3910aeb4de
transports(daily): don't send messages if not joined
2024-10-15 17:51:01 -07:00
Aleix Conchillo Flaqué
713dcb7a4d
transports(daily): cancel messages task when canceling
2024-10-15 17:51:01 -07:00
Aleix Conchillo Flaqué
04da51c7d8
transport(base_output): push EndFrame downstream at the right time
2024-10-15 17:51:01 -07:00
Aleix Conchillo Flaqué
e52d18e42d
processors(audiobuffer): make functions public
2024-10-15 15:31:59 -07:00
Aleix Conchillo Flaqué
0c4a513ca2
Merge pull request #595 from pipecat-ai/aleix/bot-speaking-system-frames
...
bot speaking system frames
2024-10-15 15:30:11 -07:00
Aleix Conchillo Flaqué
4a71eacac3
rtvi: reset bot transcription with interruptions
2024-10-15 14:58:21 -07:00
Aleix Conchillo Flaqué
f0d89e57ad
frames: some frames need to be SystemFrames
...
We want to process user and bot started/stopped speaking frames as fast as
possible. If we queue them they might be processed too late.
2024-10-15 14:37:56 -07:00
Mark Backman
79b52d4301
Merge pull request #594 from pipecat-ai/mb/more-text-filter-massaging
...
More edge case handling for text filtering
2024-10-15 14:51:43 -04:00
Mark Backman
bb00dbefbc
More edge case handling for text filtering
2024-10-15 14:08:27 -04:00
Aleix Conchillo Flaqué
0c250c0603
Merge pull request #583 from pipecat-ai/aleix/add-pts-to-llm-full-response-end-frame
...
add pts to llm full response end frame
2024-10-15 10:39:50 -07:00
Aleix Conchillo Flaqué
7bbaf4dfe9
rtvi: merge TTS/TTSText and LLM/LLMText processors
2024-10-15 10:24:43 -07:00
Aleix Conchillo Flaqué
3a3bf3fe34
services(cartesia): schedule TTSStoppedFrame after text
2024-10-15 10:06:28 -07:00
Aleix Conchillo Flaqué
616aa54f75
ruff formatting
2024-10-15 10:06:28 -07:00
Aleix Conchillo Flaqué
164f06415c
servcies(cartesia): no need to send LLMFullResponseEndFrame
...
Interruptions are already handled by context aggregators.
2024-10-15 10:06:28 -07:00
Aleix Conchillo Flaqué
51bc4839d1
transport(base_output): simplify code
2024-10-15 10:06:28 -07:00
Aleix Conchillo Flaqué
6d778e0491
services: add pts to LLMFullResponseEndFrame in WordTTSService
2024-10-15 10:06:28 -07:00
Aleix Conchillo Flaqué
fc4fa2faaa
Merge pull request #593 from pipecat-ai/aleix/bot-transcription-processor
...
rtvi: add RTVIBotTranscriptionProcessor to send `bot-transcription`
2024-10-15 10:03:39 -07:00
Aleix Conchillo Flaqué
90b7f65545
rtvi: add RTVIBotTranscriptionProcessor to send bot-transcription
2024-10-15 10:03:20 -07:00
Kwindla Hultman Kramer
f7b7f0d680
Merge pull request #541 from pipecat-ai/khk/openai-realtime-beta
...
openai realtime beta
2024-10-14 21:02:06 -07:00
Kwindla Hultman Kramer
5431c44e51
remove two debug lines
2024-10-14 21:01:20 -07:00
Kwindla Hultman Kramer
40b3e50815
fix system, consecutive same role, and empty message parsing for anthropic
2024-10-14 20:56:42 -07:00
Kwindla Hultman Kramer
2f6232fac9
fix for initial-messages with single message, and hoisting system message into instructions
2024-10-14 18:14:35 -07:00
Aleix Conchillo Flaqué
b4f2525c76
Merge pull request #585 from pipecat-ai/aleix/daily-urgent-transport-message-hang
...
transports(daily): send transport messages in a task
2024-10-14 16:31:10 -07:00
Aleix Conchillo Flaqué
8e956a4e88
Merge pull request #584 from pipecat-ai/aleix/urgent-bot-tts-audio
...
rtvi: bot-tts-audio messages should also be urgent
2024-10-14 16:25:35 -07:00
Aleix Conchillo Flaqué
7b9712daad
transports(daily): send transport messages in a task
...
We queue transport messages and send them in a task to avoid potential hangs by
sending urgent transport messages from a transport event handler.
2024-10-14 16:19:53 -07:00
Kwindla Hultman Kramer
d4269acd67
user started/stopped speaking frames and interruption frames
2024-10-14 16:07:04 -07:00
Kwindla Hultman Kramer
d2ae82fb38
added back in missing LLMFullResponseStartFrame and LLMFullResponseEndFrame
2024-10-14 15:18:50 -07:00
Lewis Wolfgang
270949e6cd
Merge pull request #582 from pipecat-ai/lewis/update_readme_aboutsilerofirstrun
...
Minor README update about Silero VAD.
2024-10-14 16:26:28 -04:00
Aleix Conchillo Flaqué
cfada94c13
rtvi: bot-tts-audio messages should also be urgent
2024-10-14 12:46:11 -07:00
Lewis Wolfgang
68fd6f7c44
Minor README update about Silero VAD.
...
We no longer download the model during first run - it's part of the repo.
2024-10-14 13:11:16 -04:00
Mark Backman
96bfcc3dca
Merge pull request #571 from pipecat-ai/mb/add-code-filtering
...
Add code and table filtering option to MarkdownTextFilter
2024-10-14 12:54:16 -04:00
Mark Backman
b0890b1f75
Code review fixes
2024-10-14 12:52:16 -04:00
Aleix Conchillo Flaqué
802b3e42c4
Merge pull request #579 from Allenmylath/patch-16
...
Update Dockerfile
2024-10-14 08:58:02 -07:00
Aleix Conchillo Flaqué
bd134839ff
Merge pull request #578 from Allenmylath/patch-15
...
Create Dockerfile
2024-10-14 08:57:34 -07:00
Aleix Conchillo Flaqué
428ce63e17
Merge pull request #575 from Allenmylath/patch-12
...
Update README.md
2024-10-14 08:55:12 -07:00
Aleix Conchillo Flaqué
46d6cde383
Merge pull request #574 from Allenmylath/patch-11
...
Update requirements.txt
2024-10-14 08:54:44 -07:00
allenmylath
6de82b3c11
Create .env.example ( #562 )
...
* Create .env.example
.env.example file with required env variables not added hence adding
* Rename .env.example to env.example
file name corrected as directed
2024-10-14 08:52:46 -07:00
Mark Backman
ec0bc7a057
A few bug fixes
2024-10-14 09:44:20 -04:00
allenmylath
c62156a4c3
Update Dockerfile
...
assets and utils files not found hence removed
2024-10-14 12:00:29 +05:30
allenmylath
e8618a07d0
Create Dockerfile
...
there is Dockerfile in other examples. this docker file assumes that there is a .env file(i added env.example in another pull request)
2024-10-14 11:49:35 +05:30
allenmylath
0ba99514a9
Update README.md
...
env.example added hence addying copy command will be necessary
2024-10-14 11:22:56 +05:30
allenmylath
837c8dad27
Update requirements.txt
...
whisper not used but deepgram used hence changed
2024-10-14 11:20:12 +05:30
Kwindla Hultman Kramer
6f2a464451
conversation save/load for openai, openai-realtime, and anthropic
2024-10-13 18:12:03 -07:00
Kwindla Hultman Kramer
ac4c5ab369
response content item truncation when interrupted
2024-10-13 14:38:04 -07:00
Kwindla Hultman Kramer
9e95419301
much cleanup
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
f390ec9608
temp commit; debugging
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
ce8a83efba
tools frame support and wip message resetting/loading
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
e5a2bf9564
context management improvements
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
7838018686
fix default response properties getting appended to ResponseCreateEvent
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
31916ed9fd
turn on/off openai vad
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
3a2fbc2b19
send user started/stopped speaking event from openai realtime events
...
send user started/stopped speaking event from openai realtime events
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
43520b44da
add 'failed' case to Response event object
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
ab4a8d791a
RTVI processors should use TextFrame not TextFrame and all subclasses
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
40dc546b81
function call fix and user transcription frames
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
5426891feb
added input audio pause setting. no frame to update that state, yet.
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
1c5ccd3406
fixes for settings updates, context updates, and response creation
2024-10-12 21:58:11 -07:00
Mark Backman
3a745bfa3f
Handle self._context of None
2024-10-12 21:58:11 -07:00
Mark Backman
ac4e39991e
Update ai_services for OpenAI Realtime param inputs
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
c870832da6
types seem complete; some ws error handling
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
e782016c57
renamed a file
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
00badaf98e
more pydantic cleanup
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
7dfac0163b
bits of pydantic
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
09a3c2a82d
major functionality working (not configurable, occasional timing bugs maybe)
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
c32c65014b
definitely broke something in the pipeline
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
f082eb10a2
small cleanup
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
b8898e449e
lots of debugging statements. multiple function calls broken
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
d1f6d229ca
space exploration prompt
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
4fa0318005
configurability via constructor
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
93ebb9d541
working 19-openai-realtime-beta.py example
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
16101c79c5
beginning of realtime impl
2024-10-12 21:58:11 -07:00
Kwindla Hultman Kramer
c866b3f2c9
Merge pull request #572 from pipecat-ai/khk/fix-deepgram-settings
...
fix for Deepgram settings not merging properly
2024-10-12 20:07:04 -07:00
Mark Backman
c26a45721f
Set inputs as Optional
2024-10-12 21:52:56 -04:00
Mark Backman
d9c900f872
Satisfy minimal text requirements for Cartesia and OpenAI
2024-10-12 21:27:37 -04:00
chadbailey59
73becbad29
fixed parallel async function calls bug ( #569 )
2024-10-12 17:45:24 -05:00
Aleix Conchillo Flaqué
f1df3de263
Merge pull request #560 from Allenmylath/patch-7
...
Update requirements.txt aiohttp missing
2024-10-12 14:52:24 -07:00
Aleix Conchillo Flaqué
3bc5c8cda7
Merge pull request #557 from Allenmylath/patch-4
...
Update env.example wrong tts service in env
2024-10-12 14:51:54 -07:00
Aleix Conchillo Flaqué
7b3b1058b2
Merge pull request #559 from Allenmylath/patch-6
...
Update server.py
2024-10-12 14:51:24 -07:00
Aleix Conchillo Flaqué
87473f857f
Merge pull request #558 from Allenmylath/patch-5
...
Update env.example wrong tts
2024-10-12 14:50:52 -07:00
Aleix Conchillo Flaqué
a96209185c
Merge pull request #546 from Allenmylath/patch-2
...
Update README.md
2024-10-12 14:46:15 -07:00
Aleix Conchillo Flaqué
34cc2ed1a1
Merge pull request #532 from nmaswood/nmaswood/format-logs
...
Format and Support Unicode for LLM Message Debug Logs
2024-10-12 14:42:58 -07:00
Aleix Conchillo Flaqué
667aa0c25a
Merge pull request #542 from joachimchauvet/main
...
Update LiveKit audio transport for changes introduced in v0.0.42
2024-10-12 14:13:02 -07:00
Mark Backman
12707f4ff7
_settings needs to be Dict
2024-10-12 12:19:54 -04:00
Kwindla Hultman Kramer
53451899a7
fix for Deepgram settings not merging
2024-10-11 21:07:39 -07:00
Aleix Conchillo Flaqué
dc73b20c0b
Merge pull request #451 from Canonical-AI-Inc/recording
...
Audio recording FrameProcessor
2024-10-11 13:48:19 -07:00
Adrian Cowham
4330374ba4
passing kwargs and forcing keyword-only arguments
2024-10-11 12:01:51 -07:00
Adrian Cowham
79c8aa2c4a
ruff formatting
2024-10-11 11:35:02 -07:00
Adrian Cowham
083d221dd2
PR feedback
2024-10-11 11:29:01 -07:00
Mark Backman
74d47b725f
Add table filtering
2024-10-11 14:10:47 -04:00
Adrian Cowham
917e482876
Merge branch 'main' into recording
2024-10-11 10:36:04 -07:00
Adrian Cowham
522d931950
better interruption handling by moving the processors after the transport output
2024-10-11 10:33:12 -07:00
Mark Backman
d10c7ac7ce
Add Changelog entry
2024-10-11 13:28:34 -04:00
Mark Backman
84705427c5
Add code filtering option to MarkdownTextFilter
2024-10-11 11:11:58 -04:00
Aleix Conchillo Flaqué
66a76af341
Merge pull request #567 from pipecat-ai/aleix/prepare-0.0.43
...
update CHANGELOG for 0.0.43
2024-10-10 14:09:18 -07:00
Aleix Conchillo Flaqué
d402d91c2f
update CHANGELOG for 0.0.43
2024-10-10 14:06:18 -07:00
Mark Backman
b05130a089
Merge pull request #566 from pipecat-ai/mb/make-markdown-modifiable
...
Mark the Markdown processor a util, and allow it to take inputs
2024-10-10 17:00:19 -04:00
Mark Backman
b3cc0779f0
Update the changelog
2024-10-10 16:49:20 -04:00
Mark Backman
cbecae40a9
Mark the Markdown processor a util, and allow it to take inputs
2024-10-10 16:43:48 -04:00
Mark Backman
5b8753c8b6
Add speak_code input param
2024-10-10 13:17:37 -04:00
Mark Backman
3c5f9457f1
More edge case improvements
2024-10-10 12:07:00 -04:00
Mark Backman
e32e56d0bc
Merge pull request #565 from pipecat-ai/mb/add-markdown-remover
...
Add a new processor which removes markdown and special chars from TTS text
2024-10-10 07:16:42 -04:00
Mark Backman
788aec665b
Add a new processor which removes markdown and special chars from TTS text
2024-10-10 07:11:31 -04:00
Mark Backman
3cada03a92
Merge pull request #564 from pipecat-ai/mb/bot-tts-text-urgent
...
Make bot-tts-text messages urgent
2024-10-08 19:26:46 -04:00
Mark Backman
e21fb520f9
Make bot-tts-text messages urgent
2024-10-08 17:07:08 -04:00
allenmylath
864f4d385f
Update requirements.txt aiohttp missing
...
aiohttp is not included but uded in code
2024-10-08 16:39:25 +05:30
allenmylath
26ac2878ae
Update server.py
...
desccription of fastapi sagrgumentparser wrongly shown as stroy teller instead of patient-intake
2024-10-08 15:18:26 +05:30
allenmylath
cac63f5565
Update env.example wrong tts
...
cartesian used in code but elevenlabs in .env example
2024-10-08 14:24:23 +05:30
allenmylath
aadffd6199
Update env.example wrong tts service in env
...
cartesian used in code but env got elevenlabs
2024-10-08 14:15:54 +05:30
Aleix Conchillo Flaqué
3403197a90
Merge pull request #552 from pipecat-ai/aleix/rtvi-user-llm-text
...
rtvi: add RTVIUserLLMTextProcessor
2024-10-07 08:33:29 -07:00
Aleix Conchillo Flaqué
8cdb9ab1ad
rtvi: internal transport message should be urgent
2024-10-07 08:04:14 -07:00
Mark Backman
5dbf26d283
Handle cases where text is either a list or a string
2024-10-07 07:21:32 -04:00
Mark Backman
8001bab9b0
Remove another instance of urgent=true
2024-10-07 06:58:32 -04:00
Aleix Conchillo Flaqué
12d0686adc
rtvi: rename bot-audio to bot-tts-audio
2024-10-06 16:50:55 -07:00
Aleix Conchillo Flaqué
a28a5e954a
add TransportMessageSystemFrame
2024-10-06 16:50:12 -07:00
Aleix Conchillo Flaqué
bb966a89d2
rtvi: add RTVIUserLLMTextProcessor
2024-10-06 01:05:58 -07:00
Aleix Conchillo Flaqué
4a74eb3321
use isinstance tuples
2024-10-06 00:45:27 -07:00
Aleix Conchillo Flaqué
1f54ee6991
pyproject: update deepgram to 3.7.3
2024-10-06 00:40:47 -07:00
joachimchauvet
86143f79a1
use new InputAudioRawFrame and OutputAudioRawFrame
2024-10-05 14:17:27 +03:00
joachimchauvet
b373bc82b5
match behavior of Daily's on_first_participant_joined
2024-10-05 14:17:27 +03:00
Mark Backman
ea2a05a04b
Merge pull request #545 from pipecat-ai/mb/fix-language-handling
...
Improve language string handling for TTS services
2024-10-04 10:03:06 -04:00
Mark Backman
5692ca586c
Merge pull request #547 from pipecat-ai/mb/update-test-requirements
...
Update fastapi version in test-requirements.txt
2024-10-04 08:28:05 -04:00
Mark Backman
a11ad81f02
Update fastapi version in test-requirements.txt
2024-10-04 07:35:48 -04:00
Allenmylath
805efdb144
Update README.md
...
the description provided is that of simple chatbot and also the video of simple chatbot hence changed
2024-10-04 10:19:38 +05:30
Mark Backman
c49b31e6ad
Add CHANGELOG entry
2024-10-03 23:13:59 -04:00
Mark Backman
7796a272ce
Improve language handling for TTS services
2024-10-03 23:09:27 -04:00
Adrian Cowham
678e87fd31
comment back in some code
2024-10-03 14:12:23 -07:00
Adrian Cowham
4d81a2ebfe
nuked the code that marks user audio in favor for InputAudioRawFrame. also moving to stereo instead of mono with the human and bot on their own channel.
2024-10-03 14:10:03 -07:00
Adrian Cowham
2d82702e04
merge from main
2024-10-03 09:42:06 -07:00
Mark Backman
27dcf83f37
Merge pull request #543 from pipecat-ai/mb/fix-deepgram-stt-language
...
Deepgram: disconnect and reconnect on language change
2024-10-03 12:40:27 -04:00
Mark Backman
72db83528d
Update changelog
2024-10-03 12:37:26 -04:00
Mark Backman
45c7d36b2e
Deepgram: disconnect and reconnect on language change
2024-10-03 12:31:42 -04:00
Aleix Conchillo Flaqué
65eeb0f1f6
Merge pull request #540 from pipecat-ai/cb/interruption-fix
...
Fixed RTVI `tts:interrupt` action not interrupting
2024-10-02 13:46:52 -07:00
Aleix Conchillo Flaqué
1d7d0bb1ea
Merge pull request #539 from pipecat-ai/aleix/pipecat-0.0.42-fixes
...
pipecat 0.0.42 fixes
2024-10-02 13:34:28 -07:00
Aleix Conchillo Flaqué
598936bc53
services: apply service language code before using service
2024-10-02 13:30:01 -07:00
Chad Bailey
b1bf6f7733
fixed botinterruptionframe
2024-10-02 19:43:51 +00:00
Aleix Conchillo Flaqué
75d27aeb9f
examples(storytelling): update packages
2024-10-02 12:00:00 -07:00
Aleix Conchillo Flaqué
0a37caf4b4
openai: fix image json logging
2024-10-02 11:57:50 -07:00
Aleix Conchillo Flaqué
6db65f4335
cartesia: use model_name instead of model_id
2024-10-02 11:57:36 -07:00
Aleix Conchillo Flaqué
3648874301
gladia: fix languages
2024-10-02 11:57:25 -07:00
Aleix Conchillo Flaqué
8bcb5d7fd2
services: async generators should yield frames
2024-10-02 11:57:08 -07:00
Aleix Conchillo Flaqué
8c01a900cd
google: allow using GOOGLE_APPLICATION_CREDENTIALS
2024-10-02 11:56:01 -07:00
Mark Backman
d378e699d2
Merge pull request #538 from Allenmylath/patch-2
...
Update env.example for wrong tts
2024-10-02 12:53:50 -04:00
Mark Backman
c25c375c41
Merge pull request #537 from pipecat-ai/mb/fix-nested-strings
...
Fix nested strings issue
2024-10-02 12:39:00 -04:00
Allenmylath
70c3ff31fd
Update env.example
...
elevenlabs is not used in code instead cartesian is used hence changed
2024-10-02 21:59:51 +05:30
Mark Backman
cd2e29f285
Fix nested strings issue
2024-10-02 12:26:30 -04:00
Aleix Conchillo Flaqué
6d4d7d763d
Merge pull request #534 from pipecat-ai/aleix/prepare-0.0.42
...
update CHANGELOG for 0.0.42
2024-10-02 08:36:32 -07:00
Aleix Conchillo Flaqué
6c1851eef8
update CHANGELOG for 0.0.42
2024-10-02 08:36:17 -07:00
Mark Backman
096a15eef6
Merge pull request #527 from pipecat-ai/mb/google-tts-inputs
...
Further consolidate service update settings into a single ServiceUpdateSettingsFrame class
2024-10-02 11:13:25 -04:00
Mark Backman
3d642df2b0
Revert aligning voice_id name in TTS service constructor
2024-10-02 11:07:48 -04:00
Mark Backman
d75a02dc51
Use Language enum and set languages accordingly
2024-10-01 21:03:01 -04:00
Mark Backman
28643b453d
Update to use LLM, STT, TTS subclasses and remove setter methods
2024-10-01 20:30:27 -04:00
Nasr Maswood
d5635de5f6
add new lines and unicode to JSON debug logs
2024-10-01 13:31:58 -04:00
Mark Backman
88cca7bf68
Consolidate service UpdateSettingsFrame into a single ServiceUpdateSettingsFrame
2024-10-01 11:01:04 -04:00
Mark Backman
a397b859fe
Add support for gender and google_style inputs to Google TTS
2024-10-01 10:39:45 -04:00
Kwindla Hultman Kramer
8aae4e9856
Merge pull request #531 from pipecat-ai/khk/function-calling-improvements
2024-10-01 07:23:38 -07:00
Kwindla Hultman Kramer
92d8b37229
implement vision for openai
2024-09-30 21:49:29 -07:00
Kwindla Hultman Kramer
0801fc578b
Merge pull request #530 from pipecat-ai/khk/tts-say-fix
...
fix for multi-sentence tts say utterances
2024-09-30 20:59:53 -07:00
Kwindla Hultman Kramer
0d5cb84531
function calling testing and improvements
2024-09-30 20:59:28 -07:00
Kwindla Hultman Kramer
47b943a117
Merge pull request #522 from pipecat-ai/rebase-openai-multi-function-call
...
Handle parallel function calls for OpenAI LLMs
2024-09-30 16:23:37 -07:00
Kwindla Hultman Kramer
128355add5
fix for multi-sentence tts say utterances
2024-09-30 16:19:31 -07:00
Kwindla Hultman Kramer
0499fe41e4
get rid of some debug log lines used during development
2024-09-30 16:08:33 -07:00
Kwindla Hultman Kramer
6ad3437fd2
throw error if the llm tries to call a function that's not registered
2024-09-30 16:08:33 -07:00
Kwindla Hultman Kramer
a5c73ec829
handle openai multiple function calls
2024-09-30 16:08:30 -07:00
JeevanReddy
def04ac0ce
openai can give multiple tool calls, current implementation assumes only one function call at a time. Fixed this to handle multiple function calls.
2024-09-30 16:07:56 -07:00
Kwindla Hultman Kramer
5d63615b1b
Merge pull request #528 from pipecat-ai/khk/sentence-splits
...
TTS sentence aggregation fix
2024-09-30 16:07:21 -07:00
Kwindla Hultman Kramer
90ee284fe0
Merge pull request #520 from pipecat-ai/khk/context-frame-push
...
pushing context frames from assistant aggregators
2024-09-30 16:06:54 -07:00
Kwindla Hultman Kramer
539e0b66fb
small fix as per aleix
2024-09-30 16:05:32 -07:00
Kwindla Hultman Kramer
fef393dcac
assistant aggregator switch for space padding or not
2024-09-30 16:05:32 -07:00
Kwindla Hultman Kramer
ed607d5c4b
typo fix
2024-09-30 16:05:32 -07:00
Kwindla Hultman Kramer
37da7e44cd
whitespace fix
2024-09-30 16:05:32 -07:00
Kwindla Hultman Kramer
69c7edd60c
pushing context frames from assistant aggregators
2024-09-30 16:05:28 -07:00
Aleix Conchillo Flaqué
392f210371
Merge pull request #524 from pipecat-ai/aleix/everything-is-async
...
all frame processors are asynchrnous
2024-09-30 15:59:03 -07:00
Mark Backman
9a63df1ea1
Merge pull request #529 from pipecat-ai/mb/daily-python-0-11-0
...
Update daily-python to 0.11.0
2024-09-30 18:29:27 -04:00
Mark Backman
f8a75cede9
Update daily-python to 0.11.0
2024-09-30 18:22:38 -04:00
Aleix Conchillo Flaqué
4d1e370e02
pipeline(task): since everything is async tasks should wait for EndFrame
2024-09-30 15:11:21 -07:00
Aleix Conchillo Flaqué
d080a31a5c
tests: fix langchanin tests
2024-09-30 15:11:21 -07:00
Aleix Conchillo Flaqué
a90ebdfe7c
syncparallelpipeline: fix now that all frames are asynchronous
2024-09-30 15:11:21 -07:00
Aleix Conchillo Flaqué
c8995b82e5
all frame processors are asynchrnous
...
In this commit we make all frame processors asynchronous, that is, they have an
internal queue and they push frames using a task from that queue.
2024-09-30 15:11:21 -07:00
Kwindla Hultman Kramer
6b7f924af6
tts sentence aggregation fix
2024-09-30 14:33:08 -07:00
Mark Backman
51580e5349
Merge pull request #526 from pipecat-ai/mb/google-tts-lang-update
...
Set Google TTS default language to en-US
2024-09-30 15:32:43 -04:00
Mark Backman
ed49cebf2c
Set Google TTS default language to en-US
2024-09-30 15:16:46 -04:00
Mark Backman
46ac76701e
Merge pull request #517 from pipecat-ai/mb/update-settings-frame
...
Consolidate update frames classes into a single UpdateSettingsFrame class
2024-09-30 12:56:45 -04:00
Mark Backman
1f77863aef
Code review feedback
2024-09-30 12:50:40 -04:00
Mark Backman
d7555609fd
Add TTS update settings options
2024-09-30 12:50:40 -04:00
Mark Backman
7fe118ce63
Align use of language param across TTS services
2024-09-30 12:50:40 -04:00
Mark Backman
44a349386c
Consolidate update frames classes into a single UpdateSettingsFrame class
2024-09-30 12:50:39 -04:00
Mark Backman
97cba92fa5
Merge pull request #516 from pipecat-ai/mb/google-tts
...
Add Google TTS
2024-09-30 12:25:16 -04:00
Aleix Conchillo Flaqué
d9b16d4f73
services: import cosmetics
2024-09-27 13:32:27 -07:00
Aleix Conchillo Flaqué
50b6580fbb
livekit: add license notice
2024-09-27 13:28:33 -07:00
Mark Backman
e7548f9494
Code review feedback
2024-09-27 08:02:44 -04:00
Mark Backman
830d2df671
Add Google TTS
2024-09-27 07:36:20 -04:00
Aleix Conchillo Flaqué
13b50a07db
Merge pull request #515 from pipecat-ai/aleix/rtvi-frame-processors
...
RTVI frame processors
2024-09-27 00:48:09 -07:00
Aleix Conchillo Flaqué
4501dca133
Merge pull request #467 from joachimchauvet/main
...
Add LiveKit audio transport
2024-09-26 22:58:25 -07:00
Aleix Conchillo Flaqué
2c8e566507
rtvi: update version to 0.2
2024-09-26 22:42:36 -07:00
Aleix Conchillo Flaqué
6e8a202107
rtvi: fix handling transport messages
2024-09-26 22:42:19 -07:00
Aleix Conchillo Flaqué
2a05cd35b0
rtvi: add multiple RTVI frame processors
2024-09-26 22:42:08 -07:00
Mark Backman
55a70cde8f
Merge pull request #514 from pipecat-ai/mb/aws-polly-tts
...
Add AWS Polly TTS support
2024-09-26 22:20:13 -04:00
Mark Backman
706c00d897
Code review feedback
2024-09-26 22:13:37 -04:00
Aleix Conchillo Flaqué
d323ea9e95
async_generator: keep pushing frames downstream
2024-09-26 16:44:49 -07:00
Aleix Conchillo Flaqué
b8ece84c6e
services: super should be super()
2024-09-26 10:39:26 -07:00
Mark Backman
a018112a13
Merge pull request #510 from pipecat-ai/mb/deepgram-tts-http
...
Improve usability of Deepgram TTS: use Deepgram client, remove aiohttp
2024-09-26 13:38:42 -04:00
Mark Backman
d3a477902b
Add changelog entry
2024-09-26 13:35:59 -04:00
Mark Backman
298b151486
Add setter methods
2024-09-26 13:35:59 -04:00
Mark Backman
6a6ea251ae
Add AWS Polly TTS support
2024-09-26 13:35:59 -04:00
Aleix Conchillo Flaqué
c7c709a0a7
github: cache venv when running tests
2024-09-26 10:32:22 -07:00
Aleix Conchillo Flaqué
6ac57b4854
Merge pull request #494 from badbye/full-width-punctuations
...
add full-width punctuations as end of the sentence
2024-09-26 10:17:10 -07:00
Aleix Conchillo Flaqué
f5e0b946c7
services(cartesia): fix string formatting
2024-09-26 09:08:37 -07:00
Mark Backman
b1818cc370
Merge pull request #435 from golbin/main
...
Add speed and emotion options for Cartesia.
2024-09-26 07:14:59 -04:00
Jin Kim
d05717a1bd
Apply Ruff formater
2024-09-26 19:52:25 +09:00
Aleix Conchillo Flaqué
d11daee31a
Merge pull request #509 from pipecat-ai/aleix/frameprocessor-event-handlers
...
frame processor event handlers
2024-09-25 19:50:30 -07:00
Mark Backman
73da8c1910
Improve usability of Deepgram TTS: use Deepgram client, remove aiohttp
2024-09-25 22:43:10 -04:00
Aleix Conchillo Flaqué
f06aa300d0
rtvi: add on_bot_ready event
2024-09-25 16:52:18 -07:00
Aleix Conchillo Flaqué
c4e94e280e
processors: add support for event handlers
2024-09-25 16:35:33 -07:00
Kwindla Hultman Kramer
8f2941c575
Merge pull request #492 from pipecat-ai/khk/flush-more-audio
...
add calls to flush_audio for say() and rtvi action
2024-09-25 12:35:50 -07:00
joachimchauvet
447baad5c3
update send_metrics() to support changes introduced in #474
2024-09-25 21:38:55 +03:00
Mark Backman
2703813e8a
Merge pull request #496 from pipecat-ai/mb/azure-tts-inputs
...
Add Azure TTS input params
2024-09-25 14:38:01 -04:00
Mark Backman
521e152150
Merge pull request #495 from pipecat-ai/mb/elevenlabs-input-lang
...
Add language_code support for ElevenLabs TTS
2024-09-25 14:37:44 -04:00
Kwindla Hultman Kramer
3d43ad0f4d
actually save the file
2024-09-25 10:59:00 -07:00
Kwindla Hultman Kramer
3621fceae2
fixes as noted by aleix
2024-09-25 09:19:58 -07:00
Aleix Conchillo Flaqué
e123f33c03
Merge pull request #506 from pipecat-ai/aleix/async-generator-processor
...
processors: add AsyncGeneratorProcessor
2024-09-25 00:04:09 -07:00
Aleix Conchillo Flaqué
b8713666c2
processors: add AsyncGeneratorProcessor
2024-09-25 00:01:04 -07:00
Aleix Conchillo Flaqué
cf0ab85e2c
Merge pull request #505 from pipecat-ai/aleix/init-task-variables
...
initialize task variables and add minor description
2024-09-24 23:59:38 -07:00
Aleix Conchillo Flaqué
8502c7c801
Merge pull request #504 from pipecat-ai/aleix/rtvi-handle-frame
...
rtvi: add RTVIProcessor.handle_message()
2024-09-24 23:59:26 -07:00
Aleix Conchillo Flaqué
e89814dc6b
Merge pull request #503 from pipecat-ai/aleix/end-cancel-task-frames
...
frames: add EndTaskFrame and CancelTaskFrame
2024-09-24 23:59:10 -07:00
Aleix Conchillo Flaqué
9461bacf0d
pyproject: update fastapi to 0.115.0
2024-09-24 19:24:37 -07:00
Aleix Conchillo Flaqué
e276dcbab7
initialize task variables and add minor description
2024-09-24 19:19:00 -07:00
Aleix Conchillo Flaqué
1a3de0e819
rtvi: add RTVIProcessor.handle_message()
2024-09-24 19:12:06 -07:00
Aleix Conchillo Flaqué
ee3786fe15
frames: add EndTaskFrame and CancelTaskFrame
2024-09-24 19:10:22 -07:00
Aleix Conchillo Flaqué
31b5667cee
frames: log text with [] so we can distinguish spaces better
2024-09-24 13:10:40 -07:00
Aleix Conchillo Flaqué
a483f1a083
rtvi: handle all actions from the action task
2024-09-24 10:48:15 -07:00
Aleix Conchillo Flaqué
2ecec1c9f8
Merge pull request #500 from pipecat-ai/aleix/rtvi-action-frames-task
...
RTVI action frames task
2024-09-24 10:13:43 -07:00
Aleix Conchillo Flaqué
08ac311971
rtvi: use task to process incoming action frames
2024-09-24 09:36:53 -07:00
Aleix Conchillo Flaqué
cb49b6a0d6
rtvi: add llm-text and tts-text server messages
2024-09-24 09:36:43 -07:00
Aleix Conchillo Flaqué
016da177db
Merge pull request #499 from mercuryyy/main
...
Fix syntax error in deepgram.py
2024-09-24 09:10:05 -07:00
joachimchauvet
ec5998bc36
remove _internal_push_frame from LiveKitInputTransport
2024-09-24 14:54:37 +03:00
mercuryyy
b1e17ee347
Fix syntax error in deepgram.py
2024-09-24 07:45:29 -04:00
joachimchauvet
b6e1d6e6ae
format with ruff
2024-09-24 10:21:02 +03:00
joachimchauvet
fa609f1afc
adjust output sample rate and create user token
2024-09-24 10:16:54 +03:00
joachimchauvet
470b5eafe7
move tenacity imports inside try block
2024-09-24 10:16:54 +03:00
joachimchauvet
2e5b0c1d6b
add tenacity dependency
2024-09-24 10:16:54 +03:00
joachimchauvet
a9390d96a1
add LiveKit audio transport
2024-09-24 10:16:54 +03:00
Mark Backman
8ee9621d66
Add setter functions
2024-09-23 21:12:01 -04:00
Jin Kim
49f2123893
Apply and Fix upstream changes for Cartesia
2024-09-24 07:59:26 +09:00
Jin Kim
cf72129852
Merge remote-tracking branch 'upstream/main'
2024-09-24 07:18:22 +09:00
Mark Backman
8edee8155d
Add input params to Azure TTS
2024-09-23 17:52:23 -04:00
chadbailey59
c262b272fa
Added RTVIActionFrame ( #464 )
...
* added RTVIActionFrame
* server-sent events
* reverted log changes
* fixup
2024-09-23 14:51:17 -05:00
Aleix Conchillo Flaqué
9ef9c1c58a
Merge pull request #497 from pipecat-ai/aleix/ruff-formater
...
introduce Ruff formatting
2024-09-23 10:42:54 -07:00
Aleix Conchillo Flaqué
c7ff79a652
processors: fix formatting string
2024-09-23 09:53:37 -07:00
Aleix Conchillo Flaqué
da81df5284
github: install dev-requirements when running tests
2024-09-23 09:53:37 -07:00
Aleix Conchillo Flaqué
a4420dc88b
README: add vscode and emacs ruff instructions
2024-09-23 09:53:37 -07:00
Aleix Conchillo Flaqué
eeb8338dce
introduce Ruff formatting
2024-09-23 09:53:37 -07:00
Cyril S.
dfa4ac81fd
Implement Sentry instrumentation for performance and error tracking ( #470 )
...
* feat: Add Sentry support in FrameProcessor
This update add optional Sentry integration for performance tracking and error monitoring.
Key changes include:
- Add conditional Sentry import and initialization check
- Implement Sentry spans in FrameProcessorMetrics to measure TTFB (Time To First Byte) and processing time when Sentry is available
- Maintain existing metrics functionality with MetricsFrame regardless of Sentry availability
* feat: Enable metrics in DeepgramSTTService for Sentry
This commit enhances the DeepgramSTTService class to enable metrics generation for use with Sentry.
Key changes include:
1. Enable general metrics generation:
- Implement `can_generate_metrics` method, returning True when VAD is enabled
- This allows metrics to be collected and used by both Sentry and the metrics system in frame_processor.py
2. Integrate Sentry-compatible performance tracking:
- Add start_ttfb_metrics and start_processing_metrics calls in the VAD speech detection handler
- Implement stop_ttfb_metrics call when receiving transcripts
- Add stop_processing_metrics for final transcripts
3. Enhance VAD support for metrics:
- Add `vad_enabled` property to check VAD event availability
- Implement VAD-based speech detection handler for precise metric timing
These changes enable detailed performance tracking via both Sentry and the general metrics system when VAD is active. This allows for better monitoring and analysis of the speech-to-text process, providing valuable insights through Sentry and any other metrics consumers in the pipeline.
* Update frame_processor.py
* Refactor to support flexible metrics implementation
- Modified the __init__ method to accept a metrics parameter that is either FrameProcessorMetrics or one of its subclasses
- Updated the metrics initialization to create an instance with the processor's name
- Moved all FrameProcessorMetrics-related logic to a new processors\metrics\base.py file
* Implement flexible metrics system with Sentry integration
1. Created a new metrics module in processors/metrics/
2. Implemented FrameProcessorMetrics base class in base.py:
3. Implemented SentryMetrics class in sentry.py:
- Inherits from FrameProcessorMetrics
- Integrates with Sentry SDK for advanced metrics tracking
- Implements Sentry-specific span creation and management for TTFB and processing metrics
- Handles cases where Sentry is not available or initialized
2024-09-23 08:44:14 -07:00
Lewis Wolfgang
ea16dca8aa
Merge pull request #469 from pipecat-ai/lewis/remove_torch_dependency
...
Remove torch dependency for using silero_vad
2024-09-23 09:59:40 -04:00
Mark Backman
306632b29a
Add language_code support for ElevenLabs TTS
2024-09-23 09:01:02 -04:00
duyalei
4533ed014f
add full-width punctuations as end of the sentence
2024-09-23 16:35:00 +08:00
Jin Kim
68cc4186ad
Merge remote-tracking branch 'upstream/main'
2024-09-23 16:34:31 +09:00
Mark Backman
9a4e749c7c
Merge pull request #491 from pipecat-ai/mb/elevenlabs-inputs
...
Add voice_settings and optimize_streaming_latency to ElevenLabs
2024-09-22 21:54:21 -04:00
Mark Backman
55c645c614
Add voice_settings and optimize_streaming_latency to ElevenLabs
2024-09-22 13:58:50 -04:00
Mark Backman
a1024bb365
Merge pull request #490 from pipecat-ai/mb/llm-rtvi-service-option
...
Add control frames for LLM param updates
2024-09-21 20:10:17 -04:00
Mark Backman
dfc82c3ba4
Merge pull request #486 from pipecat-ai/mb/llm-extra-params
...
Add extra input param to LLMs
2024-09-21 18:25:47 -04:00
Mark Backman
9e27a8aad0
Add control frames for LLM param updates
2024-09-21 00:02:58 -04:00
Mark Backman
c73111afea
Add extra input param to LLMs
2024-09-21 00:01:25 -04:00
Kwindla Hultman Kramer
26a64afd8d
Merge pull request #485 from pipecat-ai/khk/metrics-model-exclude-none
...
fixup for serialization issue
2024-09-20 18:24:19 -07:00
Kwindla Hultman Kramer
78a3f081de
fixup for serialization issue
2024-09-20 18:21:06 -07:00
Mark Backman
e8f8a49646
Merge pull request #484 from pipecat-ai/mb/llm-input-params
...
Add input params for OpenAI, Anthropic, Together AI LLMs
2024-09-20 20:35:49 -04:00
Mark Backman
219304c5ee
Added Changelog entries
2024-09-20 20:31:42 -04:00
Mark Backman
f3fd312b83
Add Together AI interruptible example
2024-09-20 20:21:19 -04:00
Mark Backman
357e66d64d
Input params for Together AI LLM
2024-09-20 20:21:19 -04:00
Mark Backman
4fa1ea8c4b
Input params for Anthropic LLM
2024-09-20 20:21:19 -04:00
Mark Backman
3b81cd462d
Input params to OpenAI LLM
2024-09-20 20:21:19 -04:00
Aleix Conchillo Flaqué
14acf05a26
Merge pull request #480 from pipecat-ai/aleix/input-output-frames
...
introduce input/output audio and image frames
2024-09-20 14:44:37 -07:00
Mattie Ruth
58d9c84bc9
Merge pull request #474 from pipecat-ai/ruthless/improve-metrics-types-2
...
Ruthless/improve metrics types 2
2024-09-20 09:47:24 -04:00
Aleix Conchillo Flaqué
7e39d9ad3d
introduce input/output audio and image frames
...
We now distinguish between input and output audio and image frames. We introduce
`InputAudioRawFrame`, `OutputAudioRawFrame`, `InputImageRawFrame` and
`OutputImageRawFrame` (and other subclasses of those). The input frames usually
come from an input transport and are meant to be processed inside the pipeline
to generate new frames. However, the input frames will not be sent through an
output transport. The output frames can also be processed by any frame processor
in the pipeline and they are allowed to be sent by the output transport.
2024-09-19 23:11:03 -07:00
mattie ruth backman
a4edb3dab1
Cleanup on aisle METRICS. Note: See below, this is a breaking change
...
1. Fleshed out MetricsFrames and broke it into a proper set of types
2. Add model_name as a property to the AIService so that it can be
automatically included in metrics and also remove that
overhead from all the various services themselves
Breaking change!
Because of the types improvements, the MetricsFrame type has
changed. Each frame will have a list of metrics simlilar to before
except each item in the list will only contain one type of metric:
"ttfb", "tokens", "characters", or "processing". Previously these
fields would be in every entry but set to None if they didn't apply.
While this changes internal handling of the MetricsFrame, it does NOT
break the RTVI/daily messaging of metrics. That format remains the same.
Also. Remember to use model_name for accessing a service's current
model and set_model_name for setting it.
2024-09-19 21:30:34 -04:00
Mattie Ruth
ed409d0460
Merge pull request #478 from pipecat-ai/ruthless/get-tests-running
...
Ruthless/get tests running
2024-09-19 21:01:27 -04:00
mattie ruth backman
50b45ac2da
get the test infrastructure running again
...
disable broken tests for now
2024-09-19 20:58:17 -04:00
Kwindla Hultman Kramer
29bcbc68c5
Merge pull request #479 from pipecat-ai/khk/small-fixes
...
fix small issues that crept into main
2024-09-19 17:25:27 -07:00
Kwindla Hultman Kramer
affbe9ac7d
fix small issues that crept into main
2024-09-19 17:17:33 -07:00
Aleix Conchillo Flaqué
1790fa452f
Merge pull request #436 from pipecat-ai/aleix/frameprocessor-single-task
...
introduce synchronous and asynchronous frame processors
2024-09-19 11:22:56 -07:00
Aleix Conchillo Flaqué
607a246572
updated CHANGELOG with sync/async frame processors
2024-09-19 01:32:17 -07:00
Aleix Conchillo Flaqué
4f1b06e6b2
pipeline: renamed ParallelTask to SyncParallelPipeline
2024-09-19 01:32:17 -07:00
Aleix Conchillo Flaqué
62e9a33a70
examples: use CartesiaHttpTTSService to synchronize frames
2024-09-19 01:32:17 -07:00
Aleix Conchillo Flaqué
3298f935ef
services(fal,moondream): add missing **kwargs
2024-09-19 01:32:17 -07:00
Aleix Conchillo Flaqué
0e8f56c752
services: move TTSService push_stop_frames to AsyncTTSService
2024-09-19 01:32:15 -07:00
Aleix Conchillo Flaqué
8224538372
services(cartesia): added CartesiaHttpTTSService
2024-09-19 01:31:12 -07:00
Aleix Conchillo Flaqué
fbf6eef68f
transports(base_output): wait for sink tasks before canceling audio/video tasks
2024-09-19 01:31:12 -07:00
Aleix Conchillo Flaqué
f078d156de
frames: StartFrame is now a SystemFrame
2024-09-19 01:31:12 -07:00
Aleix Conchillo Flaqué
23d6eed5ea
transports: input()/output() return subclass instead of base class
2024-09-19 01:31:12 -07:00
Aleix Conchillo Flaqué
0ed3d118d6
services(moondream); update revision to 2024-08-26
2024-09-19 01:31:12 -07:00
Aleix Conchillo Flaqué
337f048864
introduce synchronous and asynchronous frame processors
...
Pipecat has a pipeline-based architecture. The pipeline consists of frame
processors linked to each other. The elements travelling across the pipeline are
called frames.
To have a deterministic behavior the frames travelling through the pipeline
should always be ordered, except system frames which are out-of-band frames. To
achieve that, each frame processor should only output frames from a single task.
There are synchronous and asynchronous frame processors. The synchronous
processors push output frames from the same task that they receive input frames,
and therefore only pushing frames from one task. Asynchrnous frame processors
can have internal tasks to perform things asynchrnously (e.g. receiving data
from a websocket) but they also have a single task where they push frames from.
2024-09-19 01:31:10 -07:00
Mark Backman
6f3c421621
Merge pull request #475 from pipecat-ai/mb/tts-sample-rate
...
Add sample_rate setting to TTS services
2024-09-18 14:59:09 -04:00
Mark Backman
eadd68d40b
Add sample_rate setting to TTS services
2024-09-18 14:50:20 -04:00
Lewis Wolfgang
71202e3cd5
Remove torch dependency for using silero_vad
2024-09-17 16:48:52 -04:00
Jin Kim
75008d8f11
Add speed and emotion setting method to Cartesia TTS service
2024-09-18 00:51:45 +09:00
Jin Kim
2da0ecbe3c
Revert "model_id" as a main argument
2024-09-18 00:38:12 +09:00
Jin Kim
c7f814b2dc
Merge remote-tracking branch 'upstream/main'
2024-09-18 00:33:29 +09:00
Aleix Conchillo Flaqué
13a4a05388
Merge pull request #466 from pipecat-ai/aleix/elevenlabs-cartesia-close-websocket-first
...
services(cartesia,elevenlabs): close websocket before the receiving task
2024-09-16 23:55:28 -07:00
Aleix Conchillo Flaqué
20c019ae16
services(cartesia,elevenlabs): close websocket before the receiving task
2024-09-16 23:54:21 -07:00
Adrian Cowham
387a36dd8a
missed a debug print statement
2024-09-16 17:43:42 -07:00
Aleix Conchillo Flaqué
d9d6571c73
Merge pull request #465 from kunal-cai/ks--fix-ws
...
[Cartesia] Fix streaming truncation bug with Twilio Fast API WS
2024-09-16 17:17:13 -07:00
Kunal Shah
540cad4844
Undo sorting
2024-09-16 16:07:19 -07:00
Kunal Shah
0a26b650c0
Undo sorting
2024-09-16 16:06:25 -07:00
Kunal Shah
adaac003e5
[Cartesia] Fix streaming truncation bug with Twilio Fast API WS
2024-09-16 15:59:06 -07:00
Adrian Cowham
2e02ab740d
PR feedback
2024-09-15 20:59:17 -07:00
Aleix Conchillo Flaqué
3d4f125071
Merge pull request #454 from pipecat-ai/aleix/initial-pipeline-clock-support
...
initial pipeline clock support
2024-09-13 13:51:04 -07:00
Aleix Conchillo Flaqué
bce87f8717
update CHANGELOG.md
2024-09-13 13:50:03 -07:00
Aleix Conchillo Flaqué
1fe940bd6b
servceis(cartesia,elevenlabs): use word start times instead
2024-09-13 13:10:44 -07:00
Aleix Conchillo Flaqué
cb36a71381
fix some linting
2024-09-13 09:56:12 -07:00
Aleix Conchillo Flaqué
5acc4928fe
examples: add 07d-interruptible-elevenlabs.py
2024-09-13 09:43:18 -07:00
Aleix Conchillo Flaqué
434493b8aa
services(elevenlabs): implement word-by-word support through websockets
2024-09-13 09:31:35 -07:00
Aleix Conchillo Flaqué
f08b25dbb2
examples: assistant aggregator should always goes after transport
2024-09-12 00:37:34 -07:00
Aleix Conchillo Flaqué
3665734972
transports(output): initial sink clock synchronization
2024-09-12 00:37:34 -07:00
Aleix Conchillo Flaqué
a98d78cdea
services(lmnt): change to subclass of AsyncTTSService
2024-09-12 00:37:34 -07:00
Aleix Conchillo Flaqué
80f6d74e80
services(cartesia): change to subclass of AsyncWordTTSService
2024-09-12 00:37:34 -07:00
Aleix Conchillo Flaqué
02d926e9bd
services: create AsyncTTSService and AsyncWordTTSService
2024-09-12 00:31:48 -07:00
Aleix Conchillo Flaqué
7749692f72
processors: get pipeline clock from StartFrame
2024-09-12 00:31:48 -07:00
Aleix Conchillo Flaqué
7807cbeb39
pipeline(task): add a clock to the pipeline task
2024-09-12 00:31:48 -07:00
Aleix Conchillo Flaqué
72f231b327
frames: add a presentation timestamp (pts) to each frame
2024-09-12 00:31:48 -07:00
Aleix Conchillo Flaqué
3cbe97d346
clocks: added new BaseClock and SystemClock
2024-09-12 00:31:48 -07:00
Adrian Cowham
b4eff2028f
Merge branch 'main' into recording
2024-09-10 10:18:57 -07:00
Adrian Cowham
f411bf33fd
adding a frame processor with the ability to save a conversation to a buffer and another frame processor to upload audio to Canonical for evaluation and metrics collection. Examples included
2024-09-10 10:15:48 -07:00
Kwindla Hultman Kramer
b880e1a60e
Merge pull request #448 from pipecat-ai/khk/aggregation-leading-space
...
fix for leading space in context aggregator strings
2024-09-10 09:57:35 -07:00
Aleix Conchillo Flaqué
886046e696
Merge pull request #445 from dleybz/patch-1
...
Update requirements.txt
2024-09-09 17:54:33 -07:00
Aleix Conchillo Flaqué
9106a5f8ae
Merge pull request #449 from pipecat-ai/aleix/audio-out-bitrate
...
transports(daily): allow setting audio output bitrate (default 96kpbs)
2024-09-09 08:39:06 -07:00
Aleix Conchillo Flaqué
98286336bf
transports(daily): allow setting audio output bitrate (default 96kpbs)
...
Fixes #388
2024-09-08 19:39:17 -07:00
Jin Kim
fa0deededa
Add voice options and make to use InputParams for Cartesia.
2024-09-09 10:53:23 +09:00
Kwindla Hultman Kramer
081b001c8b
fix for leading space in context aggregator strings
2024-09-07 16:42:52 -07:00
Danny D. Leybzon
c92531a02f
Update requirements.txt
...
request.form() throws an error if you don't have python-multipart installed
2024-09-06 20:22:18 +02:00
Aleix Conchillo Flaqué
748a7af602
update CHANGELOG.md
2024-09-05 19:05:29 -07:00
Aleix Conchillo Flaqué
f4a0de6327
Merge pull request #444 from pipecat-ai/aleix/elevenlabs-streaming
...
services(elevenlabs): add elevenlabs package and use streaming
2024-09-05 11:24:12 -07:00
Aleix Conchillo Flaqué
e405d7af9f
services(elevenlabs): add elevenlabs package and use streaming
2024-09-05 11:20:01 -07:00
Aashraya
51cd7fd285
twiliohandle interruption ( #422 )
...
* add interuption handler in twilio serializer
* fix autopep8
* revert ruff autoformatting
* address pr comments
* change interruption frame to user started frame in serializer
* remove overrrident handle interrupt
* remove unused import
* change userstarted to interuption frame
2024-09-02 11:06:38 -07:00
Aleix Conchillo Flaqué
aba5f89174
Merge pull request #437 from soof-golan/soof-obj-id-generation
...
Generate ids with itertools.count
2024-09-02 10:53:48 -07:00
Soof Golan
5c0f5a1613
Generate ids with itertools.count
...
Avoids the critical section with threading.Lock in favor of itertools.count.
`count` objects are threadsafe, and their critical section is implemented in C and provide better performance that Python level locking.
2024-09-02 15:39:58 +02:00
Aleix Conchillo Flaqué
7c342f7ba2
Merge pull request #433 from pipecat-ai/aleix/process-all-startframes
...
StartFrame should be the first frame every processor receives
2024-08-30 14:17:38 -07:00
Aleix Conchillo Flaqué
37e2388758
StartFrame should be the first frame every processor receives
...
Fixes #427
2024-08-29 22:43:44 -07:00
Aleix Conchillo Flaqué
05f0492a8d
Merge pull request #421 from pipecat-ai/aleix/improve-multi-lingual-support
...
improve multi lingual support
2024-08-29 13:19:40 -07:00
Aleix Conchillo Flaqué
c0ac5c6ae8
services(lmnt): fix example and update README and CHANGELOG
2024-08-29 11:11:24 -07:00
Aleix Conchillo Flaqué
be923687fb
processors(rtvi): user decices if bot interrupts on update config
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
5f32fb125d
updated CHANGELOG.md
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
ae6fbb3146
services: just set model, voice, language independently
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
864768635a
services: add voice and language to set_model()
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
d7c9679977
services: allow TTSModelUpdateFrame to also update language and voice
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
fedfc366f6
services(deepgram): fix strenum values
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
b3b39626e1
services: allow switching STT language and mdoel at the same time
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
4e0ece17b6
services: added support for setting STT model and language
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
fd3fdacdee
transcriptions: added more languages
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
a253606d50
services(daily): on_joined now returns all data not only participant
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
568d9dc0a3
services(whisper): inherit from SegmentedSTTService
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
6629b853c5
services(deepgram): inherit from STTService instead of AsyncAIService
2024-08-29 11:00:03 -07:00
Aleix Conchillo Flaqué
3931cb3235
services(cartesia): allow setting language and language voices
2024-08-29 11:00:01 -07:00
Aleix Conchillo Flaqué
38cd86ad52
services: added language to transcription frames
2024-08-29 10:59:02 -07:00
Aleix Conchillo Flaqué
c0cdabf61d
frames: adde TTSLanguageUpdateFrame and TTSLanguageVoicesUpdateFrame
2024-08-29 10:59:02 -07:00
Aleix Conchillo Flaqué
51270a96c5
frames: add language to transcription frames
2024-08-29 10:59:02 -07:00
Kwindla Hultman Kramer
84d72c0d5c
Merge pull request #425 from pipecat-ai/khk/rtvi-together-function-calling
...
fixup type mismatches between rtvi data structures and together.py
2024-08-28 13:11:52 -07:00
Aleix Conchillo Flaqué
79aca8169a
Merge pull request #391 from sharvil/pr/add-lmnt
...
LMNT TTS
2024-08-27 21:40:46 -07:00
Kwindla Hultman Kramer
b9d362bd62
fixup type mismatches between rtvi data structures and together.py
2024-08-27 17:39:21 -07:00
Sharvil Nanavati
87c4a1bee1
Move stop frame task creation into TTSService.start
2024-08-27 04:45:21 +00:00
Sharvil Nanavati
c979762b70
Handle cancellation, stopping, and restarting
2024-08-27 01:24:00 +00:00
Sharvil Nanavati
1d92fc3199
Merge branch 'main' into pr/add-lmnt
2024-08-24 10:07:52 -07:00
Sharvil Nanavati
8ac7fb1a67
Use a single long-lived Task to push TTSStoppedFrame
2024-08-24 16:18:07 +00:00
Sharvil Nanavati
60c3d33def
Default LMNT to 24kHz, add example
2024-08-24 15:40:29 +00:00
Sharvil Nanavati
8a39d3f4eb
services: add a generic mechanism to produce TTSStoppedFrames
2024-08-24 15:40:12 +00:00
Aleix Conchillo Flaqué
e038767b6f
Merge pull request #413 from pipecat-ai/aleix/pipecat-0.0.41
...
prepare pipecat 0.0.41
2024-08-22 17:01:43 -07:00
Aleix Conchillo Flaqué
0c46b3e481
prepare pipecat 0.0.41
2024-08-22 11:50:20 -07:00
Aleix Conchillo Flaqué
d42f072ff5
examples: fix studypal errors and update requirements
2024-08-22 11:50:05 -07:00
Aleix Conchillo Flaqué
9b6f29c24a
Merge pull request #414 from pipecat-ai/aleix/add-livekit-dependency
...
added livekit dependency
2024-08-22 10:55:43 -07:00
Aleix Conchillo Flaqué
873d5dc23f
added livekit dependency
2024-08-22 10:54:18 -07:00
Aleix Conchillo Flaqué
6d141fd47f
Merge pull request #396 from nulyang/feat/livekit-serializers
...
Add livekit audio serializers
2024-08-22 10:44:24 -07:00
Aleix Conchillo Flaqué
c6f6cb2947
Merge pull request #412 from pipecat-ai/aleix/fastapi-variable-clash
...
transports(fastapi): fix variable name clash
2024-08-22 09:50:23 -07:00
Aleix Conchillo Flaqué
0eb189ce7f
transports(fastapi): fix variable name clash
2024-08-22 08:50:03 -07:00
Sharvil Nanavati
f4fd7b7028
LMNT TTS
2024-08-22 00:47:41 +00:00
Aleix Conchillo Flaqué
21de8e0a35
transport(out): log bot started/stopped speaking
2024-08-21 17:23:44 -07:00
Aleix Conchillo Flaqué
6f55d494bd
frames: use VADParams type in VADParamsUpdateFrame
2024-08-21 17:23:12 -07:00
Aleix Conchillo Flaqué
d216edc567
Merge pull request #409 from aashsach/anthropic-empty-tool-argument
...
handle empty parameters for anthropic function calling
2024-08-21 16:14:51 -07:00
Aashraya
ec6063ecc4
system is not a list, it is handled and assisgned as string
2024-08-21 16:31:50 +05:30
Aashraya
40fe4ce6fb
handle empty parameters for anthropic function calling
2024-08-21 15:49:36 +05:30
Aleix Conchillo Flaqué
31d87a4048
update CHANGELOG.md for 0.0.40
2024-08-20 11:48:40 -07:00
Aleix Conchillo Flaqué
ac8b171fa9
Merge pull request #406 from pipecat-ai/hush/cartesiaDocs
...
Hush/cartesia docs
2024-08-20 11:17:52 -07:00
James Hush
1f06d78213
github: remove *requirements.txt from tests.yaml
2024-08-20 11:16:25 -07:00
James Hush
28eba17df8
docs: update Cartesia references
2024-08-20 11:13:13 -07:00
Aleix Conchillo Flaqué
dfc2e62339
Merge pull request #405 from pipecat-ai/aleix/revert-dailysettings-aliases
...
Revert "transports(daily): use aliases in DailyDialinSettings"
2024-08-20 08:53:31 -07:00
Aleix Conchillo Flaqué
80c89a39c9
processors(rtvi): add support for client-ready message (fix)
2024-08-20 07:54:11 -07:00
Aleix Conchillo Flaqué
9d1c16e996
Revert "transports(daily): use aliases in DailyDialinSettings"
...
This reverts commit 47d375309d .
2024-08-20 07:52:35 -07:00
Aleix Conchillo Flaqué
86604c2353
examples(studypal): use aiohttp instead of requests
2024-08-19 18:11:30 -07:00
Aleix Conchillo Flaqué
8f31a02938
Merge pull request #403 from yashn35/studypal-demo
...
Add studypal
2024-08-19 17:39:19 -07:00
Aleix Conchillo Flaqué
47d375309d
transports(daily): use aliases in DailyDialinSettings
2024-08-19 17:27:43 -07:00
Yash Narayan
980265ca97
Add studypal
2024-08-19 16:58:29 -07:00
Aleix Conchillo Flaqué
90479fff95
processors(rtvi): add set_client_ready()
2024-08-19 16:41:43 -07:00
Aleix Conchillo Flaqué
1ce1fcb0ce
Merge pull request #401 from pipecat-ai/aleix/use-cartesia-in-more-examples
...
examples: use Cartesia TTS in most examples
2024-08-19 16:07:35 -07:00
Aleix Conchillo Flaqué
1a662376fc
examples: use Cartesia TTS in most examples
2024-08-19 15:31:34 -07:00
Aleix Conchillo Flaqué
1d24f926ec
Merge pull request #400 from pipecat-ai/aleix/rtvi-client-ready
...
processors(rtvi): add support for client-ready message
2024-08-19 10:53:49 -07:00
Aleix Conchillo Flaqué
4f2c37c940
processors(rtvi): add support for client-ready message
2024-08-19 10:33:18 -07:00
Aleix Conchillo Flaqué
042115a6bb
processors(rtvi): update initial config when sending bot-ready message
2024-08-19 09:32:27 -07:00
Aleix Conchillo Flaqué
c9f1469b41
transports(daily/helpers): add server error message to the logs
2024-08-19 08:44:05 -07:00
Aleix Conchillo Flaqué
54c9f604c9
updated CHANGELOG with VADParamsUpdateFrame
2024-08-18 21:20:40 -07:00
Kwindla Hultman Kramer
56fbcd6562
Merge pull request #397 from pipecat-ai/khk/rtvi-vad-params
...
VADParamsUpdateFrame and handling thereof
2024-08-18 21:14:58 -07:00
Kwindla Hultman Kramer
e6b0500568
make VADAnalyzer:set_params() public
2024-08-18 21:11:18 -07:00
Aleix Conchillo Flaqué
41038b6673
Merge pull request #394 from pipecat-ai/aleix/fix-function-calling-examples
...
fix function calling examples
2024-08-18 20:55:29 -07:00
Aleix Conchillo Flaqué
26d03f26c9
services(openai, anthropic): a None result should not run inference
2024-08-18 20:48:43 -07:00
Aleix Conchillo Flaqué
f3a4e54996
function calling: start callback should have function name first
2024-08-18 20:48:20 -07:00
Kwindla Hultman Kramer
925e80bb20
VADParamsUpdateFrame and handling thereof
2024-08-18 13:34:46 -07:00
nulyang
9bda09b1a8
serializers(livekit): Add audio serializers
2024-08-18 23:40:32 +08:00
Aleix Conchillo Flaqué
ef0d0531fa
services: moved request_image_frame() to LLMService
2024-08-17 23:59:38 -07:00
Aleix Conchillo Flaqué
6520f20ffe
fix function calling examples
2024-08-17 23:32:39 -07:00
Aleix Conchillo Flaqué
ebc4e0924b
Merge pull request #387 from pipecat-ai/aleix/update-reqs-081624
...
update pyproject.toml and remove requirements files
2024-08-17 23:29:47 -07:00
Aleix Conchillo Flaqué
9e7c0e6033
Merge pull request #390 from sharvil/pr/websocket-fix
...
transports(websocket): fix `_audio_buffer` being accidentally overwritten
2024-08-17 23:26:35 -07:00
Aleix Conchillo Flaqué
cf5720f316
update CHANGELOG.md
2024-08-17 21:00:32 -07:00
Kwindla Hultman Kramer
655b468269
Merge pull request #393 from pipecat-ai/khk/anthropic-tools-ordering
...
fix for out-of-order image messages in anthropic context
2024-08-17 15:07:27 -07:00
Kwindla Hultman Kramer
17f8c93e44
fix for out-of-order image messages in anthropic context
2024-08-17 14:47:29 -07:00
Aleix Conchillo Flaqué
5b4061b0d5
processors(rtvi): fix send_error()
2024-08-16 23:46:57 -07:00
Aleix Conchillo Flaqué
6ce0227e98
processors(rtvi): error-response should always include and error
2024-08-16 23:23:55 -07:00
Aleix Conchillo Flaqué
a583a28850
processors(rtvi): error message should use error field
2024-08-16 23:22:27 -07:00
Aleix Conchillo Flaqué
32daf65adc
processors(rtvi): send to the client if errors are fatal
2024-08-16 23:17:55 -07:00
Aleix Conchillo Flaqué
e22c80610e
frames: add new FatalErrorFrame
2024-08-16 23:17:31 -07:00
Sharvil Nanavati
374f1e7e01
transports(websocket): fix _audio_buffer being accidentally overwritten
...
`BaseOutputTransport` declares an `_audio_buffer` instance variable.
`WebsocketServerOutputTransport` accidentally reuses that variable
internally assuming it's class-local and not inherited.
This PR renames the variable in `WebsocketServerOutputTransport`
to avoid the name collision.
2024-08-17 05:28:05 +00:00
Aleix Conchillo Flaqué
d2dfa93bf1
processors(rtvi): send bot-ready when participant joins
2024-08-16 13:58:21 -07:00
Aleix Conchillo Flaqué
fa8c6712c6
transports(daily): fix multiple DailyTransport initialization
2024-08-16 13:32:34 -07:00
Aleix Conchillo Flaqué
4c2b84cb4d
update pyproject.toml and remove requirements files
2024-08-16 09:28:46 -07:00
Aleix Conchillo Flaqué
b57c9d569b
Merge pull request #352 from pipecat-ai/aleix/rtvi-0.1
...
processors(rtvi): rtvi 0.1 message protocol
2024-08-15 17:35:50 -07:00
Aleix Conchillo Flaqué
f0e50ba000
Merge pull request #336 from nulyang/fix/azure-transcriptionframe
...
services(azure): fix TranscriptionFrame parameter type
2024-08-15 17:08:56 -07:00
Mattie Ruth
4a6638f749
Merge pull request #385 from pipecat-ai/mrkb/anthropic-beta-caching
...
Mrkb/anthropic beta caching
2024-08-15 18:26:51 -04:00
Aleix Conchillo Flaqué
31577252f3
processors(rtvi): handle ErrorFrames
2024-08-15 15:23:31 -07:00
Aleix Conchillo Flaqué
5d71c50080
transports(daily): make sure audio_in_task exists before canceling
2024-08-15 15:23:07 -07:00
Aleix Conchillo Flaqué
981269d594
pipeline(task): process ErrorFrame in same task and stop pipeline task
2024-08-15 15:22:40 -07:00
mattie ruth backman
848db985fc
bump anthropic in 3.10 requirements
2024-08-15 16:51:48 -04:00
mattie ruth backman
d5d8e31447
add cache tokens to metrics event
2024-08-15 16:51:48 -04:00
Aleix Conchillo Flaqué
66670a2370
Merge pull request #384 from pipecat-ai/aleix/enable-prompt-caching-frames
...
services(anthropic): allow setting enable prompt caching via frame
2024-08-15 13:26:39 -07:00
Aleix Conchillo Flaqué
5637f349c6
services(anthropic): allow setting enable prompt caching via frame
2024-08-15 12:43:29 -07:00
Aleix Conchillo Flaqué
93248e1d00
Merge pull request #382 from pipecat-ai/khk/anthropic-beta-caching
...
Support for Anthropic prompt caching beta
2024-08-15 12:34:54 -07:00
Kwindla Hultman Kramer
187769357f
update version number of anthropic dependency
2024-08-15 12:28:41 -07:00
Aleix Conchillo Flaqué
5be6422cc8
Revert "processors(rtvi): process options in the order they are defined"
...
This reverts commit 61ac83e2d9 .
2024-08-15 11:51:00 -07:00
Aleix Conchillo Flaqué
8670b2d994
utils: add match_endofsentence and use it in processors
2024-08-15 11:26:25 -07:00
Aleix Conchillo Flaqué
0bc6db428d
processors(rtvi): implement bot-started-speaking and bot-stopped-speaking
2024-08-15 11:05:10 -07:00
Aleix Conchillo Flaqué
67d565930e
services: send TTSStartFrame/TTSStopFrame when really needed
2024-08-15 11:05:10 -07:00
Aleix Conchillo Flaqué
b2a7ff6fd3
processors(rtvi): all transport messages should be urgent
2024-08-15 11:05:10 -07:00
Aleix Conchillo Flaqué
425a730d7c
transports(base_output): send urgent transport messages immediately
2024-08-15 11:05:10 -07:00
Aleix Conchillo Flaqué
84c5709722
frames: add urgent field to TransportMessageFrame
2024-08-15 11:05:10 -07:00
Kwindla Hultman Kramer
94deec01c9
okay, both files now
2024-08-15 00:57:10 -07:00
Kwindla Hultman Kramer
6e0dd4a779
Anthropic beta prompt caching
2024-08-15 00:54:43 -07:00
Kwindla Hultman Kramer
14bde340dd
Merge pull request #381 from pipecat-ai/khk/anthropic-fixup-0814.2
...
Fixup anthropic context set_messages
2024-08-14 23:34:31 -07:00
Kwindla Hultman Kramer
253765c611
and fixing anthropic demos
2024-08-14 23:14:20 -07:00
Kwindla Hultman Kramer
2b26d7182f
replaces 379
2024-08-14 22:40:09 -07:00
Aleix Conchillo Flaqué
61ac83e2d9
processors(rtvi): process options in the order they are defined
2024-08-14 22:26:49 -07:00
Aleix Conchillo Flaqué
d5c7b28cad
Merge pull request #380 from pipecat-ai/aleix/rtvi-0.1-context-aggregators-updates
...
processors(aggregators): multiple LLM aggregators updates
2024-08-14 20:43:50 -07:00
Aleix Conchillo Flaqué
959580a708
processors(logger): fix linting
2024-08-14 20:39:24 -07:00
Aleix Conchillo Flaqué
3a5cd17ea3
processors(aggregators): multiple LLM aggregators updates
2024-08-14 20:23:18 -07:00
Kwindla Hultman Kramer
b78981bb9d
Merge pull request #374 from pipecat-ai/khk/together
...
Together.ai service implementation with Llama 3.1 function calling
2024-08-14 17:29:07 -07:00
Kwindla Hultman Kramer
a6d90b0a00
linting fixes to anthropic.py
2024-08-14 17:27:00 -07:00
Aleix Conchillo Flaqué
67016492f2
transports(daily/helpers): add delete_room_from_url()
2024-08-14 17:14:02 -07:00
Aleix Conchillo Flaqué
2c38089527
processors(rtvi): handle incoming messages in a separate task
2024-08-14 15:34:02 -07:00
Kwindla Hultman Kramer
48f68ba6dc
Service for together.ai, including Llama 3.1 function calling support
2024-08-13 15:01:54 -07:00
Aleix Conchillo Flaqué
574df4ba3d
processors(rtvi): make sure to send bot-ready when transport is joined
2024-08-13 13:25:15 -07:00
Aleix Conchillo Flaqué
49ca16d125
pipeline(task): only send initial metrics frames if metrics enabled
2024-08-13 12:22:37 -07:00
Aleix Conchillo Flaqué
87525b085e
processors(rtvi): linting and make send_error() public
2024-08-13 11:21:51 -07:00
Aleix Conchillo Flaqué
6b53c6add3
transports(daily): DailyTransport default DailyParams
2024-08-13 11:13:18 -07:00
Kwindla Hultman Kramer
29ca1b7855
Anthropic tool use core Pipecat pieces refactored ( #369 )
...
* processors(rtvi): rtvi 0.1 message protocol
* added a single function call handler
* wip - function calling
* fixup
* fixup
* fixup
* processors(rtvi): no need for configure_on_start()
* processors(rtvi): add new option values if they haven't been set yet
* Add the model name to the LLM usage metrics
* wip - anthropic tool calling
* still wip - anthropic tool use and vision
* anthropic tools and vision working
* anthropic tool calling and vision
* Cartesia error handling
* Anthropic tool use core Pipecat pieces refactored as per plan
* aleix has good ideas
* Usage metrics for Anthropic LLMs
* fix function call result state not getting cleared bug
* Pass **kwargs through from AnthropicLLMService constructor
* about to tinker with anthropic
* added openai function calling
* openai function calling
* fixup
---------
Co-authored-by: Aleix Conchillo Flaqué <aleix@daily.co >
Co-authored-by: Chad Bailey <chadbailey@gmail.com >
Co-authored-by: mattie ruth backman <mattieruth@gmail.com >
Co-authored-by: chadbailey59 <chadbailey59@users.noreply.github.com >
2024-08-13 13:01:24 -05:00
Aleix Conchillo Flaqué
a42d0c9907
processors(rtvi): add interrupt_bot()
2024-08-13 09:22:43 -07:00
marcus-daily
8bc6ceaa3d
Fixing pep8
2024-08-13 15:32:23 +01:00
marcus-daily
0b8a1ab5d1
Handle describe-actions message
2024-08-13 15:32:23 +01:00
Brian Hill
358c287db2
chore: Enable build without git
2024-08-12 11:38:41 -04:00
Brian Hill
2e68453655
Merge pull request #371 from pipecat-ai/cbrianhill/allow-build-without-git
...
chore: Enable build without git
2024-08-12 10:15:55 -04:00
Brian Hill
89b8a9de7d
chore: Enable build without git
2024-08-12 09:36:25 -04:00
Aleix Conchillo Flaqué
c4c2058df9
processors(rtvi): handle frames pushed from outside in order
2024-08-11 23:09:11 -07:00
Aleix Conchillo Flaqué
0d85c0085f
processors(rtvi): interrupt the bot if a new config is received
2024-08-11 23:09:11 -07:00
Mattie Ruth
6fa8a8f84f
Merge pull request #365 from pipecat-ai/ruthless/metrics
2024-08-11 20:35:05 -04:00
mattie ruth backman
a97775bff3
Add the model name to the LLM usage metrics
2024-08-11 12:08:46 -04:00
Aleix Conchillo Flaqué
32640e054d
processors(rtvi): add new option values if they haven't been set yet
2024-08-10 21:25:39 -07:00
Aleix Conchillo Flaqué
aa42da5658
processors(rtvi): no need for configure_on_start()
2024-08-10 21:25:21 -07:00
nulyang
900a94a825
services(azure): fix TranscriptionFrame parameter type
2024-08-10 13:00:03 +08:00
Aleix Conchillo Flaqué
c37552de70
processors(rtvi): add support for action responses
2024-08-09 18:12:37 -07:00
Aleix Conchillo Flaqué
916b37926c
processors(rtvi): rtvi 0.1 message protocol
2024-08-09 17:24:38 -07:00
Aleix Conchillo Flaqué
2b76c3c15a
update macos-py3.10-requirements
2024-08-09 17:18:30 -07:00
Aleix Conchillo Flaqué
cedd7dde18
update linux-py3.10-requirements.txt
2024-08-09 17:14:46 -07:00
Lewis Wolfgang
d088608d8e
Merge pull request #340 from pipecat-ai/lewis/silero-vad-via-pip
...
Install Silero VAD via pip
2024-08-09 13:27:29 -04:00
Aleix Conchillo Flaqué
06ee29bb8b
Merge pull request #359 from pipecat-ai/aleix/twilio-elevenlabs-sample-rates
...
twilio and elevenlabs sample rates
2024-08-09 09:38:35 -07:00
Aleix Conchillo Flaqué
d255e954d6
services(elevenlabs): allow specifying output_format
2024-08-09 09:38:20 -07:00
Aleix Conchillo Flaqué
6a7ab6b8ac
serializers(twilio): allow specifying input and output sample rates
2024-08-09 09:37:51 -07:00
Aleix Conchillo Flaqué
45b18cc0b1
Merge pull request #358 from pipecat-ai/aleix/daily-create-room-exp-fixes
...
transports(daily): fixed create_room expirations
2024-08-09 09:37:01 -07:00
Aleix Conchillo Flaqué
0479431f0a
Merge pull request #357 from pipecat-ai/aleix/daily-on-participant-updated
...
transports(daily): added on_participant_updated event
2024-08-09 09:36:46 -07:00
Aleix Conchillo Flaqué
ec58dbd791
transports(daily): added on_participant_updated event
...
Fixes #353
2024-08-09 09:36:24 -07:00
Aleix Conchillo Flaqué
91de68aab3
Merge pull request #355 from pipecat-ai/aleix/usage-metrics-update
...
processors(base): add start_llm_usage_metrics and start_tts_usage_met…
2024-08-09 09:35:36 -07:00
Aleix Conchillo Flaqué
85efc30145
Merge pull request #356 from pipecat-ai/aleix/eleven_turbo_v2_5
...
services(elevenlabs): update default model to eleven_turbo_v2_5
2024-08-09 09:34:47 -07:00
Aleix Conchillo Flaqué
0032594f21
transports(daily): fixed create_room expirations
...
Fixes #348
2024-08-08 22:04:22 -07:00
Aleix Conchillo Flaqué
829fdc5679
services(elevenlabs): update default model to eleven_turbo_v2_5
...
Fixes #349
2024-08-08 21:38:18 -07:00
Aleix Conchillo Flaqué
22e176e329
processors(base): add start_llm_usage_metrics and start_tts_usage_metrics
2024-08-08 16:46:56 -07:00
Lewis Wolfgang
826a70a137
Merge pull request #354 from pipecat-ai/lewis/delete_room_by_name
...
Add delete_room_by_name to DailyRESTHelper
2024-08-08 17:09:21 -04:00
Lewis Wolfgang
dd0ea674af
Treat 404 (room not found) as a success for deletion
2024-08-08 16:57:58 -04:00
Lewis Wolfgang
a4761b8921
Add delete_room_by_name to DailyRESTHelper
2024-08-08 16:31:01 -04:00
chadbailey59
3958bb7903
Additional LLM and TTS metrics ( #343 )
...
* added llm and tts usage metrics
* Metrics debug logging
* cleanup
2024-08-07 08:55:51 -05:00
Aleix Conchillo Flaqué
83a037a7ce
Merge pull request #345 from pipecat-ai/aleix/base-output-render-time-fixes
...
transports(base_output): improve render sleep computation
2024-08-06 17:30:47 -07:00
Aleix Conchillo Flaqué
a3eb8337a6
Merge pull request #342 from pipecat-ai/aleix/base-output-transport-push-audio
...
transport(base_output): push audio downstream
2024-08-06 17:30:32 -07:00
Aleix Conchillo Flaqué
541072f8e0
transports(base_output): improve render sleep computation
2024-08-06 17:20:41 -07:00
Aleix Conchillo Flaqué
881248cbd6
transport(base_output): push audio downstream
2024-08-05 14:00:09 -07:00
Aleix Conchillo Flaqué
d4979f5e64
Merge pull request #337 from pipecat-ai/aleix/audio-video-sync-and-gstreamer
...
audio/video sync and gstreamer
2024-08-05 09:28:11 -07:00
Aleix Conchillo Flaqué
4133cd03bb
processors(gstreamer): add clock_sync property
2024-08-05 09:23:25 -07:00
Lewis Wolfgang
9f07c3ca27
Fly.io example: remove step to cache silero models.
...
No longer necessary.
2024-08-05 10:12:35 -04:00
Lewis Wolfgang
b20bacb9ed
Remove no longer needed code
2024-08-05 10:10:39 -04:00
Lewis Wolfgang
97cfbfee1d
Install silero via pip
2024-08-05 10:01:27 -04:00
Aleix Conchillo Flaqué
fa7c941792
examples(gstreamer): add new GStreamer examples
2024-08-04 12:29:36 -07:00
Aleix Conchillo Flaqué
4738879f32
processors(gstreamer): add new GStreamerPipelineSource
2024-08-04 12:29:34 -07:00
Aleix Conchillo Flaqué
d5d88f756a
transport(output): improve audio and image handling for video use cases
2024-08-04 12:29:08 -07:00
Aleix Conchillo Flaqué
65b136bf15
Merge pull request #334 from pipecat-ai/aleix/cleanup-examples-remove-requests
...
cleanup examples and remove requests
2024-08-01 22:05:01 -07:00
Aleix Conchillo Flaqué
bee0b238e4
examples(storytelling-chatbot): include package-lock.json
2024-08-01 18:23:30 -07:00
Aleix Conchillo Flaqué
c891168ffb
services: revert optional aiohttp.ClientSession
2024-08-01 18:22:56 -07:00
Aleix Conchillo Flaqué
6376c2f6aa
transport(websocket): fix cancel
2024-08-01 18:09:16 -07:00
Aleix Conchillo Flaqué
4d9b7cdd61
DailyRESTHelper now receives an aiohttp client session
2024-08-01 18:08:57 -07:00
Aleix Conchillo Flaqué
8263d1dd6f
update CHANGELOG with latest changes
2024-07-31 23:44:07 -07:00
Aleix Conchillo Flaqué
faf41c0b36
services: ignore yielded None values
2024-07-31 23:41:03 -07:00
Aleix Conchillo Flaqué
27a09c0b2c
cleanup examples and remove requests library
2024-07-31 23:39:51 -07:00
Aleix Conchillo Flaqué
3db7f6a284
Merge pull request #333 from pipecat-ai/aleix/allow-internal-http-sessions-rebased
...
services: allow internal http sessions if none is given
2024-07-31 21:57:00 -07:00
Aleix Conchillo Flaqué
3bfeb5b5ef
services: allow internal http sessions if none is given
2024-07-31 21:56:19 -07:00
Aleix Conchillo Flaqué
62a7a555b5
Merge pull request #330 from pipecat-ai/aleix/stop-and-cancel-are-different
...
EndFrame tries to end gracefully CancelFrame cancels tasks
2024-07-31 15:51:29 -07:00
Aleix Conchillo Flaqué
d60e99a043
examples(06a-image-sync): make sure frames go downstream
2024-07-30 11:41:58 -07:00
Aleix Conchillo Flaqué
77723b34c7
EndFrame tries to end gracefully CancelFrame cancels tasks
2024-07-30 11:41:19 -07:00
Aleix Conchillo Flaqué
c466d34a06
Merge pull request #328 from pipecat-ai/aleix/rtvi-towards-custom-pipelines
...
processors(rtvi): refactor to allow future custom pipelines
2024-07-29 15:07:57 -07:00
Aleix Conchillo Flaqué
f816897833
Merge pull request #327 from pipecat-ai/aleix/bot-start-stop-speaking-frames
...
bot start stop speaking frames
2024-07-27 17:21:23 -07:00
Aleix Conchillo Flaqué
c1e8a5e522
processors(rtvi): refactor to allow future custom pipelines
2024-07-26 10:26:36 -07:00
Aleix Conchillo Flaqué
76aca32f2e
transport(output): emit new bot start|stop speaking frames
2024-07-25 14:50:33 -07:00
Aleix Conchillo Flaqué
7e31b2a795
processors(user_idle): use user speaking instead of interruption frames
2024-07-25 14:47:56 -07:00
Aleix Conchillo Flaqué
028e38a86b
Merge pull request #326 from pipecat-ai/aleix/rtvi-bot-ready-fixes
...
rtvi: send bot-ready when pipeline is ready and first participant joins
2024-07-25 11:39:14 -07:00
Aleix Conchillo Flaqué
8cf7649855
processors(rtvi): send bot-ready when pipeline AND first participant joins
2024-07-25 11:25:51 -07:00
Aleix Conchillo Flaqué
64f5119b08
transports(base): allow registering event handlers without decorators
2024-07-25 11:24:24 -07:00
Aleix Conchillo Flaqué
4d606aefb3
update CHANGELOG
2024-07-25 09:57:01 -07:00
Ankur Duggal
4bafdaa04d
Deepgram Adjustments ( #313 )
2024-07-25 09:51:51 -07:00
Aleix Conchillo Flaqué
5afe1abf82
Merge pull request #323 from pipecat-ai/aleix/base-input-handle-incoming-interruptions
...
transports(inputs): handle start/stop interruption frames
2024-07-24 15:16:18 -07:00
Aleix Conchillo Flaqué
f066d50b98
transports(inputs): handle start/stop interruption frames
2024-07-24 15:15:09 -07:00
Aleix Conchillo Flaqué
91103e21cc
github(publish_test): download tags and depth to 100
2024-07-24 14:49:09 -07:00
Aleix Conchillo Flaqué
f44dabcd65
Merge pull request #322 from pipecat-ai/aleix/base-input-transport-system-frames-fix
...
transports(inputs): don't queue incoming system frames
2024-07-24 14:44:18 -07:00
Aleix Conchillo Flaqué
0fd2fca231
frames: StartFrame is now a control frame
2024-07-24 14:42:59 -07:00
Aleix Conchillo Flaqué
5bb64098e7
transports(inputs): don't queue incoming system frames
2024-07-24 14:35:00 -07:00
Aleix Conchillo Flaqué
3fc85e75e0
Merge pull request #320 from pipecat-ai/aleix/req-updates-072324
...
update project requirements and dependencies
2024-07-23 17:45:18 -07:00
Aleix Conchillo Flaqué
3f61ea16b7
update project requirements and dependencies
2024-07-23 17:35:47 -07:00
Aleix Conchillo Flaqué
4b393092b5
Merge pull request #319 from pipecat-ai/aleix/daily-completion-callbacks-0.0.39-fix
...
transports(daily): fix completion callbacks handling
2024-07-23 15:27:26 -07:00
Aleix Conchillo Flaqué
b583f5162b
transports(daily): fix completion callbacks handling
2024-07-23 15:25:59 -07:00
Aleix Conchillo Flaqué
060a22f395
github: only run publish_test manually
...
We need to run this manually to avoid test.pypi.org project size limits.
2024-07-23 14:19:24 -07:00
Aleix Conchillo Flaqué
d3e85355f1
Merge pull request #318 from pipecat-ai/aleix/prepare-0.0.38
...
update CHANGELOG for 0.0.38
2024-07-23 14:12:01 -07:00
Aleix Conchillo Flaqué
83e730b768
update CHANGELOG for 0.0.38
2024-07-23 14:10:10 -07:00
Aleix Conchillo Flaqué
5fcc96446c
Merge pull request #317 from pipecat-ai/aleix/silero-repo-params
...
vad(silero): expose cache and repo parameters
2024-07-23 12:13:20 -07:00
Aleix Conchillo Flaqué
ad88925154
vad(silero): expose cache and repo parameters
2024-07-23 12:12:28 -07:00
Aleix Conchillo Flaqué
0a6ddbf15c
Merge pull request #316 from pipecat-ai/aleix/metrics-improvements
...
metrics improvements
2024-07-23 11:23:57 -07:00
Aleix Conchillo Flaqué
08e0722d97
fix initial metrics format
2024-07-23 11:23:03 -07:00
Aleix Conchillo Flaqué
05d4fba551
processors(rtvi): send initial empty metrics
2024-07-23 11:22:41 -07:00
Aleix Conchillo Flaqué
f41c2b3c9f
transports(daily): don't send empty metrics
2024-07-23 11:22:41 -07:00
Aleix Conchillo Flaqué
69f64899fe
pipeline: add send_initial_empty_metrics flag
2024-07-23 11:22:41 -07:00
Aleix Conchillo Flaqué
33f0865430
Merge pull request #315 from pipecat-ai/aleix/stop-transcription-error
...
transports(daily): wait until start|stop_transcription are finished
2024-07-23 11:18:59 -07:00
Aleix Conchillo Flaqué
ad5b9202ab
transports(daily): wait until start|stop_transcription are finished
...
Fixes #305
2024-07-22 22:59:30 -07:00
Aleix Conchillo Flaqué
1676693091
Merge pull request #314 from pipecat-ai/aleix/transcription-timestamps
...
services: transcription timestamp should use ISO8601 format
2024-07-22 22:43:01 -07:00
Aleix Conchillo Flaqué
0852b50b8f
services: transcription timestamp should use ISO8601 format
2024-07-22 22:40:28 -07:00
Aleix Conchillo Flaqué
eb998aa502
Merge pull request #312 from pipecat-ai/aleix/rtvi-support
...
RTVI support
2024-07-22 16:58:40 -07:00
Aleix Conchillo Flaqué
6dab0e9de7
update CHANGELOG for 0.0.37
2024-07-22 16:00:30 -07:00
Aleix Conchillo Flaqué
95ff1d141c
update CHANGELOG with RTVIProcessor
2024-07-22 16:00:26 -07:00
Aleix Conchillo Flaqué
87bc8a9da6
examples: remove RTVI since there are full demos elsewhere
2024-07-22 15:53:39 -07:00
Aleix Conchillo Flaqué
087fe9a537
services(cartesia): fix TTFB
2024-07-22 15:30:16 -07:00
Aleix Conchillo Flaqué
c1170260b5
processors(rtvi): use generic LLM and TTS names
2024-07-22 15:27:33 -07:00
Aleix Conchillo Flaqué
65cdf50774
processors(rtvi): fix task cleanup
2024-07-22 15:01:45 -07:00
Aleix Conchillo Flaqué
9233bb490c
processors(rtvi): add support for "tts-text" messages
2024-07-22 11:40:17 -07:00
Aleix Conchillo Flaqué
43932220f7
processors(rtvi): use only user-transcription
2024-07-22 09:40:16 -07:00
Aleix Conchillo Flaqué
cea4d1894e
processors(rtvi): change voice before LLM updates
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
80baa0358d
processors(rtvi): lable is now rtvi
2024-07-22 09:32:18 -07:00
Chad Bailey
5d73db53a0
initial pseudo function calling
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
302ea90dce
processors(rtvi): messages now require an id
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
37b04ed283
processors(rtvi): use send a type=response as command responses
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
be6995cfdf
processors(rtvi): renamed realtime-ai to rtvi
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
dfbc11300c
processors(realtime-ai): use label instead of tag
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
82d539d174
processors(realtime-ai): add support for interrupting the bot
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
6e00f31014
updated CHANGELOG with new frames and realtime-ai changes
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
a46ac3cc92
examples: moved 18-realtime-ai.py to examples/realtime-ai
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
6fbf98d8e2
processors(realtime-ai): llm-context now uses a data field
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
f094c42728
processors(realtime-ai): add transcription messages
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
13827e1282
processors(realtime-ai): send a successful response for every command
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
32170b47d9
processors(realtime-ai): add user-[start|stopped]-speaking messages
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
09c05354c2
processors(realtime-ai): fix voice initialization
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
b0b1475563
processors(realtime-ai): add support making TTS to speak
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
b85dd7283a
processors(realtime-ai): add support for appending to the LLM context
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
846ae765e5
services(TTSService): fix sentence cleanup
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
4c629e538e
processors(realtime-ai): add assistant before output transport
...
Cartesia can do word-to-word output instead of full sentences. This means that
for properly adding things into the context we need to add it before the
transport, otherwise some words might be lost.
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
f6e22bb3b9
processors(realtime-ai): add silero vad to the transport
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
46a048d7f6
processors(realtime-ai): allow default setup to be None
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
bd9f4eea06
processors(realtime-ai): provide default values
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
0a672e61e2
processors(realtime-ai): update it to use groq by default
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
29a8530221
processors(realtime-ai): add support for updating config (model, voice...)
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
3e738642a7
processors(realtime-ai): add support for getting/updating LLM context
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
f551f55f03
examples: add new foundational/18-realtime-ai.py
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
9f012c8002
processors: add new RealtimeAIProcessor
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
0a69a9e5ef
transport(daily): also accept TransportMessageFrame
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
194790183a
processor: add support for setting a processor parent
2024-07-22 09:32:18 -07:00
Aleix Conchillo Flaqué
2227721173
update CHANGELOG with StatelessTextTransformer fix (update)
2024-07-22 09:30:45 -07:00
Aleix Conchillo Flaqué
77a53da5f5
update CHANGELOG with StatelessTextTransformer fix
2024-07-22 09:28:38 -07:00
Aleix Conchillo Flaqué
ab63ff275d
Merge pull request #310 from weedge/fix/StatelessTextTransformer
...
fix: push_frame use TextFrame
2024-07-22 09:25:27 -07:00
weedge
e5363f65f0
fix: push_frame use TextFrame
...
Signed-off-by: weedge <weege007@gmail.com >
2024-07-22 17:29:06 +08:00
Lewis Wolfgang
ffc157de65
Merge pull request #307 from pipecat-ai/lewis/increase_openai_keepalive_expiry
...
Allow openai http connections to remain open in the pool indefinitely.
2024-07-19 07:09:17 -04:00
Lewis Wolfgang
f9fdadb4c0
Allow openai http connections to remain open in the pool indefinitely.
...
Rather than expiring in 5 seconds.
2024-07-18 11:18:21 -04:00
Aleix Conchillo Flaqué
4efccb79f2
Merge pull request #306 from pipecat-ai/aleix/remove-llm-response-start-end-frame
...
remove LLMResponseStartFrame and LLMResponseEndFrame
2024-07-17 21:51:02 -07:00
Aleix Conchillo Flaqué
337968199a
update CHANGELOG with CartesiaTTSService and TTSService updates
2024-07-17 20:58:10 -07:00
Aleix Conchillo Flaqué
37027f68cb
remove LLMResponseStartFrame and LLMResponseEndFrame
...
This was added in the past to properly handle interruptions for the
LLMAssistantContextAggregator. But this is not necessary anymore since we can
handle interruptions by just processing the StartInterruptionFrame, so there's
no need for these extra frames.
2024-07-17 20:53:35 -07:00
Kwindla Hultman Kramer
d1b62c5495
Merge pull request #304 from pipecat-ai/khk/cartesia-continue
...
Cartesia streaming (WebSocket) and word-level timestamps support
2024-07-17 20:29:15 -07:00
Kwindla Hultman Kramer
355fe01cb7
fixed forgotten renames
2024-07-17 20:28:27 -07:00
Kwindla Hultman Kramer
9d050a16c7
committing an uncommitted file
2024-07-17 20:23:41 -07:00
Kwindla Hultman Kramer
fa53c67606
comments re fixes
2024-07-17 18:30:45 -07:00
Kwindla Hultman Kramer
5006376fe6
undo changes to 02-llm-say-one-thing.py
2024-07-17 15:18:47 -07:00
Kwindla Hultman Kramer
2204b8e205
cartesia streaming and context management via word-level timestamps
2024-07-17 15:17:00 -07:00
Kwindla Hultman Kramer
270007b17c
wip - using cartesia word timestamps for context management
2024-07-17 14:13:52 -07:00
Kwindla Hultman Kramer
568eb2ef4c
cartesia websockets and streaming
2024-07-17 14:13:52 -07:00
Kwindla Hultman Kramer
73ca9184a8
wip cartesia continuation (not working yet)
2024-07-17 14:13:52 -07:00
Aleix Conchillo Flaqué
5e8e11e16e
pyproject: require python >= 3.10
2024-07-17 09:52:42 -07:00
Aleix Conchillo Flaqué
029bbc16f2
Merge pull request #286 from TomTom101/feat/regex_endofsentence
...
fix: No more falsely detect a sentence end on "U.S.A", "3:00 a.m."
2024-07-17 09:49:21 -07:00
Aleix Conchillo Flaqué
9e3d87e4f6
Merge pull request #291 from adidoit/main
...
Fix error with readme example - SyntaxError: positional argument follows keyword argument
2024-07-15 13:10:17 -04:00
Aleix Conchillo Flaqué
f1410a1127
Merge pull request #297 from wtlow003/main
...
fix: minor typo
2024-07-15 13:08:23 -04:00
wtlow003
2b980d16c3
fix: minor typo
2024-07-12 18:27:57 +08:00
Adi Pradhan
b2b97aafb8
fix error with readme example - SyntaxError: positional argument follows keyword argument
2024-07-10 09:50:20 -04:00
TomTom101
da2082b025
chore: Combined combinable lookaheads
2024-07-06 11:11:40 +02:00
TomTom101
327ea9d547
chore: Make it a const
2024-07-06 11:08:51 +02:00
TomTom101
b23db4a202
chore: commented regex
2024-07-06 11:06:52 +02:00
TomTom101
d1a36004ab
fix: No more falsely detect a sentence end on "U.S.A", "3:00 a.m." and more
2024-07-06 11:01:32 +02:00
Jon Taylor
6071920c45
Merge pull request #284 from pipecat-ai/jpt/storybot-load-balance
...
Update storybot demo
2024-07-03 19:48:32 +01:00
Jon Taylor
5f539e1fba
fixed teardown
2024-07-03 17:02:54 +01:00
Jon Taylor
8e1539c360
virtualized deployment and added room-based balancing
2024-07-03 16:48:14 +01:00
Aleix Conchillo Flaqué
065cfb2aca
Merge pull request #280 from pipecat-ai/aleix/library-updates-070224
...
library updates 070224 and pipecat 0.0.36
2024-07-02 10:14:03 -07:00
Aleix Conchillo Flaqué
3147534e86
update CHANGELOG for 0.0.36
2024-07-02 10:13:26 -07:00
Aleix Conchillo Flaqué
be5603bf16
examples: fix 06a-image-sync.py
2024-07-02 10:11:50 -07:00
Aleix Conchillo Flaqué
b9b0bcdcbd
services(azure): close the audio stream on exit
2024-07-02 10:11:35 -07:00
Aleix Conchillo Flaqué
5bcece56f3
services(cartesia): make sure we close the client on exit
2024-07-02 10:11:16 -07:00
Aleix Conchillo Flaqué
d67faef88c
pyproject: multiple library updates
2024-07-02 09:05:37 -07:00
Aleix Conchillo Flaqué
8f6db5e905
Merge pull request #279 from pipecat-ai/aleix/gladia-stt-support
...
add Gladia STT support
2024-07-02 08:07:35 -07:00
Aleix Conchillo Flaqué
82e93a0560
use exclude_none=True when dumping BaseModels
2024-07-02 08:03:31 -07:00
Aleix Conchillo Flaqué
a9a82c083b
services: add GladiaSTTService support
2024-07-02 08:03:29 -07:00
Aleix Conchillo Flaqué
974d9c33ed
Merge pull request #278 from pipecat-ai/aleix/detect-user-idle
...
add support for detecting user idle
2024-07-02 08:01:27 -07:00
Jon Taylor
c1957ab694
Merge pull request #274 from pipecat-ai/jpt/deployment-examples
...
Example deployment pattern for fly.io
2024-07-02 10:17:13 +01:00
Jon Taylor
b20a10a4bc
fixed double fly
2024-07-02 10:17:01 +01:00
Aleix Conchillo Flaqué
be14ce465d
transports(daily): make sure we don't send data if client is closed
2024-07-01 18:26:13 -07:00
Aleix Conchillo Flaqué
d1ca0c5614
examples: added new 17-detect-user-idle.py
2024-07-01 18:17:43 -07:00
Aleix Conchillo Flaqué
535514f506
processors: added new UserIdleProcessor
2024-07-01 18:17:43 -07:00
Aleix Conchillo Flaqué
933b63cf13
processors: added new IdleFrameProcessor
2024-07-01 14:57:42 -07:00
Aleix Conchillo Flaqué
d7c3e380a5
added BotSpeakingFrame
2024-07-01 14:57:18 -07:00
Aleix Conchillo Flaqué
c5298f78cb
add more missing keyword-only arguments
2024-07-01 12:34:53 -07:00
Jon Taylor
4f8f7b8d1d
added on_call_state event to prevent idle vms
2024-07-01 19:21:16 +01:00
Aleix Conchillo Flaqué
d7d46919ac
update macos-py3.10-requirements.txt
2024-07-01 11:00:59 -07:00
Aleix Conchillo Flaqué
e5d73d2e2e
update linux-py3.10-requirements.txt
2024-07-01 10:58:49 -07:00
Aleix Conchillo Flaqué
b145e8ec90
update README with XTTS
2024-07-01 10:49:43 -07:00
Aleix Conchillo Flaqué
97ff4a1fb8
Merge pull request #275 from pipecat-ai/aleix/add-missing-keyword-separators
...
add missing keyword separators
2024-07-01 10:45:31 -07:00
Aleix Conchillo Flaqué
5018a552c1
services(xtts): no need the WAV header
2024-07-01 10:44:32 -07:00
Aleix Conchillo Flaqué
7f9fd9ffce
examples: added 07i-interruptible-xtts
2024-07-01 10:41:34 -07:00
Aleix Conchillo Flaqué
ddd0ca6a8f
update CHANGELOG
2024-07-01 10:27:26 -07:00
Aleix Conchillo Flaqué
06f817c7e3
transport(websocket): don't send if serializer returns None
2024-07-01 10:27:26 -07:00
Aleix Conchillo Flaqué
df4c3e56c4
services: add missing * keyword separator
2024-07-01 10:27:26 -07:00
Aleix Conchillo Flaqué
9d5c2b9656
Merge pull request #276 from eddieoz/feature/xtts
...
Added service XTTS
2024-07-01 10:26:53 -07:00
eddieoz
7ce59c5e2e
added service xtts
2024-07-01 20:17:19 +03:00
Aleix Conchillo Flaqué
1c9631fc78
Merge pull request #271 from pipecat-ai/aleix/silero-vad-version
...
vad(silero): allow specifying a Silero VAD version
2024-07-01 09:39:59 -07:00
Aleix Conchillo Flaqué
efbe7297f7
vad(silero): allow specifying a Silero VAD version
2024-07-01 09:38:43 -07:00
Aleix Conchillo Flaqué
1b45946a61
Merge pull request #270 from pipecat-ai/aleix/async-frame-processor
...
add new AsyncFrameProcessor and AsyncAIService
2024-07-01 09:37:51 -07:00
Aleix Conchillo Flaqué
cbf5a6362c
add new AsyncFrameProcessor and AsyncAIService
2024-07-01 09:37:02 -07:00
Aleix Conchillo Flaqué
583b96c341
Merge pull request #269 from pipecat-ai/aleix/improve-error-handling
...
improve error handling and don't swallow exceptions
2024-07-01 09:36:00 -07:00
Aleix Conchillo Flaqué
fc0920504d
improve error handling and don't swallow exceptions
2024-07-01 09:35:45 -07:00
Aleix Conchillo Flaqué
abd65a93b2
Merge pull request #268 from pipecat-ai/aleix/websocket-dont-send-if-closed
...
transports(websocket): don't send data if websocket closed
2024-07-01 09:33:45 -07:00
Aleix Conchillo Flaqué
c3244fdd7a
transports(websocket): don't send data if websocket closed
2024-07-01 09:31:58 -07:00
Aleix Conchillo Flaqué
e8f58938b0
Merge pull request #267 from pipecat-ai/aleix/processing-metrics
...
add support for processing metrics
2024-07-01 09:31:05 -07:00
Jon Taylor
602b4f34b1
added example fly.toml
2024-07-01 16:50:53 +01:00
Jon Taylor
0399c84dfa
added flyio deployment example
2024-07-01 16:46:38 +01:00
Aleix Conchillo Flaqué
fd5d879bf5
add support for processing metrics
...
Processing metrics indicate how much time a processor takes to generate all of
its output.
2024-06-28 14:26:57 -07:00
Aleix Conchillo Flaqué
8dff460307
Merge pull request #266 from pipecat-ai/aleix/silero-num-frames-fixes
...
vad: fix Silero VAD required number of frames
2024-06-28 11:25:55 -07:00
Aleix Conchillo Flaqué
cce1ddb183
vad: fix Silero VAD required number of frames
2024-06-28 10:45:48 -07:00
Aleix Conchillo Flaqué
8691d14289
Merge pull request #255 from Viking5274/main
...
Fix twilio error
2024-06-26 10:17:03 -07:00
daniil5701133
dd402da9e5
added handling streamSid after first wss connect
...
fixx name
2024-06-26 18:56:30 +03:00
Aleix Conchillo Flaqué
2fd04248f1
examples(storytelling-chatbot): upgrade npm vulnerabilities
2024-06-25 22:04:55 -07:00
Aleix Conchillo Flaqué
0ac42006f8
Merge pull request #260 from pipecat-ai/aleix/more-interruption-fixes
...
more interruption fixes
2024-06-25 21:52:02 -07:00
Aleix Conchillo Flaqué
66e331248d
update CHANGELOG for 0.0.34
2024-06-25 21:43:23 -07:00
Aleix Conchillo Flaqué
4be3e8c87d
aggregators: revert using intermediate results
2024-06-25 21:33:17 -07:00
Aleix Conchillo Flaqué
dac033fe61
services(azure): allow transcriptions during interruptions
...
If the user interrupts we can't just discard transcriptions because the user is
actually interrupting and talking.
2024-06-25 21:33:06 -07:00
Aleix Conchillo Flaqué
d302cbb114
services(deepgram): allow transcriptions during interruptions
...
If the user interrupts we can't just discard transcriptions because the user is
actually interrupting and talking.
2024-06-25 21:32:21 -07:00
Aleix Conchillo Flaqué
e3b407db28
Merge pull request #259 from pipecat-ai/aleix/prepare-0.0.33
...
update CHANGELOG for 0.0.33
2024-06-25 12:05:07 -07:00
Aleix Conchillo Flaqué
4ef623f09e
update CHANGELOG for 0.0.33
2024-06-25 11:53:07 -07:00
Aleix Conchillo Flaqué
253530a63d
Merge pull request #258 from pipecat-ai/aleix/upgrade-cartesia-1.0.0
...
services(cartesia): upgrade to new cartesia 1.0.0
2024-06-25 11:52:04 -07:00
Aleix Conchillo Flaqué
4f38d989f5
services(cartesia): upgrade to new cartesia 1.0.0
2024-06-25 11:51:34 -07:00
Aleix Conchillo Flaqué
84074e90ee
Merge pull request #257 from pipecat-ai/aleix/cancel-all-tasks-when-interrutpted
...
cancel all tasks when interrutpted
2024-06-25 11:16:00 -07:00
Aleix Conchillo Flaqué
38aee7d8f2
services(azure): cancel tasks when interrupted and ignore incoming transcriptions
2024-06-25 11:15:26 -07:00
Aleix Conchillo Flaqué
64198313c6
services(deepgram): cancel tasks when interrupted and ignore incoming transcriptions
2024-06-25 11:15:07 -07:00
Aleix Conchillo Flaqué
d61b6c301c
transports(base_input): create push tasks after pushing interruption
2024-06-25 11:15:07 -07:00
Aleix Conchillo Flaqué
83d1931266
Merge pull request #256 from pipecat-ai/aleix/tts-cleanup-when-interrupted
...
services(tts): strip before TTS and cleanup when interrupted
2024-06-25 11:14:32 -07:00
Aleix Conchillo Flaqué
c31f2ab285
services(tts): strip before TTS and cleanup when interrupted
2024-06-25 11:13:19 -07:00
Aleix Conchillo Flaqué
0ddc5721b4
Merge pull request #252 from pipecat-ai/aleix/daily-check-size-read-audio-frames
...
transports(daily): always check size of read audio frames
2024-06-25 09:45:05 -07:00
Aleix Conchillo Flaqué
98bd183bc4
pyproject: fix cartesia version and update requirements files
2024-06-25 09:43:54 -07:00
Aleix Conchillo Flaqué
aaa154524c
Merge pull request #253 from pipecat-ai/aleix/llm-response-use-intermediate-results
...
aggregators: uses intermediate results for LLMAssistantResponseAggreg…
2024-06-24 19:21:14 -07:00
Aleix Conchillo Flaqué
beced68337
aggregators: uses intermediate results for LLMAssistantResponseAggregator
2024-06-24 17:33:45 -07:00
Aleix Conchillo Flaqué
94823ab952
transports(daily): always check size of read audio frames
2024-06-24 14:56:24 -07:00
Kwindla Hultman Kramer
0b6a19802f
Merge pull request #250 from pipecat-ai/lewis/flush-tts-on-llm-response-end
...
Flush output from TTSService on LLMFullResponseEndFrame
2024-06-22 20:37:45 -04:00
Lewis Wolfgang
c4a2d2197c
Flush output from TTSService on LLMFullResponseEndFrame
...
To cover cases when the LLM response does not end in punctuation.
2024-06-22 14:57:44 -04:00
Aleix Conchillo Flaqué
269d06aa15
Merge pull request #249 from pipecat-ai/aleix/pipecat-0.0.32
...
update CHANGELOG.md for 0.0.32
2024-06-22 09:21:21 -07:00
Aleix Conchillo Flaqué
dfef1f2c54
update CHANGELOG.md for 0.0.32
2024-06-22 09:19:22 -07:00
Aleix Conchillo Flaqué
b62beaba0b
Merge pull request #248 from pipecat-ai/aleix/deepgramstt-url
...
services(deepgram): add url to DeepgramSTTService
2024-06-21 22:26:23 -07:00
Aleix Conchillo Flaqué
adf414e40f
services(deepgram): add url to DeepgramSTTService
2024-06-21 16:52:28 -07:00
Aleix Conchillo Flaqué
dc64e57f63
Merge pull request #241 from pipecat-ai/aleix/transports-async
...
transports: fully use asyncio in all read/write operations
2024-06-21 16:00:08 -07:00
Aleix Conchillo Flaqué
d3e410b2ac
transports: fully use asyncio in all read/write operations
2024-06-21 15:55:15 -07:00
Aleix Conchillo Flaqué
c544b2474b
update linux-py3.10-requirements with fastapi and new daily-python
2024-06-21 15:44:01 -07:00
Aleix Conchillo Flaqué
18243de358
add fastapi and update macos-py3.10-requirements.txt
2024-06-21 13:16:47 -07:00
Aleix Conchillo Flaqué
6625895d1f
update macos-py3.10-requirements.txt
2024-06-21 13:13:02 -07:00
Aleix Conchillo Flaqué
f9ecce739e
Merge pull request #247 from pipecat-ai/aleix/twilio-updates
...
some twilio updates
2024-06-21 10:14:40 -07:00
Aleix Conchillo Flaqué
0075dd8386
update linux/macos-py3.10-requirements.txt
2024-06-21 09:48:12 -07:00
Aleix Conchillo Flaqué
eef1cde816
updated CHANGELOG.md with fastapi and twilio updates
2024-06-21 09:48:12 -07:00
Aleix Conchillo Flaqué
8d867c30c6
transports(websocket): verify websockets module
2024-06-21 09:48:12 -07:00
Aleix Conchillo Flaqué
42c668b7ae
examples(twilio-chatbot): update instructions and renames
2024-06-21 09:48:12 -07:00
Aleix Conchillo Flaqué
b62227b4ae
serializers(twilio): formatting and allow str | bytes | None
2024-06-21 09:47:17 -07:00
Aleix Conchillo Flaqué
25ef0cb87b
serializers: allow str | bytes | None
2024-06-21 09:42:43 -07:00
Aleix Conchillo Flaqué
e195941aa5
Merge pull request #246 from pipecat-ai/aleix/daily-dialout-answered
...
transports(daily): added dialout_answered event
2024-06-20 18:37:24 -07:00
Aleix Conchillo Flaqué
e09eef1dd7
Merge pull request #243 from Viking5274/main
...
Add twilio_websocket_service with example
2024-06-20 14:09:48 -07:00
Aleix Conchillo Flaqué
7c13663a4e
transports(daily): added dialout_answered event
2024-06-20 13:01:25 -07:00
daniil5701133
5753869e5e
add twilio-chatbot example with README.md info how to start app
...
created twilio_websocket_service.py, TwilioFrameSerializer.py
moved pcm_16000_to_ulaw_8000 and ulaw_8000_to_pcm_16000 to src/pipecat/utils/audio.py
fixed callback on disconnect
2024-06-20 23:00:01 +03:00
chadbailey59
ba878a19f4
fixed "Dr." interruption ( #245 )
2024-06-19 20:53:04 -05:00
Aleix Conchillo Flaqué
55a9de78cd
Merge pull request #239 from pipecat-ai/aleix/azure-stt
...
azure stt support
2024-06-14 14:07:07 +08:00
Aleix Conchillo Flaqué
ff51fc9091
updated CHANGELOG and README
2024-06-13 17:03:49 -07:00
Aleix Conchillo Flaqué
a4f857ee34
examples: use new AzureSTTService in 07f-interruptible-azure
2024-06-13 17:03:49 -07:00
Aleix Conchillo Flaqué
3250d74bef
services(azure): new AzureSTTService
2024-06-13 17:03:49 -07:00
Aleix Conchillo Flaqué
c086160239
examples: cleanup some 07 interruptible examples
2024-06-13 16:36:10 -07:00
Aleix Conchillo Flaqué
6cdccaff53
Merge pull request #238 from pipecat-ai/aleix/pipecat-0.0.31
...
pipecat 0.0.31
2024-06-14 06:31:41 +08:00
Aleix Conchillo Flaqué
a9ab8de25d
update CHANGELOG for 0.0.31
2024-06-13 15:31:03 -07:00
Aleix Conchillo Flaqué
2a29cb18a5
transports(base_output): chunk audio into 20ms instead of 10ms
2024-06-13 15:30:41 -07:00
Aleix Conchillo Flaqué
4193a4f415
Merge pull request #237 from pipecat-ai/aleix/pipecat-0.0.30
...
update CHANGELOG for 0.0.30
2024-06-14 05:28:14 +08:00
Aleix Conchillo Flaqué
0226ec450a
update CHANGELOG for 0.0.30
2024-06-13 14:27:37 -07:00
Aleix Conchillo Flaqué
020b8ebb35
Merge pull request #236 from pipecat-ai/aleix/report-only-initial-ttfb
...
report only initial ttfb
2024-06-14 05:24:52 +08:00
Aleix Conchillo Flaqué
1170b30c1b
aggregator(user_response): also handle small VADParams.stop_secs
2024-06-13 13:30:31 -07:00
Aleix Conchillo Flaqué
0004d4a906
vad: reduce smoothing factor and increase confidence
2024-06-13 13:30:11 -07:00
Aleix Conchillo Flaqué
cb27e86266
metrics: allow sending only initial TTFB metrics
2024-06-13 13:30:00 -07:00
Aleix Conchillo Flaqué
77a3b2ea5c
Merge pull request #235 from pipecat-ai/aleix/openpipe-refactoring
...
openpipe refactoring
2024-06-14 01:28:50 +08:00
Aleix Conchillo Flaqué
099e65f3b6
report processor name in error logs
2024-06-13 10:20:45 -07:00
Aleix Conchillo Flaqué
befb8db120
update pyproject and requirements
2024-06-13 10:20:45 -07:00
Aleix Conchillo Flaqué
9992d826b1
examples: renamed 06b-listen... to 07h-inte...
2024-06-13 10:18:20 -07:00
Aleix Conchillo Flaqué
18604e1a39
re-add removed CHANGELOG lines
2024-06-13 10:18:20 -07:00
Aleix Conchillo Flaqué
312c569182
services(openpipe): refactored so it's based on BaseOpenAILLMService
2024-06-13 09:30:50 -07:00
Aleix Conchillo Flaqué
b43e0ed130
Merge pull request #233 from KwalAI/openpipe-integration
...
OpenPipe Integration
2024-06-13 22:41:57 +08:00
Aleix Conchillo Flaqué
289debea34
Merge pull request #234 from pipecat-ai/aleix/fix-daily-room-properties-exp
...
transports(helpers): fix DailyRoomProperties.exp
2024-06-13 22:38:41 +08:00
Aleix Conchillo Flaqué
ccd6af7016
transports(helpers): fix DailyRoomProperties.exp
2024-06-12 23:15:22 -07:00
Ankur Duggal
effc69e4e4
formatting
2024-06-12 15:01:19 -07:00
Ankur Duggal
c7a0d0db64
OpenPipe Integration
2024-06-12 14:23:56 -07:00
Aleix Conchillo Flaqué
50d69a1ca4
Merge pull request #231 from pipecat-ai/aleix/websocket-deserializer-none
...
serializer: allow deserialize() to return None
2024-06-13 04:36:03 +08:00
Aleix Conchillo Flaqué
8a6b8fe70a
Merge pull request #232 from pipecat-ai/aleix/pyproject-deepgram
...
pyproject: add deepgram-sdk
2024-06-13 03:53:08 +08:00
Aleix Conchillo Flaqué
c4e53aea71
update macos-py3.10-requirements with deepgram
2024-06-12 12:52:20 -07:00
Aleix Conchillo Flaqué
ad5125e93f
pyproject: add deepgram-sdk
2024-06-12 12:50:18 -07:00
Aleix Conchillo Flaqué
8d92cbac93
Merge pull request #230 from pipecat-ai/aleix/processor-names
...
processor names
2024-06-13 03:16:07 +08:00
Aleix Conchillo Flaqué
0225443ec8
transports(base): always send MetricsFrame
2024-06-12 12:15:29 -07:00
Aleix Conchillo Flaqué
71e1d0a334
pipeline: send initial TTFB initial metrics from PipelineTask
2024-06-12 12:15:29 -07:00
Aleix Conchillo Flaqué
83f69e02fd
allow specifying frame processor names
2024-06-12 12:15:29 -07:00
Aleix Conchillo Flaqué
e1b2da1ff0
serializer: allow deserialize() to return None
2024-06-12 12:11:36 -07:00
Kwindla Hultman Kramer
5eb1b90a4b
Merge pull request #229 from pipecat-ai/khk-deepgram-url-configurable
...
Deepgram TTS service improvements
2024-06-12 14:52:04 -04:00
Kwindla Hultman Kramer
9c4ee74b91
bot to test for demo
2024-06-12 10:41:49 -07:00
Aleix Conchillo Flaqué
f65f566829
re-add transports/services/helpers/__init__.py
2024-06-12 10:37:28 -07:00
Aleix Conchillo Flaqué
c8ad3123b7
Merge pull request #207 from pipecat-ai/dialin-example
...
New example: Dialin bot (call your Pipecat via phone)
2024-06-13 01:36:00 +08:00
Jon Taylor
8cefce28cf
added example fly toml
2024-06-12 10:35:03 -07:00
Jon Taylor
a834d26885
removed https from daily boy
2024-06-12 10:35:03 -07:00
Jon Taylor
810e3cd551
added fly.example.toml due to gitignore
2024-06-12 10:35:03 -07:00
Jon Taylor
f258fa96cd
added env to dockerignore
2024-06-12 10:35:03 -07:00
Jon Taylor
757ec61f14
added deepgram to readme
2024-06-12 10:35:03 -07:00
Jon Taylor
2c933f43d8
linting errors and removed unusued sip url
2024-06-12 10:35:03 -07:00
Jon Taylor
cc5bfa8af8
removed helps and fixed linting
2024-06-12 10:35:03 -07:00
Jon Taylor
de9f3e55f1
new example: dialin
2024-06-12 10:35:03 -07:00
Aleix Conchillo Flaqué
ed0c986218
Merge pull request #228 from pipecat-ai/aleix/websocket-fixes
...
websocket fixes
2024-06-13 01:30:21 +08:00
Aleix Conchillo Flaqué
72c27215b6
transports(websocket): use push_audio_frame()
2024-06-12 10:29:39 -07:00
Aleix Conchillo Flaqué
c23b14f768
examples: use DeepgramSTTService in websocker-server
2024-06-12 10:29:22 -07:00
Aleix Conchillo Flaqué
81282f9c4d
services(deepgram): keep conenction alive
2024-06-12 10:29:22 -07:00
Aleix Conchillo Flaqué
2b324f6f81
Merge pull request #227 from pipecat-ai/aleix/daily-room-properties-extra
...
transports(daily): DailyRoomProperties now allow extra unknown parame…
2024-06-13 00:25:07 +08:00
Kwindla Hultman Kramer
049f110344
PipelineTask should not exit when Deepgram TTS returns a Bad Request "unutterable"
2024-06-12 09:24:09 -07:00
Kwindla Hultman Kramer
448a0307a8
rebasing
2024-06-12 07:54:18 -07:00
Aleix Conchillo Flaqué
7390e42f5c
transports(daily): DailyRoomProperties now allow extra unknown parameters
2024-06-11 22:31:32 -07:00
Aleix Conchillo Flaqué
ee880d229f
Merge pull request #223 from pipecat-ai/aleix/fix-lower-vad-stop-secs
...
processors: fix LLMResponseAggregator with lower VAD values
2024-06-12 13:30:34 +08:00
Aleix Conchillo Flaqué
9cd07d81f8
processors: fix LLMResponseAggregator with lower VAD values
2024-06-11 22:30:06 -07:00
Aleix Conchillo Flaqué
b453d089c3
Merge pull request #226 from pipecat-ai/aleix/chunk-audio-output
...
transport: chunk longer audio frames
2024-06-12 13:28:28 +08:00
Aleix Conchillo Flaqué
7410fe1d1e
transport: chunk longer audio frames
2024-06-11 17:50:51 -07:00
Aleix Conchillo Flaqué
6323a77431
Merge pull request #224 from pipecat-ai/aleix/deepgram-stt-simple
...
deepgram stt simple
2024-06-12 08:48:19 +08:00
Aleix Conchillo Flaqué
0aedaa8553
services(deepgram): abstract StartFrame/EndFrame/CancelFrame
2024-06-10 21:18:42 -07:00
Aleix Conchillo Flaqué
6554479d39
transports: don't queue system frames
2024-06-10 21:00:01 -07:00
Aleix Conchillo Flaqué
ce2ebd3198
examples: updated 07c-interruptible-deepgram to usee DeepgramSTTService
2024-06-10 21:00:01 -07:00
Aleix Conchillo Flaqué
13ea1efc96
examples: add new 13b-deepgram-transcription
2024-06-10 21:00:01 -07:00
Aleix Conchillo Flaqué
ef380321cf
services: added new DeepgramSTTService
2024-06-10 21:00:01 -07:00
Kwindla Hultman Kramer
294b037730
configurable deepgram base url
2024-06-08 09:38:48 -04:00
Aleix Conchillo Flaqué
7603996612
Merge pull request #220 from pipecat-ai/aleix/pipecat-0.0.29
...
update CHANGELOG for 0.0.29
2024-06-08 04:43:52 +08:00
Aleix Conchillo Flaqué
3048d2b0b1
update CHANGELOG for 0.0.29
2024-06-07 13:43:00 -07:00
Aleix Conchillo Flaqué
0bb47a09d2
Merge pull request #218 from pipecat-ai/aleix/send-inital-metrics-mapping
...
send inital metrics mapping
2024-06-08 04:41:59 +08:00
Aleix Conchillo Flaqué
1afe6901d9
processors: add processors_with_metrics() and can_generate_metrics()
2024-06-07 13:38:21 -07:00
Aleix Conchillo Flaqué
3e019fb512
services(openai): remove unused _chat_completions
2024-06-07 13:18:11 -07:00
Aleix Conchillo Flaqué
e069aa9608
updated CHANGELOG with BasePipeline
2024-06-07 13:18:09 -07:00
Aleix Conchillo Flaqué
0b32e42d25
transports(daily): fix extra super().process_frame()
2024-06-07 13:17:50 -07:00
Aleix Conchillo Flaqué
8d18be5069
services(anthropic): fix metrics
2024-06-07 13:17:50 -07:00
Aleix Conchillo Flaqué
e715d99d0c
pipeline: send initial ttfb metrics mapping
2024-06-07 13:17:50 -07:00
Aleix Conchillo Flaqué
dc28590247
moved ParallelTask to pipecat.pipeline.parallel_task
2024-06-07 13:17:50 -07:00
Aleix Conchillo Flaqué
139f158ea1
Merge pull request #219 from pipecat-ai/aleix/switch-voices
...
switch voices and languages
2024-06-08 04:13:25 +08:00
Aleix Conchillo Flaqué
4b2a18837f
services(whisper): add text logging
2024-06-07 13:12:51 -07:00
Aleix Conchillo Flaqué
b4340d0185
services(whisper): increase no speech probability to 0.4
2024-06-07 13:12:21 -07:00
Aleix Conchillo Flaqué
90d11398e6
examples: add 15a-switch-languages
2024-06-07 13:12:21 -07:00
Aleix Conchillo Flaqué
bf8c73b25b
examples: add 15-switch-voices
2024-06-07 13:12:21 -07:00
Aleix Conchillo Flaqué
21cd21de1b
processors(filters): add FunctionFilter
2024-06-07 13:12:18 -07:00
Aleix Conchillo Flaqué
c25f6e56e7
Merge pull request #217 from pipecat-ai/khk-tts-timings
...
Added TTFB timings for all TTS services
2024-06-07 05:42:52 +08:00
Aleix Conchillo Flaqué
a1f1d1995c
transports: allow sending metrics
2024-06-06 14:35:34 -07:00
Aleix Conchillo Flaqué
390582d7f3
services: use start/stop_ttfb_metrics to report TTFB metrics
2024-06-06 14:00:10 -07:00
Aleix Conchillo Flaqué
e765a29ca2
processors: implement base process_frame(). all subsclassed should call it
2024-06-06 10:54:21 -07:00
Kwindla Hultman Kramer
cf5c244487
Merge branch 'main' into khk-tts-timings
2024-06-06 13:05:42 -04:00
Kwindla Hultman Kramer
a5eb30a93d
changelog
2024-06-06 11:49:05 -04:00
Kwindla Hultman Kramer
ac7bc35944
azure tts ttfb
2024-06-06 11:45:48 -04:00
Kwindla Hultman Kramer
ddfd721f6e
openai tts ttfb
2024-06-06 11:32:47 -04:00
Kwindla Hultman Kramer
aee3916cd1
cartesia async fixed
2024-06-06 11:24:26 -04:00
Kwindla Hultman Kramer
3eff1e559b
pipecat async working, but maybe needs a threaded implementation
2024-06-06 11:11:06 -04:00
Kwindla Hultman Kramer
1a542c91fa
temp commit, woring on playht
2024-06-06 10:48:22 -04:00
Aleix Conchillo Flaqué
cd60a84f8a
Merge pull request #215 from pipecat-ai/aleix/silero-vad-memory-fix
...
vad(silero): fix memory issue
2024-06-06 05:50:47 +08:00
Aleix Conchillo Flaqué
3dd4bac6e6
vad(silero): fix memory issue
2024-06-05 14:50:28 -07:00
Kwindla Hultman Kramer
06ff9cfede
added timing logs for cartesia, deepgram, elevenlabs
2024-06-05 16:12:10 -04:00
Aleix Conchillo Flaqué
2d1ed9a304
Merge pull request #214 from pipecat-ai/aleix/pipecat-0.0.27
...
transports(daily): added participants() and participant_counts()
2024-06-06 03:15:34 +08:00
Aleix Conchillo Flaqué
50b51c05f6
transports(daily): added participants() and participant_counts()
2024-06-05 12:14:00 -07:00
Aleix Conchillo Flaqué
5ce4b8dd5b
update CHANGELOG with OpenAITTSService
2024-06-05 11:44:24 -07:00
Aleix Conchillo Flaqué
2f4467b5a5
Merge pull request #213 from pipecat-ai/aleix/pipecat-0.0.26
...
update CHANGELOG for 0.0.26
2024-06-06 01:10:01 +08:00
Aleix Conchillo Flaqué
e91ab54a69
update CHANGELOG for 0.0.26
2024-06-05 10:07:45 -07:00
Aleix Conchillo Flaqué
6a33432c82
Merge pull request #212 from pipecat-ai/aleix/make-pinlesscallupdate-public
...
transports(daily): move pinlessCallUpdate to public api
2024-06-05 23:14:14 +08:00
Aleix Conchillo Flaqué
135654a080
transports(daily): move pinlessCallUpdate to public api
2024-06-05 08:08:56 -07:00
Aleix Conchillo Flaqué
7b708a2bee
Merge pull request #211 from pipecat-ai/aleix/base-transport-async
...
various fixes and improvements
2024-06-05 22:57:35 +08:00
Aleix Conchillo Flaqué
b515c28417
services(cartesia): allow output_format and model_id
2024-06-04 19:24:33 -07:00
Aleix Conchillo Flaqué
854ffb0323
update CHANGELOG for DailyRESTHelper
2024-06-04 15:45:17 -07:00
Aleix Conchillo Flaqué
891b7b22ea
transports: push EndFrame/CancelFrame before stopping push task
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
c8d37a7227
pipeline(runner): add support for SIGTERM
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
489060881d
update macos-py3.10-requirements
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
d56a4cce1b
update CHANGELOG with latest changes
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
7eb9dfde38
pyproject: include langchain-community and langchain-openai
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
571e10f83e
services(anthropic): fix interruptions with anthropic
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
af202d4fe5
pipeline(task): introduce has_finished()
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
4057fbbcfd
transports(tk): fix pyaudio output stream cleanup
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
5cdb8a79a1
examples: use camera_out_is_live for live video
2024-06-04 15:43:54 -07:00
Aleix Conchillo Flaqué
a674b43243
transport: remove redundant camera thread and switch audio pull for push
2024-06-04 15:43:54 -07:00
Jon Taylor
ac41f13b7c
Merge pull request #205 from pipecat-ai/daily_rest_helpers
...
Created REST helpers for Daily covering commonly used methods for running / deployment
2024-06-04 22:26:39 +02:00
Jon Taylor
003b9887b1
made sip and sipuri optional and None
2024-06-04 19:03:58 +02:00
Jon Taylor
ba45c2ab5b
addressed review (urllib import and linting
2024-06-04 18:39:35 +02:00
Aleix Conchillo Flaqué
9d36a48a80
Merge pull request #208 from pipecat-ai/aleix/cartesia-voice-load-startup
...
services(cartesia): load voices on startup
2024-06-04 22:54:25 +08:00
Aleix Conchillo Flaqué
20a525635e
Merge pull request #201 from TomTom101/TomTom101/openai_tts
...
Added OpenAI TTS (#196 )
2024-06-04 22:53:56 +08:00
Aleix Conchillo Flaqué
659eceea95
services(cartesia): load voices on startup
2024-06-03 14:08:04 -07:00
TomTom101
d462c03d00
chore: Review comments
2024-06-03 20:13:15 +02:00
Jon Taylor
6591e07eb4
removed hardcoded 'https' from API url
2024-06-03 19:32:14 +02:00
Aleix Conchillo Flaqué
fe71825954
Merge pull request #206 from pipecat-ai/aleix/fix-deepgram-tts
...
services(deepgram): fixed DeepgramTTSService
2024-06-04 00:28:53 +08:00
Aleix Conchillo Flaqué
43516f84fe
services(deepgram): fixed DeepgramTTSService
2024-06-03 07:53:46 -07:00
Jon Taylor
0849edb00b
added Daily REST helpers file for common methods used in Pipecat bots
2024-06-03 16:38:13 +02:00
Aleix Conchillo Flaqué
dd3b4083eb
Merge pull request #204 from TomTom101/TomTom101/langchain
...
fix: Fixed imports, support new PipelineParams
2024-06-03 03:16:30 +08:00
TomTom101
89673a4040
test(langchain): Use new PipelineParams in test
2024-06-02 20:19:55 +02:00
TomTom101
410dbd3dfc
fix: Fixed imports, support new PipelineParams
2024-06-02 20:16:11 +02:00
TomTom101
7085b1ea3f
doc(openai): Added hint re the 24kHz sample rate
2024-06-01 20:35:46 +02:00
TomTom101
8683cae719
feat: OpenAITTS
2024-06-01 10:13:28 +02:00
Aleix Conchillo Flaqué
0197efa524
Merge pull request #200 from pipecat-ai/aleix/changelog-0.0.25
...
update CHANGELOG.md for version 0.0.25
2024-06-01 07:48:42 +08:00
Aleix Conchillo Flaqué
16e76caa33
update CHANGELOG.md for version 0.0.25
2024-05-31 16:48:03 -07:00
Aleix Conchillo Flaqué
1f5240694d
Merge pull request #199 from pipecat-ai/aleix/langchain-changelog
...
move LangchainProcessor to processors/frameworks and update CHANGELOG
2024-06-01 07:46:51 +08:00
Aleix Conchillo Flaqué
f087151db7
move LangchainProcessor to processors/frameworks and update CHANGELOG
2024-05-31 16:45:39 -07:00
Aleix Conchillo Flaqué
0b691ff597
Merge pull request #198 from pipecat-ai/aleix/websocket-transport
...
websocket transport support
2024-06-01 04:40:39 +08:00
TomTom101
ae049961b7
wip: untested
2024-05-31 22:30:52 +02:00
Aleix Conchillo Flaqué
0d6eee705f
Merge pull request #190 from TomTom101/TomTom101/langchain
...
Langchain service
2024-06-01 04:21:12 +08:00
Aleix Conchillo Flaqué
58d20ec9dc
transport(websocket-server): add on_client_disconnected
2024-05-31 12:52:43 -07:00
Aleix Conchillo Flaqué
38befe1dc1
examples(websocket): rename server.py to bot.py
2024-05-31 12:09:54 -07:00
Aleix Conchillo Flaqué
2f335100a5
remove storage folder
2024-05-31 11:54:18 -07:00
Aleix Conchillo Flaqué
3fef818843
examples(websocket-server): use VAD analyzer from transport
2024-05-31 11:54:18 -07:00
Aleix Conchillo Flaqué
428c8af77e
transports(websocket): base class from BaseInputTransport
2024-05-31 11:54:18 -07:00
Aleix Conchillo Flaqué
54fccd2e25
pipeline: cleanup processors one by one
2024-05-31 11:37:43 -07:00
Aleix Conchillo Flaqué
66c6a5dc0f
transports(websocket): base class from BaseOutputTransport
2024-05-31 11:37:43 -07:00
Aleix Conchillo Flaqué
92561ae19d
some event loop parameter updates
2024-05-31 11:37:43 -07:00
Aleix Conchillo Flaqué
b85e93410b
transports(daily): fix event handlers callback
2024-05-31 11:37:43 -07:00
Aleix Conchillo Flaqué
593993ba97
transports(base_input): remove unnecessary task
2024-05-31 11:37:41 -07:00
Aleix Conchillo Flaqué
7b8b606278
update CHANGELOG and create websocker-server instructions
2024-05-31 11:37:19 -07:00
Aleix Conchillo Flaqué
7116ad0607
examples: fix websocket-client audio playback
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
c507044277
examples: use gpt-4o model by default
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
5f45a9d90f
examples: websocket-server updates
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
e31e87aabd
transport(websocket): update audio_frame_size
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
2957416d90
serializers(protobuf): support id and name fields
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
b9b761b67a
added sample_rate and num_channels to protobuf AudioRawFrame
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
a7539e9317
transports: simplify and fix async and nested decorators
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
75575c0c68
use get_event_loop() and move event handlers to BaseTransport
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
77b3e08214
examples: add and update wbesocket eaxmples
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
956b783c1a
transports: added new WebsocketServerTransport
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
e90c080470
serializers: added BaseSerializer
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
37aabaa03a
frames: generate protobuf pb2 file for pipecat package
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
3e289a7bef
pyproject: add protobuf dependency
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
6dd5e3fdf5
dev-requirements: add grpcio-tools
2024-05-31 11:36:52 -07:00
Aleix Conchillo Flaqué
e60df3c7c0
Merge pull request #195 from pipecat-ai/aleix/function-calling-move-to-llmservice
...
function calling move to LLMService
2024-06-01 02:36:29 +08:00
Aleix Conchillo Flaqué
42f772beed
examples: some function calling examples cleanup
2024-05-31 11:36:04 -07:00
Aleix Conchillo Flaqué
3655c4a0fc
services: move function calling registration to LLMService
2024-05-31 11:36:04 -07:00
Aleix Conchillo Flaqué
012dbffd94
update CHANGELOG.md for function calling
2024-05-31 11:36:03 -07:00
TomTom101
4b39efeee3
fix(langchain): try/catch langchain import in service; Only langchain is installed with the [langchain] extra ( #190 )
2024-05-31 10:19:27 +02:00
Kwindla Hultman Kramer
19caf750fd
Merge pull request #194 from pipecat-ai/khk-cartesia-changelog
...
Added cartesia line to CHANGELOG.md
2024-05-30 14:18:41 -07:00
Kwindla Hultman Kramer
296611714f
added cartesia line to CHANGELOG.md
2024-05-30 10:41:00 -07:00
chadbailey59
4c3d19cc8b
Function calling ( #175 )
...
* added function calling code back
* removed old llm_context file
* added integration testing for openai
* added function calling example
* added function callbacks
* added function start callback
* fixup
* fixup
* added different return type support for function calling
* intake example working
* added frame loggers
* cleanup
* fixup
* Update openai.py
* removed function call frame types
* fixup
* re-added example
* renumbered wake phrase
* fixup for autopep8
* remove unused imports
2024-05-30 12:25:39 -05:00
Aleix Conchillo Flaqué
a3ba07c7a3
Merge pull request #193 from pipecat-ai/aleix/fix-camera-out-enabled-cpu
...
transport(output): fix high CPU usage with camera_out_enabled and no …
2024-05-31 01:25:06 +08:00
Kwindla Hultman Kramer
a1579808b2
Merge pull request #189 from pipecat-ai/khk-cartesia-etc
...
Cartesia TTS
2024-05-30 10:24:45 -07:00
Aleix Conchillo Flaqué
aecb9f5816
transport(output): fix high CPU usage with camera_out_enabled and no images
2024-05-30 10:18:43 -07:00
Aleix Conchillo Flaqué
a5d42a526c
Merge pull request #191 from pipecat-ai/aleix/fix-silero-vad
...
vad: fix silero vad frame processor
2024-05-30 23:25:52 +08:00
Aleix Conchillo Flaqué
a9472f8116
vad: fix silero vad frame processor
2024-05-30 07:50:58 -07:00
TomTom101
b19243ab75
fix: corrected hint to install Langchain libs
2024-05-30 10:53:42 +02:00
TomTom101
2bf094b950
test(langchain): Rewrite to unittest, make it meaningful
2024-05-30 10:43:33 +02:00
Kwindla Hultman Kramer
d5f106ae19
pr fixes
2024-05-29 23:41:35 -07:00
Kwindla Hultman Kramer
920745345a
cartesia tts support
2024-05-29 23:35:35 -07:00
TomTom101
143033d7db
fix: install langchain-community with the langchain extra
2024-05-30 03:15:14 +02:00
TomTom101
335990c145
wip: hint to install langchain_community
2024-05-30 03:15:14 +02:00
TomTom101
6d24e836b0
wip: Example using LC message history
2024-05-30 03:15:14 +02:00
TomTom101
278a2fed56
wip: First stab at langchain support
...
Is this a service or processor?
How to deal with conversation history? LC has sophisticated means of this, but might get in the way of `LLMResponseAggregator`
2024-05-30 03:15:14 +02:00
Aleix Conchillo Flaqué
c444004eec
Merge pull request #186 from pipecat-ai/aleix/update-changelog-0.0.24
...
update CHANGELOG.md 0.0.24
2024-05-29 23:23:06 +08:00
Aleix Conchillo Flaqué
72cf7896d7
update CHANGELOG.md 0.0.24
2024-05-29 08:22:33 -07:00
Aleix Conchillo Flaqué
31af5f8177
Merge pull request #182 from pipecat-ai/aleix/expo-se-dialin-ready
...
transports(daily): expose dialin-ready and handle timeouts
2024-05-29 23:05:47 +08:00
Aleix Conchillo Flaqué
6a68d9a57e
pyproject: update daily-python to 0.9.0
2024-05-28 18:30:43 -07:00
Aleix Conchillo Flaqué
39f41ab25e
transports(daily): expose dialin-ready and handle timeouts
2024-05-28 18:00:09 -07:00
Aleix Conchillo Flaqué
624cc1e987
Merge pull request #185 from pipecat-ai/aleix/add-start-recording
...
transport(daily): add start_recording, stop_recording and stop_dialout
2024-05-29 08:24:59 +08:00
Aleix Conchillo Flaqué
08a15e5cdd
transports(daily): expose on_app_message
2024-05-28 17:23:34 -07:00
Aleix Conchillo Flaqué
4cd4787e4d
transports(daily): added on_call_state_updated
2024-05-28 17:23:34 -07:00
Aleix Conchillo Flaqué
65afee2808
transport(daily): add start_recording, stop_recording and stop_dialout
2024-05-28 17:16:39 -07:00
Aleix Conchillo Flaqué
00ece864ec
Merge pull request #184 from pipecat-ai/aleix/introduce-pipelineparams
...
introduce PipelineParams
2024-05-29 08:14:58 +08:00
Aleix Conchillo Flaqué
6d6d9bea5a
introduce PipelineParams
2024-05-28 17:14:14 -07:00
Kwindla Hultman Kramer
7c213f8533
Merge pull request #183 from pipecat-ai/khk-deepgram-fix
...
moving Deepgram TTS base_url from beta to prod
2024-05-28 17:04:03 -07:00
Kwindla Hultman Kramer
3685c19b2d
moving Deepgram TTS base_url from beta to prod
2024-05-28 15:59:26 -07:00
Aleix Conchillo Flaqué
650a2b4da4
Merge pull request #174 from pipecat-ai/fix-azure-llm-service
...
services(azure): fix AzureLLMService
2024-05-25 00:27:51 +08:00
Aleix Conchillo Flaqué
afea6f38f6
examples: no need to define tts twice
2024-05-24 09:23:00 -07:00
Aleix Conchillo Flaqué
c45d428551
services(google): make api_key argument mandatory
2024-05-24 09:23:00 -07:00
Aleix Conchillo Flaqué
4e594aa9b0
services: BaseOpenAILLMService.create_client() now returns the client
2024-05-24 09:04:15 -07:00
Aleix Conchillo Flaqué
32f91c5f31
services(azure): fix AzureLLMService
...
Fixes #160
2024-05-23 16:51:04 -07:00
Aleix Conchillo Flaqué
a32ece897a
Merge pull request #179 from pipecat-ai/aleix/aiohttp-response-text
...
fix aiohttp response text
2024-05-24 07:42:05 +08:00
Aleix Conchillo Flaqué
88f6436aaa
fix aiohttp response text
2024-05-23 15:51:00 -07:00
Aleix Conchillo Flaqué
fac43cea06
Merge pull request #178 from pipecat-ai/aleix/daily-python-0.8.0-deps
...
update linux/macos requirements
2024-05-24 05:50:10 +08:00
Aleix Conchillo Flaqué
a9e6aeed54
update linux/macos requirements
2024-05-23 14:49:34 -07:00
Aleix Conchillo Flaqué
fa9f49f5bb
Merge pull request #177 from pipecat-ai/aleix/dialin-ready-missing-sipuri
...
transports(daily): fix dialin-ready event handling
2024-05-24 05:39:31 +08:00
Aleix Conchillo Flaqué
2a6183aba5
transports(daily): fix dialin-ready event handling
2024-05-23 14:38:37 -07:00
Aleix Conchillo Flaqué
b1a622971b
Merge pull request #176 from pipecat-ai/aleix/handle-dialin-ready
...
transport(daily): add support for dial-in use cases
2024-05-24 04:58:10 +08:00
Aleix Conchillo Flaqué
5b72faccb4
update CHANGELOG.md for release 0.0.22
2024-05-23 13:57:28 -07:00
Aleix Conchillo Flaqué
c8732544c7
transport(daily): add support for dial-in use cases
2024-05-23 13:56:50 -07:00
Aleix Conchillo Flaqué
d4219b16b8
Merge pull request #170 from pipecat-ai/add-daily-transport-dialout-support
...
transport(daily): add dialout support
2024-05-24 04:19:51 +08:00
Aleix Conchillo Flaqué
0c33432f64
transport(daily): update CHANGELOG.md with dialout/dialin updates
2024-05-23 13:14:34 -07:00
Aleix Conchillo Flaqué
95bd58cced
pyproject: depend on daily-python 0.8.0
2024-05-23 13:10:48 -07:00
Aleix Conchillo Flaqué
8d7d1a7e24
transport(daily): add dialin-ready event
2024-05-23 07:12:31 -07:00
Aleix Conchillo Flaqué
3768cb2f2c
transport(daily): add dialout support
2024-05-22 22:44:01 -07:00
Aleix Conchillo Flaqué
d4b2741608
Merge pull request #169 from pipecat-ai/update-changelog-0.0.21
...
update CHANGELOG.md for 0.0.21
2024-05-23 12:42:41 +08:00
Aleix Conchillo Flaqué
aef2152dcc
update CHANGELOG.md for 0.0.21
2024-05-22 21:40:29 -07:00
Aleix Conchillo Flaqué
d0b0221b97
Merge pull request #167 from pipecat-ai/khk-bump-anthropic
...
add new response frame types and vision support for anthropic
2024-05-23 12:16:55 +08:00
Kwindla Hultman Kramer
b4758cd989
update CHANGELOG.md
2024-05-22 21:14:11 -07:00
Kwindla Hultman Kramer
681250f114
add new response frame types and vision support for anthropic
2024-05-22 21:12:30 -07:00
Aleix Conchillo Flaqué
fd13d3c50e
Merge pull request #168 from pipecat-ai/transcription-logging
...
transports(daily): add transcription logging
2024-05-23 11:42:51 +08:00
Aleix Conchillo Flaqué
674b8bb0cd
transports(daily): add transcription logging
2024-05-22 20:41:34 -07:00
Aleix Conchillo Flaqué
5d9a962146
Merge pull request #166 from pipecat-ai/fix-llm-response-wake-check
...
fix llm response wake check
2024-05-23 11:35:11 +08:00
Aleix Conchillo Flaqué
e130aada72
filters(WakeCheckFilter): increase timeout to 3
2024-05-22 19:41:14 -07:00
Aleix Conchillo Flaqué
76709a9a39
enclose text between brackets when logging
2024-05-22 19:05:18 -07:00
Aleix Conchillo Flaqué
acd2d55b84
examples(14): remove commented code
2024-05-22 19:05:18 -07:00
Aleix Conchillo Flaqué
fcec0eb812
transports(base): log when user is speaking
2024-05-22 19:05:18 -07:00
Aleix Conchillo Flaqué
e9965347b5
processors(WakeCheckFilter): log what frame we are pushing
2024-05-22 19:05:18 -07:00
Aleix Conchillo Flaqué
5a83f75e0d
processors: fix user response processors
2024-05-22 19:05:18 -07:00
Aleix Conchillo Flaqué
91c706a201
Merge pull request #165 from pipecat-ai/clear-audio-output-buffer-when-interrupted
...
transport(base): clear audio output buffer if interrupted
2024-05-23 07:31:33 +08:00
Aleix Conchillo Flaqué
34384881bc
transport(base): clear audio output buffer if interrupted
2024-05-22 16:30:43 -07:00
Aleix Conchillo Flaqué
71ba28753e
Merge pull request #157 from pipecat-ai/khk-improved-wake-word
...
Improved wake word filter
2024-05-23 06:47:59 +08:00
Aleix Conchillo Flaqué
32d2f0db66
update CHANGELOG.ms with filters updates
2024-05-22 15:46:13 -07:00
Aleix Conchillo Flaqué
e1169a4e82
processors(WakeCheckFilter): push error
2024-05-22 15:44:44 -07:00
Aleix Conchillo Flaqué
0e5711e62d
examples: update 10-wake-work.py to use WakeCheckFilter
2024-05-22 15:44:44 -07:00
Aleix Conchillo Flaqué
0ddfa3de5b
move WakeCheckFilter to processors/filters
2024-05-22 15:44:43 -07:00
Kwindla Hultman Kramer
661aa79b7c
fix user_id str field name in TranscriptionFrame
2024-05-22 15:44:43 -07:00
Kwindla Hultman Kramer
2c32cc2f27
improved wake word filter
2024-05-22 15:44:43 -07:00
Aleix Conchillo Flaqué
d7bb0bc5cb
Merge pull request #164 from pipecat-ai/readd-vad-exp-smoothing
...
vad: re-add volume exponential smoothing
2024-05-23 06:44:27 +08:00
Aleix Conchillo Flaqué
d5644c3ab9
vad: re-add volume exponential smoothing
2024-05-22 15:26:32 -07:00
Aleix Conchillo Flaqué
09ab8e3efd
Merge pull request #163 from pipecat-ai/update-0.0.20-deps
...
update requirements files
2024-05-23 05:40:12 +08:00
Aleix Conchillo Flaqué
2f683529ec
update requirements files
2024-05-22 14:39:26 -07:00
Aleix Conchillo Flaqué
6ac012a82b
Merge pull request #158 from pipecat-ai/use-pyloudnorm-loudness
...
interruptions: introduce pyloudnorm to compute loudness
2024-05-23 05:24:38 +08:00
Aleix Conchillo Flaqué
075194cb54
update CHANGELOG for 0.0.20
2024-05-22 14:21:13 -07:00
Aleix Conchillo Flaqué
269f070051
audio: no need for compute_rms
2024-05-22 14:09:24 -07:00
Aleix Conchillo Flaqué
3342c9d7c2
services(stt): use calculate_audio_volume
2024-05-22 13:05:20 -07:00
Aleix Conchillo Flaqué
b468b2f926
audio: clamp normalized volume
2024-05-22 13:04:09 -07:00
Aleix Conchillo Flaqué
af1c7d0023
interruptions: introduce pyloudnorm to compute loudness
...
https://github.com/csteinmetz1/pyloudnorm
2024-05-22 11:52:07 -07:00
Aleix Conchillo Flaqué
34670eef79
Merge pull request #162 from pipecat-ai/reset-before-pushing
...
processors: reset aggergator before pushing
2024-05-23 02:51:55 +08:00
Aleix Conchillo Flaqué
979739c1b7
processors: reset aggergator before pushing
2024-05-22 11:26:08 -07:00
Aleix Conchillo Flaqué
83ed6870b9
Merge pull request #161 from pipecat-ai/only-interrupt-assistant
...
processors: only interrupt asssisstant
2024-05-23 02:02:43 +08:00
Aleix Conchillo Flaqué
57a568986a
processors: only interrupt asssisstant
...
We were pushing interruption frames in the audio task. This was caussing the
LLMUserResponseAggregator to push the accumulated text and then casuing the LLM
to respond.
2024-05-22 10:15:35 -07:00
Aleix Conchillo Flaqué
e828e26b5b
Merge pull request #159 from pipecat-ai/create-pool-executor
...
transports: run threads in their own ThreadPoolExecutor
2024-05-22 15:49:03 +08:00
Aleix Conchillo Flaqué
825738440e
transports: run threads in their own ThreadPoolExecutor
2024-05-21 18:52:27 -07:00
Aleix Conchillo Flaqué
147bd1a075
Merge pull request #156 from pipecat-ai/pipecat-0.0.19
...
update CHANGELOG.md for 0.0.19
2024-05-21 12:36:48 +08:00
Aleix Conchillo Flaqué
209e97f372
update CHANGELOG.md for 0.0.19
2024-05-20 21:33:15 -07:00
Aleix Conchillo Flaqué
47f8627432
Merge pull request #155 from pipecat-ai/llm-accumlate-full-response
...
aggregators: accumulate full responses and take interruptions into ac…
2024-05-21 11:34:39 +08:00
Aleix Conchillo Flaqué
cc6713837a
github: publish test to pypi again. simply always use PRs
2024-05-20 12:19:39 -07:00
Aleix Conchillo Flaqué
728fe0ad88
github: don't publish to test pypi twice
2024-05-20 12:15:54 -07:00
Aleix Conchillo Flaqué
dbba45349f
github: don't run publish_test on main branch
2024-05-20 12:14:00 -07:00
Aleix Conchillo Flaqué
40ccf46b4b
aggregators: accumulate full responses and take interruptions into account
2024-05-20 11:40:57 -07:00
Aleix Conchillo Flaqué
077bb9f20a
Merge pull request #153 from pipecat-ai/expose-llm-messages
...
aggregators: expose LLM messages
2024-05-21 02:40:26 +08:00
Aleix Conchillo Flaqué
e4c990c677
aggregators: expose LLM messages
2024-05-20 10:51:37 -07:00
Aleix Conchillo Flaqué
1c8b9d813a
examples: minot updates to storytelling-chatbot instructions
2024-05-20 10:31:33 -07:00
Aleix Conchillo Flaqué
83812f2671
transports(daily): implement DailyOutputTransport.send_message
2024-05-20 10:30:59 -07:00
Aleix Conchillo Flaqué
4053c33899
update CHANGELOG for 0.0.17
2024-05-19 19:27:20 -07:00
Aleix Conchillo Flaqué
03978b63bc
update linux-py3.10-requirements.txt
2024-05-19 19:27:04 -07:00
Aleix Conchillo Flaqué
bf036be6b8
Merge pull request #150 from pipecat-ai/khk-gemini
...
Initial commit of Google Gemini LLM service.
2024-05-20 10:24:31 +08:00
Kwindla Hultman Kramer
7ffb10d7f5
add to CHANGELOG.md
2024-05-19 12:44:45 -07:00
Kwindla Hultman Kramer
66377954cb
fix up openai vision and gemini implementation
2024-05-19 12:33:57 -07:00
Kwindla Hultman Kramer
e507686cef
oops, fix openai.py
2024-05-19 11:13:39 -07:00
Kwindla Hultman Kramer
e5ddaf14f4
add google and deepgram to README.md
2024-05-19 11:09:30 -07:00
Kwindla Hultman Kramer
cf597a2f6b
add back in debug log line in openai.py
2024-05-19 11:08:38 -07:00
Kwindla Hultman Kramer
d83f0aabca
generate macos-py3.10-requirements.txt with Python 3.10
2024-05-19 10:53:50 -07:00
Kwindla Hultman Kramer
b337e984b3
Initial commit of Google Gemini LLM service.
...
Gemini text input works. We translate from OpenAILLMContext format
on the fly in the GoogleLLMService implementation. This commit also
implements image input (vision) in both the GoogleLLMService and in
the OpenAILLMService. Image input is a hack and needs to be revisited.
OpenAI expects images to be uploaded as base64-encoded JPEGs. Google
does not require the base64 encoding. Other than for images, we use
the OpenAI format as our standard, but base64-encoding the images
and then unencoding them in the GoogleLLMService feels wasteful.
2024-05-19 10:35:20 -07:00
Aleix Conchillo Flaqué
6366ee072e
Merge pull request #144 from pipecat-ai/initial-interruptions
...
intial basic interruptions support
2024-05-20 01:33:15 +08:00
Aleix Conchillo Flaqué
c3bfcbd562
aggregators: clear accumulated responses if interruption happens
2024-05-19 10:21:45 -07:00
Aleix Conchillo Flaqué
c0d5054798
examples: some prompt tweaking
2024-05-19 09:41:36 -07:00
Aleix Conchillo Flaqué
810dc30d3d
examples: fix examples to use LLMFullResponseEndFrame
2024-05-19 09:39:34 -07:00
Aleix Conchillo Flaqué
36dd4933e9
example: add assistant responses to simple chatbot
2024-05-18 10:01:46 -07:00
Aleix Conchillo Flaqué
435fffe1b0
add LLMFullResponseStartFrame/LLMFullResponseEndFrame
2024-05-18 09:49:38 -07:00
Aleix Conchillo Flaqué
2b8f1c4cda
services(openai): send LLMResponseStartFrame for each completion
2024-05-17 17:47:33 -07:00
Aleix Conchillo Flaqué
0e8c7a9b28
transports(output): create an downstream push frame task
2024-05-17 17:47:24 -07:00
Aleix Conchillo Flaqué
3e13678f23
vad: use exponential smoothed volume to improve speech detection
2024-05-17 17:13:31 -07:00
Aleix Conchillo Flaqué
455ec4f1fd
services(tts): always send received TextFrame downstream
2024-05-17 17:11:11 -07:00
Aleix Conchillo Flaqué
8dc81042c3
examples: use DailyTranscriptionSettings in translation-chatbot
2024-05-17 15:37:29 -07:00
Aleix Conchillo Flaqué
c77db79447
examples: pipelines readability and add LLM assistants after transport
2024-05-17 14:52:51 -07:00
Aleix Conchillo Flaqué
de65028061
vad: reduce default confidence back to 0.5
2024-05-17 14:39:40 -07:00
Aleix Conchillo Flaqué
d66a795413
examples: use SileroVADAnalyzer instead of SileroVAD
2024-05-17 14:18:55 -07:00
Aleix Conchillo Flaqué
34762bf604
transports: allows update allow_interruptinos when receiving StartFrame
2024-05-17 14:15:37 -07:00
Aleix Conchillo Flaqué
57121338b1
pipeline(task): cleanup processors only if we need to
2024-05-17 13:53:33 -07:00
Aleix Conchillo Flaqué
a5d246ec0c
vad: use exponential smoothing to avoid sudden changes
2024-05-17 13:53:33 -07:00
Aleix Conchillo Flaqué
f2cefeeedc
utils: move exp_smoothing to utils module
2024-05-17 13:52:18 -07:00
Aleix Conchillo Flaqué
537e72a05f
vad: introduce VADParams so you can tweak things
2024-05-17 13:52:18 -07:00
Aleix Conchillo Flaqué
efa5a061d7
silero: simplify int16 -> float32 conversion
2024-05-17 13:51:06 -07:00
Aleix Conchillo Flaqué
0bef44c2ff
introduce StartInterruptionFrame and StopInterruptionFrame
2024-05-17 13:51:06 -07:00
Aleix Conchillo Flaqué
f62fe059b1
fix issues with Ctrl-C tasks cancellation
2024-05-17 13:51:04 -07:00
Aleix Conchillo Flaqué
f432e2b17e
transports: allow adding a vad analyzer to BaseInputTransport
2024-05-17 13:50:48 -07:00
Aleix Conchillo Flaqué
8c877d7d8e
examples: update 07-interruptible
2024-05-17 13:50:48 -07:00
Aleix Conchillo Flaqué
dc9377fb92
add missing queue task_done()
2024-05-17 13:50:48 -07:00
Aleix Conchillo Flaqué
7384b63b1d
initial interruptions support
2024-05-17 13:50:45 -07:00
Aleix Conchillo Flaqué
ba6ecf541f
update CHANGELOG.md for 0.0.16
2024-05-16 18:15:07 -07:00
Aleix Conchillo Flaqué
94e5709d58
Merge pull request #149 from pipecat-ai/transports-push-task
...
transport: create input transports push frame task
2024-05-17 09:14:35 +08:00
Aleix Conchillo Flaqué
add8d3cbaf
transport: create input transports push frame task
2024-05-16 16:54:39 -07:00
Aleix Conchillo Flaqué
1a42188bce
Merge pull request #146 from pipecat-ai/daily-dont-send-tracks-if-not-enabled
...
transports(daily): don't send camera/audio tracks if not enabled
2024-05-17 01:24:39 +08:00
Aleix Conchillo Flaqué
0da427e127
transports(daily): don't send camera/audio tracks if not enabled
2024-05-16 08:16:39 -07:00
Aleix Conchillo Flaqué
9447b32f3e
transports(daily): on_app_message doesn't need to be event handler
2024-05-15 17:06:47 -07:00
Aleix Conchillo Flaqué
af10adb7fe
some minor event loop updates
2024-05-15 17:00:43 -07:00
Aleix Conchillo Flaqué
129acf886f
transports(daily): hot fix for receiving transport messages
2024-05-15 17:00:04 -07:00
Aleix Conchillo Flaqué
9af3e1efac
update CHANGELOG.md for 0.0.14
2024-05-15 15:59:38 -07:00
Aleix Conchillo Flaqué
9e22a8b4ff
transports(daily): add receiving transport messages
2024-05-15 15:59:08 -07:00
Aleix Conchillo Flaqué
28da747f19
transports(daily): fix on_participant_left event
2024-05-15 15:40:31 -07:00
Aleix Conchillo Flaqué
3d6783ddb0
transports: resize output image if it doesn't match camera
2024-05-15 15:36:20 -07:00
Aleix Conchillo Flaqué
349fc526d7
transports(daily): avoid locking if no participant has joined yet
2024-05-15 15:24:58 -07:00
Aleix Conchillo Flaqué
acf6dc0a30
transports: more start and stop fixes
2024-05-15 15:23:03 -07:00
Aleix Conchillo Flaqué
3563e66ff6
transports(daily): add on_participant_left event
2024-05-15 15:20:37 -07:00
Aleix Conchillo Flaqué
8965ff27ec
examples: use DEBUG in 09-mirror.py
2024-05-14 19:25:31 -07:00
Aleix Conchillo Flaqué
86feb1e104
services: fix DailyTransport stop/cleanup ordering
2024-05-14 19:24:55 -07:00
Aleix Conchillo Flaqué
f6257a86d3
examples: re-enable audio in 09-mirror.py
2024-05-14 19:23:35 -07:00
Aleix Conchillo Flaqué
bd04ea8aca
examples: simplify 09-mirror.py
2024-05-14 19:07:19 -07:00
Aleix Conchillo Flaqué
754c1c6775
services: fixed DailyTransport output camera and audio
2024-05-14 19:07:19 -07:00
Aleix Conchillo Flaqué
0b01eb5a11
services: pass **kwargs to TTService
2024-05-14 18:46:03 -07:00
Aleix Conchillo Flaqué
6247b9df39
services: fix STTService and WhisperSTTService
2024-05-14 18:45:40 -07:00
Aleix Conchillo Flaqué
bd5344c892
services: MoondreamService model_id argument is now model
2024-05-14 18:34:10 -07:00
Aleix Conchillo Flaqué
e4fe54cd7f
vad: rename VADAnalyzer arguments
2024-05-14 18:33:17 -07:00
Aleix Conchillo Flaqué
97f9e9b042
examples: update simple-chatbot prompt
2024-05-14 15:30:31 -07:00
Aleix Conchillo Flaqué
3668eb1606
update CHANGELOG for 0.0.12
2024-05-14 14:52:08 -07:00
Aleix Conchillo Flaqué
e23addcc02
examples: update simple-chatbot with Spanish
2024-05-14 14:51:44 -07:00
Aleix Conchillo Flaqué
5147f4086e
transports(daily): add DailyTranscriptionSettings to update settings easier
2024-05-14 14:49:30 -07:00
Aleix Conchillo Flaqué
fb3c2de83f
Merge pull request #141 from pipecat-ai/add-changelog
...
add CHANGELOG.md
2024-05-15 04:47:45 +08:00
Aleix Conchillo Flaqué
107817317c
add CHANGELOG.md
2024-05-14 13:45:01 -07:00
Aleix Conchillo Flaqué
663ff3417c
examples: add missing requirements
2024-05-14 08:03:51 -07:00
Aleix Conchillo Flaqué
2b19d6bbac
examples: remove commented out silero from storytelling
2024-05-14 00:57:21 -07:00
Aleix Conchillo Flaqué
7c41246e55
examples: fix storytelling example
2024-05-14 00:32:37 -07:00
Aleix Conchillo Flaqué
11aa9dc803
pipeline: allow stopping tasks with StopTaskFrame
2024-05-14 00:30:32 -07:00
Aleix Conchillo Flaqué
922cdefee5
services: run_* now return async generators
2024-05-14 00:30:07 -07:00
Aleix Conchillo Flaqué
e018d5b47a
transports(daily): always allow capturing transcriptions
2024-05-14 00:29:02 -07:00
Aleix Conchillo Flaqué
20c679988c
transports: allow base transports to be reused
2024-05-14 00:28:43 -07:00
Aleix Conchillo Flaqué
a344101cff
README.md: s/Twitter/X/
2024-05-13 18:24:06 -07:00
Aleix Conchillo Flaqué
2cefc40a77
README.md: use http urls for images
2024-05-13 18:20:57 -07:00
Aleix Conchillo Flaqué
68f0da26b6
examples: more translation-chatbot fixes
2024-05-13 17:57:11 -07:00
Aleix Conchillo Flaqué
9aea8e951c
aggregators/sentence: ignore interim transcriptions
2024-05-13 17:56:19 -07:00
Aleix Conchillo Flaqué
12ff6d08fe
examples: fix translation-chatbot
2024-05-13 16:22:11 -07:00
Aleix Conchillo Flaqué
1b21867a6f
transports: add support for sending transport messages
2024-05-13 16:22:11 -07:00
Aleix Conchillo Flaqué
d28d0fa218
processors: add FrameProcessor.push_error
2024-05-13 16:12:35 -07:00
Aleix Conchillo Flaqué
01381f6dcd
frames: add TransportMessageFrame
2024-05-13 16:12:30 -07:00
Aleix Conchillo Flaqué
c111fff0f7
services: update azure services
2024-05-13 16:12:26 -07:00
Aleix Conchillo Flaqué
50677e6085
Merge pull request #138 from pipecat-ai/moondream-chatbot-fixes
...
examples: fix moondream-chatbot
2024-05-14 06:29:13 +08:00
Aleix Conchillo Flaqué
22cd1ac5f2
examples: fix moondream-chatbot
2024-05-13 15:28:11 -07:00
Kwindla Hultman Kramer
fdfcfd1d5e
Merge pull request #137 from rahulunair/intel_gpu
...
(feat): adding intel gpus support
2024-05-13 14:52:34 -07:00
Aleix Conchillo Flaqué
b6385be6c6
Merge pull request #136 from pipecat-ai/simple-chatbot-fixes
...
examples: fix simple-chatbot
2024-05-14 05:41:52 +08:00
rahulunair
6be88fa81b
(feat): adding intel gpus support
2024-05-13 21:21:05 +00:00
Aleix Conchillo Flaqué
ed31c7924e
examples: fix simple-chatbot
2024-05-13 13:19:11 -07:00
Jon Taylor
4898084645
Update LICENSE
2024-05-13 20:49:51 +01:00
chadbailey59
6be0751a52
Delete CNAME
2024-05-13 14:42:46 -05:00
Aleix Conchillo Flaqué
7ce1206ed4
Create CNAME
2024-05-13 12:05:08 -07:00
Jon Taylor
1b5130694a
Update README.md
2024-05-13 19:36:39 +01:00
Jon Taylor
7c6199e93e
Merge pull request #135 from pipecat-ai/jpt/devrel-edits-2
...
Jpt/devrel edits 2
2024-05-13 18:19:33 +01:00
Jon Taylor
3be742479d
removed space
2024-05-13 18:17:00 +01:00
Aleix Conchillo Flaqué
d380b02a44
README: improve code reading
2024-05-13 10:12:19 -07:00
Aleix Conchillo Flaqué
5600fc49f1
README: fix code indentation
2024-05-13 10:08:09 -07:00
Jon Taylor
5f0d8b8d9f
removed docs badge
2024-05-13 17:42:01 +01:00
Jon Taylor
8204e5c2d4
removed images
2024-05-13 17:41:03 +01:00
Jon Taylor
29b98c0326
removed images from examples readme
2024-05-13 17:40:07 +01:00
Jon Taylor
3502ef4745
Merge pull request #134 from pipecat-ai/jpt/devrel-edits
...
Added example apps to repo
2024-05-13 17:37:31 +01:00
Jon Taylor
0d28e84c59
addressed nitpicks
2024-05-13 17:37:01 +01:00
Jon Taylor
062fbf4ce3
fixed header for VAD
2024-05-13 17:20:50 +01:00
Jon Taylor
af8471b370
changed daily_url to daily_room
2024-05-13 17:20:10 +01:00
Jon Taylor
f756027333
updated text for simple example
2024-05-13 17:17:41 +01:00
Jon Taylor
65c4c0b21f
fixed typo in readme
2024-05-13 17:14:17 +01:00
Jon Taylor
f1c02f8554
added examples back
2024-05-13 17:09:46 +01:00
Jon Taylor
27ba50cbbf
updated README with sample code
2024-05-13 14:51:10 +01:00
Aleix Conchillo Flaqué
b254525d3c
go back to using @dataclass since they can be inspected
2024-05-12 22:35:43 -07:00
Aleix Conchillo Flaqué
6c06fb8169
README: update pypi badge
2024-05-12 19:28:00 -07:00
Aleix Conchillo Flaqué
721cd11d62
Merge pull request #133 from pipecat-ai/aleix/readme
...
rebased jpt/readme branch
2024-05-13 10:26:45 +08:00
Aleix Conchillo Flaqué
bfbcb9d531
fix autopep8 linting
2024-05-12 19:25:17 -07:00
Aleix Conchillo Flaqué
724e78c5be
renamed image.png to pipecat.png
2024-05-12 17:44:10 -07:00
Jon Taylor
d3c3d78855
added discord badge
2024-05-12 17:41:36 -07:00
Jon Taylor
8fa9fdcd5a
Reworked readme to have more pipes and cats
2024-05-12 17:41:30 -07:00
Aleix Conchillo Flaqué
7856d20a38
Merge pull request #132 from pipecat-ai/pypi-repo-change
...
change pypi repo to pipecat-ai
2024-05-13 03:14:40 +08:00
Aleix Conchillo Flaqué
6d10027f2d
change pypi repo to pipecat-ai
2024-05-12 12:08:43 -07:00
Aleix Conchillo Flaqué
bea31215dc
Merge pull request #129 from daily-co/wip-proposal
...
pipecat proposal
2024-05-13 01:13:18 +08:00
Aleix Conchillo Flaqué
083480ca1e
update macos-py3.10-requirements.txt
2024-05-12 10:10:35 -07:00
Aleix Conchillo Flaqué
65846330cf
update linux-py3.10-requirements.txt
2024-05-12 10:09:04 -07:00
Aleix Conchillo Flaqué
29f48266f7
README: install dev-requirements.txt first
2024-05-12 10:07:54 -07:00
Aleix Conchillo Flaqué
bfd583211c
examples: use LocalAudioTransport
2024-05-12 10:07:54 -07:00
Aleix Conchillo Flaqué
b026915d19
initial commit for new pipecat architecture
2024-05-12 10:07:25 -07:00
Aleix Conchillo Flaqué
4a0836dc8f
Merge pull request #130 from daily-co/dependabot-05-06-24
...
dependabot: update packages 05-06-24
2024-05-07 08:14:38 +08:00
Aleix Conchillo Flaqué
2729c6bf5b
dependabot: update packages 05-06-24
2024-05-06 15:33:33 -07:00
Aleix Conchillo Flaqué
712a889121
Merge pull request #128 from daily-co/pillow-security-fixes
...
pyproject: pillow security fixes
2024-04-23 01:51:49 +08:00
Aleix Conchillo Flaqué
2f341e4fb0
pyproject: pillow security fixes
2024-04-22 10:28:42 -07:00
Kwindla Hultman Kramer
24198ecf45
Merge pull request #126 from daily-co/jptaylor-patch-3
...
Update README.md
2024-04-12 23:10:30 -07:00
Jon Taylor
7e4fefe958
Update README.md
2024-04-12 22:45:30 -07:00
Jon Taylor
e9af39b85f
Merge pull request #125 from daily-co/jptaylor-patch-2
...
Update README.md
2024-04-12 22:44:14 -07:00
Jon Taylor
38aa3cebb4
Update README.md
2024-04-12 22:42:11 -07:00
Jon Taylor
72724365a0
Merge pull request #124 from daily-co/jptaylor-patch-1
...
Update README.md
2024-04-12 22:40:29 -07:00
Jon Taylor
5368462e41
Update README.md
2024-04-12 22:28:40 -07:00
Jon Taylor
1b2b29dd18
Merge pull request #123 from daily-co/jpt/pypi-badge
...
added pypi badge
2024-04-12 07:33:26 -07:00
Kwindla Hultman Kramer
d2b2b6f619
Merge pull request #122 from daily-co/kwindla-patch-1
...
Update README.md
2024-04-11 21:34:37 -07:00
Jon Taylor
54bcb52129
added pypi badge
2024-04-11 21:34:27 -07:00
Kwindla Hultman Kramer
3dc7438bc8
Update README.md
2024-04-11 21:05:27 -07:00
Aleix Conchillo Flaqué
523bb9f2a2
Merge pull request #120 from daily-co/small-fireworks-fixes
...
minor fireworks updates
2024-04-12 06:35:57 +08:00
Aleix Conchillo Flaqué
0c2b3f8b65
minor fireworks updates
2024-04-11 15:34:23 -07:00
chadbailey59
0b7578056d
added fireworks adapter ( #118 )
2024-04-11 17:15:02 -05:00
Aleix Conchillo Flaqué
f1b6b9f8e5
Merge pull request #119 from daily-co/use-new-fal-client-library
...
services: FalImageGenService now uses fal-client library
2024-04-12 05:59:58 +08:00
Aleix Conchillo Flaqué
cbc51babbe
services: use asyncio to_thread in moondreamservice
2024-04-11 14:22:44 -07:00
Aleix Conchillo Flaqué
b0faafc184
update macos-py3.10 requirements
2024-04-11 14:16:19 -07:00
Aleix Conchillo Flaqué
103092dbb2
update linux-py3.10 requirements
2024-04-11 14:13:59 -07:00
Aleix Conchillo Flaqué
7b49c9ade3
services: FalImageGenService now uses fal-client library
2024-04-11 14:09:01 -07:00
Aleix Conchillo Flaqué
1e83a405c0
Merge pull request #117 from daily-co/llm-use-aggregator-pass-through-fix
...
aggregators: fix LLMUserResponseAggregator passs-through
2024-04-12 04:24:56 +08:00
Aleix Conchillo Flaqué
7336866a1c
examples: rely on new daily default transcription settings
2024-04-11 11:22:58 -07:00
Aleix Conchillo Flaqué
0f23282e30
transport: enable interim results in daily transport
2024-04-11 11:22:05 -07:00
Aleix Conchillo Flaqué
eb3bf117b1
use InterimTranscriptionFrame in LLMUserResponseAggregator
2024-04-11 11:21:42 -07:00
Aleix Conchillo Flaqué
e288aa047b
examples: use LLMUserResponseAggregator with VAD
2024-04-11 08:10:56 -07:00
Aleix Conchillo Flaqué
9a9df35d7b
aggregators: allow TranscriptionFrame after an end frame threshold
2024-04-10 23:35:31 -07:00
Aleix Conchillo Flaqué
af8663e95d
aggregators: fix LLMUserResponseAggregator passs-through
2024-04-10 21:46:16 -07:00
Aleix Conchillo Flaqué
db05a9b29b
Merge pull request #116 from daily-co/moondream-use-cpu
...
moondream: allow passing use_cpu
2024-04-11 09:08:11 +08:00
Aleix Conchillo Flaqué
130e418800
moondream: allow passing use_cpu
2024-04-10 17:43:44 -07:00
Aleix Conchillo Flaqué
1a0a66e503
Merge pull request #114 from daily-co/jpt/fal-updates
...
Updated Fal.ai service to take a params model and allow for model string param
2024-04-11 00:47:33 +08:00
Aleix Conchillo Flaqué
e22babbae2
examples: update with new FalImageGenService parameters
2024-04-10 09:45:08 -07:00
Aleix Conchillo Flaqué
bfe2e0f36e
services: don't use image_size in ImageGenService
2024-04-10 09:44:42 -07:00
Aleix Conchillo Flaqué
26d401e5de
Merge pull request #115 from daily-co/add-vision-and-moondream-service
...
add vision and moondream service
2024-04-11 00:22:26 +08:00
Aleix Conchillo Flaqué
3c20f9153d
added VisionImageFrame and VisionImageFrameAggregator
2024-04-10 09:19:34 -07:00
Aleix Conchillo Flaqué
2f9899af5a
update macos-py3.10 requirements
2024-04-09 22:39:04 -07:00
Aleix Conchillo Flaqué
5ef5cf30f4
update linux-py3.10 requirements
2024-04-09 22:36:35 -07:00
Aleix Conchillo Flaqué
34a6c5691b
examples: added 12-describe-video
2024-04-09 22:36:35 -07:00
Aleix Conchillo Flaqué
18bf09c704
services: added MoondreamService
2024-04-09 22:36:35 -07:00
Aleix Conchillo Flaqué
84cfa7cc95
services: added VisionService
2024-04-09 22:36:35 -07:00
Aleix Conchillo Flaqué
a5eba0106b
transport: allow requesting a user frame
2024-04-09 22:36:35 -07:00
Aleix Conchillo Flaqué
b117a185e3
frames: added UserImageRequestFrame
2024-04-09 22:14:54 -07:00
Aleix Conchillo Flaqué
0219230827
Merge pull request #113 from daily-co/aleix/only-subcribe-to-participant
...
only subcribe to participant
2024-04-10 10:47:29 +08:00
Aleix Conchillo Flaqué
9fcbb36997
examples: add 14a-local-render-remote-participant
2024-04-09 19:46:10 -07:00
Aleix Conchillo Flaqué
0bf15fd6eb
daily: only subscribe to participant video source
2024-04-09 19:46:10 -07:00
Aleix Conchillo Flaqué
989252bb52
daily: always check camera/mic/speaker enabled
2024-04-09 19:46:10 -07:00
Jon Taylor
7b44a79a5b
added params and model attribute to fal service
2024-04-09 17:43:27 -07:00
Aleix Conchillo Flaqué
4bd29b0080
Merge pull request #110 from daily-co/compatible-versions
...
pyproject: use compatible version
2024-04-10 00:41:22 +08:00
Aleix Conchillo Flaqué
ebb76fdae9
update macos-py3.10 requirements
2024-04-09 08:52:37 -07:00
Aleix Conchillo Flaqué
5d52def0fe
update linux-py3.10 requirements
2024-04-09 08:49:41 -07:00
Aleix Conchillo Flaqué
9ada56d0b0
pyproject: use compatible version
2024-04-09 08:41:54 -07:00
Aleix Conchillo Flaqué
8d73cdb2ee
Merge pull request #111 from daily-co/user-transcription-aggregator
...
pipeline: add UserTranscriptionAggregator
2024-04-09 23:34:52 +08:00
Aleix Conchillo Flaqué
4f04b10202
Merge pull request #112 from daily-co/user-image-frame
...
user image frames and other updates
2024-04-09 23:34:32 +08:00
Aleix Conchillo Flaqué
97b923e37e
llm user and assistant aggregator renames
2024-04-09 08:31:48 -07:00
Aleix Conchillo Flaqué
57aabea0a3
examples: added 14-render-remote-participant
2024-04-09 08:01:14 -07:00
Aleix Conchillo Flaqué
319b8e7816
updated ImageFrame and added URLImageFrame and UserImageFrame
2024-04-08 23:23:33 -07:00
Aleix Conchillo Flaqué
96950ca6df
daily: on_first_other_participant_joined now gets the participant
2024-04-08 23:23:33 -07:00
Aleix Conchillo Flaqué
d7b2e67c35
pipeline: add UserTranscriptionAggregator
2024-04-08 17:15:14 -07:00
Aleix Conchillo Flaqué
53930b47a5
github: just some rewording
2024-04-06 18:03:53 -07:00
Aleix Conchillo Flaqué
86c8ab02cc
github: also publish stables releases to test pypi
2024-04-06 17:58:13 -07:00
Aleix Conchillo Flaqué
b678097f6d
Merge pull request #109 from daily-co/only-use-fps
...
transport: only use fps to set maxFramerate
2024-04-07 07:02:44 +08:00
Aleix Conchillo Flaqué
eb455043c4
transport: use camera_bitrate and camera_framerate
2024-04-06 12:27:05 -07:00
Aleix Conchillo Flaqué
dd696be04c
Merge pull request #108 from daily-co/add-camera-max-framerate
...
transport: add camera_max_framerate argument
2024-04-06 11:18:42 +08:00
Aleix Conchillo Flaqué
96b2337183
transport: add camera_max_framerate argument
2024-04-05 20:16:03 -07:00
Aleix Conchillo Flaqué
ea52e73f57
Merge pull request #107 from daily-co/increase-max-framerate
...
transport: increase daily maxFramerate to 30
2024-04-06 11:08:21 +08:00
Aleix Conchillo Flaqué
88404e4739
Merge pull request #106 from daily-co/updated-to-be-updated-examples
...
examples: updated to_be_updated examples
2024-04-06 11:06:30 +08:00
Aleix Conchillo Flaqué
0fd323714e
transport: add camera_max_bitrate argument
2024-04-05 20:05:58 -07:00
Aleix Conchillo Flaqué
a362ca4d3d
transport: increase daily maxFramerate to 30
2024-04-05 19:44:25 -07:00
Aleix Conchillo Flaqué
02b5c3dd5f
update dot-env.template
2024-04-05 16:16:56 -07:00
Aleix Conchillo Flaqué
497a09cbc8
examples: updated to_be_updated examples
2024-04-05 16:01:23 -07:00
Aleix Conchillo Flaqué
172a14245d
Merge pull request #104 from daily-co/threaded-transport-allow-sink-override
...
examples: fix whisper examples
2024-04-06 04:46:12 +08:00
Aleix Conchillo Flaqué
302246399b
Merge pull request #105 from daily-co/local-tranport-read-audio-frames
...
transports: fix local transport read_audio_frames
2024-04-06 04:44:37 +08:00
Aleix Conchillo Flaqué
9590cc2fbc
examples: fix whisper examples
2024-04-05 13:43:51 -07:00
Aleix Conchillo Flaqué
09e4044c72
transports: fix local transport read_audio_frames
2024-04-05 13:34:01 -07:00
Aleix Conchillo Flaqué
efdfb74dc3
github: increase fetch-depth to 100 for test publish
2024-04-05 08:32:29 -07:00
Aleix Conchillo Flaqué
158de6f20b
github: fetch-tags and increase fetch-depth for test publish
2024-04-05 08:25:37 -07:00
Aleix Conchillo Flaqué
47f68b742d
pyproject: user proper environment for test pypi
2024-04-05 08:02:45 -07:00
Aleix Conchillo Flaqué
2654ca1f62
pyproject: don't use local version for test pypi
2024-04-05 07:51:52 -07:00
Aleix Conchillo Flaqué
4263827ee8
README: use double-quotes with optional dependencies
2024-04-04 17:47:16 -07:00
Aleix Conchillo Flaqué
97fe529b0e
github: update test publish workflow
2024-04-04 17:41:31 -07:00
Aleix Conchillo Flaqué
86025723e7
github: one more publish workflow fix
2024-04-04 17:36:20 -07:00
Aleix Conchillo Flaqué
6f4270a552
github: avoid caching in publish workflow
2024-04-04 17:32:50 -07:00
Aleix Conchillo Flaqué
31f050c02b
github: more publish workflows fixes
2024-04-04 17:31:59 -07:00
Aleix Conchillo Flaqué
a0fe57721b
github: fix publish workflows
2024-04-04 17:17:15 -07:00
Aleix Conchillo Flaqué
abf5e57319
Merge pull request #103 from daily-co/aleix/fix-github-cache-name
...
github: fix github cache name
2024-04-05 08:03:15 +08:00
Aleix Conchillo Flaqué
44de9007c3
Merge pull request #102 from daily-co/examples-cleanup
...
examples cleanup
2024-04-05 08:02:57 +08:00
Aleix Conchillo Flaqué
46d265514e
pyproject: update github url
2024-04-04 15:52:28 -07:00
Aleix Conchillo Flaqué
9e64de8606
Merge pull request #101 from daily-co/cb/bot-exit
...
Allow transport exit to end a running pipeline
2024-04-05 06:51:06 +08:00
Aleix Conchillo Flaqué
1ea503c1e6
examples: fix 03a-image-local
2024-04-04 15:35:58 -07:00
Aleix Conchillo Flaqué
d0aeeccb68
github: fix github cache name
2024-04-04 14:36:04 -07:00
Aleix Conchillo Flaqué
d687c8cdeb
transports: updated silero vad not found message
2024-04-04 14:05:40 -07:00
Aleix Conchillo Flaqué
951f20c788
transports: don't write/read if microphone/speaker not enabled
2024-04-04 14:05:15 -07:00
Aleix Conchillo Flaqué
982c0a0749
examples: move non-working examples to to_be_updated
2024-04-04 14:04:53 -07:00
Chad Bailey
27cef7cd70
add endframe to transport receive queue
2024-04-04 20:45:23 +00:00
chadbailey59
03ea208361
VAD fallback ( #97 )
...
* Silero VAD preferred with webrtc fallback
* webrtc VAD neds a different sample size
* fixup
* fixup
2024-04-04 13:31:07 -05:00
Aleix Conchillo Flaqué
385b51ac83
Merge pull request #98 from daily-co/use-pip-features
...
use pip optional dependencies
2024-04-05 01:00:21 +08:00
Aleix Conchillo Flaqué
a37e4fabad
github: only run publish-test on main
2024-04-04 09:58:42 -07:00
Aleix Conchillo Flaqué
8bc3c03a69
add a requirements.txt per platform
2024-04-03 21:39:10 -07:00
Aleix Conchillo Flaqué
1fc800754b
github: no need to install dependencies when building/deploying
2024-04-03 16:26:58 -07:00
Aleix Conchillo Flaqué
18c4bccc13
github: rename deploy to publish
2024-04-03 16:22:23 -07:00
Aleix Conchillo Flaqué
d57d473c13
pyproject.toml: use setuptools_scm to auto manage versions
2024-04-03 16:13:07 -07:00
Aleix Conchillo Flaqué
48bb3c6955
github: add publish to pypi workflows
2024-04-03 15:57:59 -07:00
Aleix Conchillo Flaqué
e3ee3f9cc6
github(lint): use requirements-dev.txt
2024-04-03 15:27:31 -07:00
Aleix Conchillo Flaqué
3528f5d735
use conditional imports and show help errors if modules not found
2024-04-03 15:27:31 -07:00
Aleix Conchillo Flaqué
23735cb3a3
dot-env.example: cleanup and add missing environment variables
2024-04-03 15:27:31 -07:00
Aleix Conchillo Flaqué
6918dc69f0
github: separate build and test workflows
2024-04-03 15:27:31 -07:00
Aleix Conchillo Flaqué
128d350abc
pyproject.toml: use project optional dependencies and pin them
2024-04-03 15:27:31 -07:00
chadbailey59
2f59e38a7a
Modularize tricky dependencies ( #95 )
...
* removed pyaudio from threaded transport
* modularized torch and torchaudio
* modularized local transport
* Working Dockerfile as well
* docker updates for fly.io
2024-04-03 10:48:11 -05:00
chadbailey59
c21014860f
Added app messages to translator example ( #94 )
2024-04-01 14:25:20 -05:00
chadbailey59
d4e3e1710f
Server updates ( #90 )
...
* updated server readme
* fixup
* Refactored server
* fixup
2024-03-28 15:03:08 -05:00
Moishe Lettvin
e7f9296b5a
Merge pull request #93 from daily-co/frame-name-cleanup
...
Cleanup the last few badly-named Frame types
2024-03-28 14:25:59 -04:00
Moishe Lettvin
27322108b7
Cleanup the last few badly-named Frame types
2024-03-28 12:36:24 -04:00
Moishe Lettvin
22bbedec93
Merge pull request #92 from daily-co/remove-bad-print
...
Remove mistakenly-added print statement
2024-03-28 11:54:49 -04:00
Moishe Lettvin
ed91bc0f66
Remove mistakenly-added print statement
2024-03-28 11:47:11 -04:00
Moishe Lettvin
565acfa9c9
Merge pull request #86 from daily-co/transport-refactor
...
Starting refactor of transports into their own directory
2024-03-28 11:17:32 -04:00
Moishe Lettvin
a2295b6b1d
Merge pull request #91 from daily-co/pipeline-logging
...
Add logging for pipeline
2024-03-28 11:16:26 -04:00
Moishe Lettvin
fef1366c84
Merge pull request #88 from daily-co/frame-progress-diagram
...
Frame progress diagram
2024-03-28 11:13:21 -04:00
Moishe Lettvin
5c0ba1b6f0
Fix off by one errors, add tests and comment
2024-03-28 08:34:34 -04:00
Moishe Lettvin
05c77bce25
Add logging for pipeline
2024-03-27 18:48:30 -04:00
Moishe Lettvin
4ce140bf84
Move some things to AbstractTransport class
2024-03-27 12:59:08 -04:00
James Hush
a3293c6d7a
fix: force overriding environment variables from .env files ( #89 )
2024-03-27 23:38:55 +08:00
Moishe Lettvin
ce04d4a54a
Add text to md
2024-03-27 08:10:14 -04:00
Moishe Lettvin
758ed2d895
Frame progress images
2024-03-26 20:40:10 -04:00
Moishe Lettvin
85cd795b2b
fix image
2024-03-26 20:36:18 -04:00
Moishe Lettvin
6c36d5f686
Testing
2024-03-26 20:33:09 -04:00
Moishe Lettvin
b2425d6dcd
Testing
2024-03-26 20:32:32 -04:00
Moishe Lettvin
e8a6560ac1
Merge forgotten files
2024-03-26 16:24:47 -04:00
Moishe Lettvin
78c80d8941
some more renames
2024-03-26 15:57:19 -04:00
Moishe Lettvin
2fc5de6afe
Starting refactor of transports into their own directory
2024-03-26 08:35:04 -04:00
Moishe Lettvin
24fb7c5a05
Merge pull request #81 from daily-co/websocket-transport
...
Websocket transport
2024-03-25 14:40:34 -04:00
Moishe Lettvin
5761e23af1
remove unnecessary checks
2024-03-25 14:00:08 -04:00
Moishe Lettvin
960c659d5a
Remove duplicated constant
2024-03-25 13:59:03 -04:00
Moishe Lettvin
2bda4c3307
Websocket transport
2024-03-25 13:54:34 -04:00
Aleix Conchillo Flaqué
2c5628a621
Merge pull request #85 from daily-co/minor-readme-update
...
README: minor fixes
2024-03-22 04:33:42 +08:00
Aleix Conchillo Flaqué
9b4cfd9a6c
README: minor fixes
2024-03-21 13:16:50 -07:00
Aleix Conchillo Flaqué
8f9aeb0751
Merge pull request #82 from daily-co/remove-unused-imports
...
remove unused imports
2024-03-22 03:02:07 +08:00
Aleix Conchillo Flaqué
e8a9d43287
Merge pull request #84 from daily-co/use-openai-api-key
...
use OPENAI_API_KEY instead of OPENAI_CHATGPT_API_KEY
2024-03-21 21:57:40 +08:00
Aleix Conchillo Flaqué
cf5d516d51
use OPENAI_API_KEY instead of OPENAI_CHATGPT_API_KEY
...
Fixes #77
2024-03-20 15:26:32 -07:00
Aleix Conchillo Flaqué
0666dd1194
remove unused imports
2024-03-20 14:52:19 -07:00
Aleix Conchillo Flaqué
42e25ccd13
create missing __init__.py
2024-03-20 14:41:39 -07:00
Aleix Conchillo Flaqué
520cee273f
Merge pull request #80 from daily-co/move-src-daily-tests-to-tests
...
move src/dailyai/tests to tests
2024-03-21 00:27:07 +08:00
Aleix Conchillo Flaqué
a189e2618f
github: source venv in every step
2024-03-19 15:31:03 -07:00
Aleix Conchillo Flaqué
ae2dcf88ed
github: use virtual environment
2024-03-19 15:23:09 -07:00
Aleix Conchillo Flaqué
5cdb82ad3c
README: one more autopep8 emacs update
2024-03-19 15:18:29 -07:00
Aleix Conchillo Flaqué
593513c84a
github: add venv caching
2024-03-19 15:17:48 -07:00
Aleix Conchillo Flaqué
16257f8ec0
move src/dailyai/tests to tests
2024-03-19 14:59:48 -07:00
Aleix Conchillo Flaqué
5fc21a7508
Merge pull request #73 from daily-co/github-unittests-workflow
...
github: add workflow for unit tests
2024-03-20 03:01:03 +08:00
Aleix Conchillo Flaqué
cc05429135
github: add workflow for unit tests
2024-03-19 11:51:14 -07:00
Aleix Conchillo Flaqué
85e66dddbe
Merge pull request #79 from daily-co/readme-emacs-autopep8-update
...
README: emacs autopep8 update
2024-03-20 02:17:44 +08:00
Aleix Conchillo Flaqué
03ea559839
README: emacs autopep8 update
2024-03-19 10:28:11 -07:00
Aleix Conchillo Flaqué
b6c9859e34
Merge pull request #78 from daily-co/readme-editor-setup
...
README: add editor setup
2024-03-20 01:10:57 +08:00
Aleix Conchillo Flaqué
bc47c909a3
README: add editor setup
2024-03-19 10:10:14 -07:00
Aleix Conchillo Flaqué
428659730d
Merge pull request #70 from daily-co/move-src-example-to-examples
...
move src/examples to examples
2024-03-20 01:09:13 +08:00
Aleix Conchillo Flaqué
a573277a10
examples: copy runner.py and auth.py where needed
2024-03-18 17:10:23 -07:00
Aleix Conchillo Flaqué
69c2637a25
README.md: update examples
2024-03-18 14:53:53 -07:00
Aleix Conchillo Flaqué
90c34d278f
move src/examples to examples
2024-03-18 11:51:38 -07:00
Aleix Conchillo Flaqué
2f4e31d1b2
Merge pull request #69 from daily-co/add-github-linting-workflow
...
github: add linting workflow
2024-03-19 02:46:50 +08:00
Aleix Conchillo Flaqué
9385270775
autopep8 formatting
2024-03-18 11:28:32 -07:00
Aleix Conchillo Flaqué
2914e43350
github: add linting workflow
2024-03-18 11:28:06 -07:00
chadbailey59
78638d2dba
Live translation ( #61 )
...
* added translator
* fixup
2024-03-18 13:26:05 -05:00
Aleix Conchillo Flaqué
141a5bb548
Merge pull request #68 from daily-co/log-transcription-errors
...
daily: log transcription errors
2024-03-19 01:53:40 +08:00
Aleix Conchillo Flaqué
3957813202
Merge pull request #67 from daily-co/add-dot-env-template
...
add dot-env.template
2024-03-19 01:49:21 +08:00
Aleix Conchillo Flaqué
549862ef99
daily: log transcription errors
2024-03-18 10:47:20 -07:00
Aleix Conchillo Flaqué
1000ca5b55
add dot-env.template
2024-03-18 10:43:57 -07:00
Moishe Lettvin
91dbfef4c3
Merge pull request #64 from daily-co/docs
...
Some docs
2024-03-18 13:38:32 -04:00
Moishe Lettvin
3b61d0b41a
fix typos
2024-03-18 13:38:00 -04:00
Moishe Lettvin
bf3ae091b9
Merge pull request #62 from daily-co/anthropic-support
...
Anthropic LLM service
2024-03-18 13:36:39 -04:00
Aleix Conchillo Flaqué
34ac796607
Merge pull request #66 from daily-co/daily-transport-release-client
...
services: release daily client after leave
2024-03-19 01:36:22 +08:00
Aleix Conchillo Flaqué
e0551e9d85
services: release daily client after leave
2024-03-18 10:32:46 -07:00
Moishe Lettvin
b1ab6f91b9
Merge pull request #65 from daily-co/app-messages
...
Support for app messages
2024-03-18 11:37:10 -04:00
Moishe Lettvin
58726dc20d
clean up imports
2024-03-18 10:14:51 -04:00
Moishe Lettvin
8e61fe8e36
Support for app messages
2024-03-18 10:08:41 -04:00
Moishe Lettvin
99b836c227
added docstrings to frames.
2024-03-18 09:08:12 -04:00
Moishe Lettvin
1c27f77f1a
drafty architecture doc
2024-03-18 08:39:50 -04:00
Moishe Lettvin
c91fa39a99
Remove testing code
2024-03-15 19:42:46 -04:00
Moishe Lettvin
eacaea7db4
Anthropic LLM service
2024-03-15 19:40:37 -04:00
Moishe Lettvin
c6dfcb6f7a
Merge pull request #60 from daily-co/remove-ai-service-methods
...
Remove run_to_queue and run from AIService class
2024-03-15 15:28:28 -04:00
Moishe Lettvin
18bf26de14
Update apps
2024-03-15 13:39:33 -04:00
Moishe Lettvin
b8b35db89c
Remove run_to_queue and run from AIService class
2024-03-15 11:04:22 -04:00
Moishe Lettvin
358166f347
Merge pull request #59 from daily-co/remove-requirements
...
Remove unused requirements file
2024-03-13 16:23:42 -04:00
Moishe Lettvin
c006c123b2
Remove unused requirements file
2024-03-13 16:19:03 -04:00
chadbailey59
cf302fb765
Storybot and Chatbot examples ( #58 )
...
* storybot
* storybot
* added pipeline.queue_frames
* fixup
2024-03-13 15:12:59 -05:00
Moishe Lettvin
e33820fe36
Merge pull request #56 from daily-co/fal-redux
...
Use other model in FAL
2024-03-12 15:14:57 -04:00
Moishe Lettvin
b84b3d59f3
Use other model in FAL
2024-03-12 14:47:00 -04:00
Moishe Lettvin
7b5b88b99b
Merge pull request #55 from daily-co/fix-fal
...
set FAL param correctly
2024-03-12 14:12:16 -04:00
Moishe Lettvin
e87196cce7
set FAL param correctly
2024-03-12 14:03:43 -04:00
chadbailey59
bbfc9e703b
intake cleanup ( #54 )
2024-03-12 13:01:39 -05:00
Moishe Lettvin
c21a63d48b
Merge pull request #49 from daily-co/openai-base-llm
...
Base OpenAI LLM service
2024-03-12 12:58:31 -04:00
Moishe Lettvin
f546bb32da
Make 08- work again
2024-03-12 10:34:52 -04:00
Moishe Lettvin
d9378e23ba
Base OpenAI LLM service
2024-03-11 16:52:41 -04:00
Moishe Lettvin
c75a3fb0d0
Merge pull request #53 from daily-co/fix_other_joined_event
...
Don't do time-consuming processing in `on_other_joined_event`
2024-03-11 13:27:13 -04:00
Moishe Lettvin
f8ae264957
remove unnecessary print
2024-03-11 13:20:28 -04:00
Moishe Lettvin
977c12d530
undo fal change
2024-03-11 13:19:47 -04:00
Moishe Lettvin
61c55d2f47
Fix up other examples
2024-03-11 13:17:31 -04:00
Moishe Lettvin
fd2fa23e9c
Fix example 2
2024-03-11 13:00:29 -04:00
Moishe Lettvin
de026ccc8a
Merge pull request #50 from daily-co/khk/launch-samples
...
Khk/launch samples
2024-03-11 12:50:38 -04:00
Moishe Lettvin
c5bb0e14ab
Merge pull request #51 from daily-co/khk/readme
...
updated README
2024-03-11 12:50:22 -04:00
chadbailey59
a4f3c51184
the smallest commit in history
2024-03-11 09:47:00 -05:00
Moishe Lettvin
7786e685cc
Merge pull request #52 from daily-co/pypi-updates
...
updates to pyproject.toml
2024-03-11 10:34:35 -04:00
Moishe Lettvin
33793ca9f8
update description
2024-03-11 07:31:39 -04:00
Moishe Lettvin
d26aede667
updates to pyproject.toml
2024-03-11 07:25:20 -04:00
Moishe Lettvin
ad993056d8
rename to dailyai
2024-03-11 07:16:20 -04:00
Kwindla Hultman Kramer
5b1f26aacb
updated README
2024-03-10 22:06:23 -07:00
Kwindla Hultman Kramer
4e16e514dd
attempting to change tts to deepgram in example 04
2024-03-10 19:43:06 -07:00
Kwindla Hultman Kramer
959ffa9d36
small streamlining of example 03
2024-03-10 19:42:19 -07:00
Kwindla Hultman Kramer
4396b1018a
small streamlining of example 02
2024-03-10 19:41:32 -07:00
Kwindla Hultman Kramer
37e904ce68
changed fal to a maybe slightly faster model
2024-03-10 19:40:51 -07:00
Kwindla Hultman Kramer
ef39d842a5
custom processor in example 05
2024-03-10 19:18:37 -07:00
Kwindla Hultman Kramer
72f631a066
working on foundational examples
2024-03-10 17:21:46 -07:00
chadbailey59
5d46302b9e
changed default services ( #47 )
2024-03-08 15:36:30 -06:00
chadbailey59
8241dc0bed
cleaned up example logging ( #46 )
2024-03-08 15:25:17 -06:00
Moishe Lettvin
95a1efbe75
Merge pull request #45 from daily-co/exception_handling_callbacks
...
Wait for the callback's result, so exceptions get raised
2024-03-08 15:04:15 -05:00
Moishe Lettvin
e59df8476e
Wait for the callback's result, so exceptions get raised
2024-03-08 15:02:15 -05:00
chadbailey59
824df8ca7c
moved patient intake and example runner ( #44 )
2024-03-08 12:07:51 -06:00
chadbailey59
0db8a51b27
cleaned up function calling frames ( #43 )
2024-03-08 10:13:28 -06:00
chadbailey59
ce9c6ede66
function allowlist ( #42 )
2024-03-08 08:49:09 -06:00
Moishe Lettvin
192b46bbab
Merge pull request #41 from daily-co/optimize-pipeline
...
Optimize pipeline processing
2024-03-07 21:01:03 -05:00
Moishe Lettvin
196279e342
Add endframe to sample 4
2024-03-07 19:24:27 -05:00
Moishe Lettvin
edd93bc4cb
remove errant print statement
2024-03-07 19:05:03 -05:00
Moishe Lettvin
d0076dd4ee
Optimize pipeline processing so we don't wait for the completion of one generator to move onto the next.
2024-03-07 18:59:47 -05:00
chadbailey59
3c5f4800d4
Chad's big patient intake PR ( #40 )
...
* at least it runs, kind of
* wip
* wip with user response aggregator
* frame and pipeline docstrings
* Getting started on docstrings
* finish docstrings for aggregators
* patient intake is working!
* cleanup
* cleanup
---------
Co-authored-by: Moishe Lettvin <moishel@gmail.com >
2024-03-07 17:41:32 -06:00
Moishe Lettvin
2bcb4966d3
Merge pull request #39 from daily-co/docstrings
...
Docstrings
2024-03-07 15:39:50 -05:00
Moishe Lettvin
b14f08a7d5
finish docstrings for aggregators
2024-03-07 15:16:23 -05:00
Moishe Lettvin
8fb92e3fd7
Getting started on docstrings
2024-03-07 12:51:19 -05:00
Moishe Lettvin
337ca7f581
frame and pipeline docstrings
2024-03-07 10:16:27 -05:00
Moishe Lettvin
eb430621f1
Merge pull request #37 from daily-co/fix-interruptible
...
Fix interruptible pipeline runner and aggregator.
2024-03-07 09:09:41 -05:00
Moishe Lettvin
d5683c4f24
Fix interruptible pipeline runner and aggregator.
2024-03-07 09:05:49 -05:00
chadbailey59
b4505b7eff
added audio chunking for better interruption support ( #35 )
2024-03-06 18:20:04 -06:00
Moishe Lettvin
3e46d28aff
Add start frame to interrupt loop
2024-03-06 15:58:19 -05:00
Moishe Lettvin
d3e76c4fd6
Merge pull request #34 from daily-co/rename-frames
...
Remove Queue in frame names
2024-03-06 14:10:56 -05:00
Moishe Lettvin
62fd371b97
Remove Queue in frame names
2024-03-06 14:09:06 -05:00
Moishe Lettvin
b9556716dd
Merge pull request #33 from daily-co/pipeline-instead-of-nest
...
Pipeline instead of nest
2024-03-05 11:04:20 -05:00
Moishe Lettvin
2708dcf7b5
Remove conversation wrapper
2024-03-04 14:07:49 -05:00
Moishe Lettvin
d3f86dab2e
starting on interruptions
2024-03-04 13:41:28 -05:00
Moishe Lettvin
18e7626b9f
Getting started on interruptible transport pipeline runner
2024-03-04 07:51:22 -05:00
Moishe Lettvin
763a50f8ec
First cut at sample 6 rewrite with pipelines
2024-03-04 07:28:10 -05:00
Moishe Lettvin
3b282cc921
some comments
2024-03-03 20:17:48 -05:00
Moishe Lettvin
434772dc23
Update sample 5!
2024-03-03 19:50:13 -05:00
Moishe Lettvin
15df4a9d58
cleanup, make sample 4 work with new stuff
2024-03-03 19:37:30 -05:00
Moishe Lettvin
643be238f9
getting started
2024-03-03 16:31:31 -05:00
chadbailey59
d90fdb1cae
Isolated changes to add VAD ( #32 )
...
* added VAD
* added separate 'vad enabled' property
2024-02-28 15:16:44 -06:00
Moishe Lettvin
f710aeae95
Merge pull request #30 from daily-co/unsub-video
...
cleanup client properties and unsubscribe from camera
2024-02-27 13:16:20 -05:00
Moishe Lettvin
20091d91c9
cleanup client properties and unsubscribe from camera
2024-02-27 13:09:55 -05:00
Moishe Lettvin
92ec5641d4
update deepgram tts to new service structure
2024-02-14 13:44:59 -05:00
Moishe Lettvin
53e97bd872
Merge pull request #28 from daily-co/update-playht-service
...
Update playht service
2024-02-14 12:54:34 -05:00
Moishe Lettvin
dcbd79333a
make destructor call client.close in PlayHT service
2024-02-14 12:53:20 -05:00
Moishe Lettvin
97a4cb8b7f
Update playht tts service
2024-02-14 12:40:13 -05:00
Moishe Lettvin
cc7877f626
Merge pull request #26 from daily-co/fix-sigint
...
fix sigint handling
2024-02-14 12:11:44 -05:00
Moishe Lettvin
1992b7e79e
fix sigint handling
2024-02-14 12:10:47 -05:00
Moishe Lettvin
2516670874
Merge pull request #25 from daily-co/keyboard-interrupt
...
Call client.leave on keyboard interrupt
2024-02-13 14:18:42 -05:00
Moishe Lettvin
4fecc10808
Call client.leave on keyboard interrupt
2024-02-13 14:17:09 -05:00
Moishe Lettvin
08144fc560
Merge pull request #24 from daily-co/another-formatting-pass
...
Another autopep8 formatting pass
2024-02-10 09:39:51 -05:00
Moishe Lettvin
815aa2bc3e
Another autopep8 formatting pass
2024-02-10 09:29:08 -05:00
Moishe Lettvin
560c98f2fa
Merge pull request #23 from daily-co/ollama-service
...
Ollama LLM service
2024-02-10 09:27:17 -05:00
Moishe Lettvin
0e0c992f59
Ollama LLM service
2024-02-10 09:22:52 -05:00
Moishe Lettvin
d76139ac1a
Merge pull request #22 from daily-co/temp-readme-patch
...
Make the README okay-enough for limited public release
2024-02-09 11:57:39 -05:00
Moishe Lettvin
444418d94c
Make the README okay-enough for limited public release
2024-02-09 10:26:39 -05:00
Moishe Lettvin
d27122e35e
Create LICENSE
2024-02-09 09:10:28 -06:00
Chad Bailey
0ae83577c6
renamed samples to examples
2024-02-08 16:34:48 +00:00
Chad Bailey
5c402eee81
started adding docs
2024-02-08 16:31:17 +00:00
Moishe Lettvin
80750fe022
Remove old/deprecated/broken samples
2024-02-08 09:56:22 -05:00
Moishe Lettvin
ccfba04ea2
Remove mistakenly-added file
2024-02-08 09:55:28 -05:00
Moishe Lettvin
5b8198cf9e
Merge pull request #21 from daily-co/cleanup_constructor_args
...
Cleanup constructor args in examples
2024-02-08 09:44:51 -05:00
Moishe Lettvin
3fa00c4db8
Cleanup constructor args in examples
2024-02-08 09:41:51 -05:00
Moishe Lettvin
4ce36f8c63
Merge pull request #20 from daily-co/base_transport
...
Add a "Local Transport" as a proof of concept
2024-02-08 08:25:03 -05:00
Moishe Lettvin
9620080cc5
A little example cleanup
2024-02-08 08:24:25 -05:00
Moishe Lettvin
ee1ce8f288
Abstract base transport class & local transport class
2024-02-08 08:15:28 -05:00
chadbailey59
70d07b6ea2
WIP: environment cleanup ( #19 )
...
* removed env var usage from SDK services
* started consolidating configure.py
* 1–3 work
* cleaned up the rest
* more cleanup
* cleanup and 05 tinkering
* made fal keys optional
2024-02-06 15:07:16 -06:00
Moishe Lettvin
9d5ad5675c
Fix 06- demo and also fix bugs where dangling sentences wouldn't be spoken
2024-02-01 12:54:23 -05:00
chadbailey59
0d96f91cde
Added sound effect example ( #18 )
...
* added sound effect example
* added dialout to this branch too
* fixup
* fixup for more dialout testing
* cleanup
2024-02-01 10:26:50 -06:00
Moishe Lettvin
4e9586595d
minor cleanup
2024-01-29 15:06:39 -05:00
Moishe Lettvin
d0bcddfd70
Fix 06a-image-sync.py
2024-01-29 14:29:32 -05:00
Chad Bailey
065a213ebb
example renaming
2024-01-29 17:42:45 +00:00
Chad Bailey
7d6c94d604
added 09 examples
2024-01-29 17:39:28 +00:00
Chad Bailey
0859b57b00
Added 09 examples
2024-01-29 17:39:14 +00:00
Moishe Lettvin
09838c9b1f
Merge pull request #17 from daily-co/start_tests
...
Add some basic daily_transport tests
2024-01-29 07:57:33 -05:00
Moishe Lettvin
c39920132c
Add some basic daily_transport tests
2024-01-29 07:56:12 -05:00
Moishe Lettvin
860129a4be
Merge pull request #16 from daily-co/image_tweaks
...
Minor Cleanup
2024-01-27 19:10:52 -05:00
Moishe Lettvin
4416f36ae9
some minor cleanup, and coalesce image/images into one thing, and use itertools.cycle
2024-01-27 19:07:29 -05:00
chadbailey59
86af896150
Wake word and animation sprites ( #15 )
...
* WIP: golden kitty
* added web server
* added health check
* added flask to module build
* trying requirements.txt
* added dotenv
* flask_cors
* gunicorn
* requirements cleanup
* Dockerfile
* WOOF
* basic wake word
* removed otel
* basic animation kind of works
* i think animation defeated me
* added santa cat assets
* cleanup
* cleanup
* server example and cleanup
* more cleanup
* fix up some class variable names
* minor cleanup, remove mistakenly-added print and logger stuff
* cleanup
* cleanup
---------
Co-authored-by: Moishe Lettvin <moishel@gmail.com >
2024-01-26 15:37:39 -06:00
Moishe Lettvin
5cbac4701b
minor cleanup, remove mistakenly-added print and logger stuff
2024-01-26 15:27:12 -05:00
Moishe Lettvin
5d9aa530e2
fix up some class variable names
2024-01-26 15:15:44 -05:00
Moishe Lettvin
d4c4d49035
Merge pull request #14 from daily-co/aiosessions
...
Don't create aiohttp sessions inside services
2024-01-26 14:01:24 -05:00
Moishe Lettvin
e81f247845
Don't create aiohttp sessions inside services
2024-01-26 12:30:37 -05:00
Liza
8baf137511
prefix suspected private members ( #13 )
2024-01-26 18:28:54 +01:00
Moishe Lettvin
fcceb32bd7
Merge pull request #12 from daily-co/frame_sync
...
Speaking / waiting images
2024-01-26 10:17:01 -05:00
Moishe Lettvin
ead655fe23
some more fixup
2024-01-26 10:07:16 -05:00
Moishe Lettvin
bab102f197
little more cleanup
2024-01-26 09:54:51 -05:00
Moishe Lettvin
95fc802607
Speaking / waiting images
2024-01-26 09:15:29 -05:00
Moishe Lettvin
2886997693
Merge pull request #11 from daily-co/autopep
...
Autopep linter fixes
2024-01-25 12:17:26 -05:00
Moishe Lettvin
5fdda43bed
Autopep linter fixes
2024-01-25 12:12:46 -05:00
Moishe Lettvin
f0d9b0613e
Add faster_whisper to module dependencies; remove unneeded import
2024-01-25 11:27:00 -05:00
Moishe Lettvin
a661905d7f
Merge pull request #9 from daily-co/interruptions
...
Interruptable conversation wrapper
2024-01-25 11:24:57 -05:00
Moishe Lettvin
c9c2e5f561
Remove unnecessary try/except
2024-01-25 11:18:55 -05:00
Moishe Lettvin
795a339542
Add InterruptibleConversationWrapper
2024-01-25 11:15:04 -05:00
Liza
31db156dfc
Local Whisper transcription ( #10 )
...
* First pass at Whisper transcription
* deletions
* Revise based on feedback, add autopep8
2024-01-25 13:43:25 +01:00
Moishe Lettvin
690cf2e47d
Merge pull request #8 from daily-co/queueframe-refactor
...
Refactor QueueFrame
2024-01-23 13:15:11 -05:00
Moishe Lettvin
ba89e41c5b
remove commented-out code
2024-01-23 09:37:15 -05:00
Moishe Lettvin
c134598a77
Refactor QueueFrame
2024-01-23 09:33:51 -05:00
Liza
b51abd2969
facilitate manual call management ( #7 )
2024-01-23 14:33:27 +01:00
Moishe Lettvin
3fda9b0ecb
Use more flexibile aggregator
2024-01-22 16:02:35 -05:00
Moishe Lettvin
95c92e5304
Aggregators for LLM messages
2024-01-22 10:59:13 -05:00
Moishe Lettvin
b443fbdb60
Very rough draft at intro/overview in README
2024-01-19 16:20:08 -05:00
Moishe Lettvin
ccd2fa31e5
Rename 'theoretical-to-real' samples to 'foundational'
2024-01-19 13:57:52 -05:00
Moishe Lettvin
9b65286216
Merge pull request #6 from daily-co/rm-sentence-aggregator
...
Cleanup: no more sentence aggregator
2024-01-19 13:42:27 -05:00
Moishe Lettvin
6ae733ebfe
Cleanup: no more sentence aggregator, let the TTS service deal with that; also removed the queue typing stuff from ai_services
2024-01-19 13:06:15 -05:00
Liza
1071dede1a
Only initialize Daily once ( #5 )
2024-01-19 14:59:48 +01:00