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
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
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é
e405d7af9f
services(elevenlabs): add elevenlabs package and use streaming
2024-09-05 11:20:01 -07:00
Aleix Conchillo Flaqué
c0ac5c6ae8
services(lmnt): fix example and update README and CHANGELOG
2024-08-29 11:11:24 -07:00
Sharvil Nanavati
1d92fc3199
Merge branch 'main' into pr/add-lmnt
2024-08-24 10:07:52 -07:00
Sharvil Nanavati
60c3d33def
Default LMNT to 24kHz, add example
2024-08-24 15:40:29 +00:00
Aleix Conchillo Flaqué
d42f072ff5
examples: fix studypal errors and update requirements
2024-08-22 11:50:05 -07:00
Aleix Conchillo Flaqué
86604c2353
examples(studypal): use aiohttp instead of requests
2024-08-19 18:11:30 -07:00
Yash Narayan
980265ca97
Add studypal
2024-08-19 16:58:29 -07:00
Aleix Conchillo Flaqué
1a662376fc
examples: use Cartesia TTS in most examples
2024-08-19 15:31:34 -07:00
Aleix Conchillo Flaqué
f3a4e54996
function calling: start callback should have function name first
2024-08-18 20:48:20 -07:00
Aleix Conchillo Flaqué
6520f20ffe
fix function calling examples
2024-08-17 23:32:39 -07:00
Kwindla Hultman Kramer
6e0dd4a779
Anthropic beta prompt caching
2024-08-15 00:54:43 -07:00
Kwindla Hultman Kramer
253765c611
and fixing anthropic demos
2024-08-14 23:14:20 -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
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
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é
22e176e329
processors(base): add start_llm_usage_metrics and start_tts_usage_metrics
2024-08-08 16:46:56 -07: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é
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
Aleix Conchillo Flaqué
fa7c941792
examples(gstreamer): add new GStreamer examples
2024-08-04 12:29:36 -07:00
Aleix Conchillo Flaqué
bee0b238e4
examples(storytelling-chatbot): include package-lock.json
2024-08-01 18:23:30 -07:00
Aleix Conchillo Flaqué
4d9b7cdd61
DailyRESTHelper now receives an aiohttp client session
2024-08-01 18:08:57 -07:00
Aleix Conchillo Flaqué
27a09c0b2c
cleanup examples and remove requests library
2024-07-31 23:39:51 -07:00
Aleix Conchillo Flaqué
d60e99a043
examples(06a-image-sync): make sure frames go downstream
2024-07-30 11:41:58 -07:00
Kwindla Hultman Kramer
9d050a16c7
committing an uncommitted file
2024-07-17 20:23:41 -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
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é
be5603bf16
examples: fix 06a-image-sync.py
2024-07-02 10:11:50 -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é
d1ca0c5614
examples: added new 17-detect-user-idle.py
2024-07-01 18:17:43 -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é
7f9fd9ffce
examples: added 07i-interruptible-xtts
2024-07-01 10:41:34 -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é
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é
4f38d989f5
services(cartesia): upgrade to new cartesia 1.0.0
2024-06-25 11:51:34 -07:00
Aleix Conchillo Flaqué
8d867c30c6
transports(websocket): verify websockets module
2024-06-21 09:48:12 -07:00