pipecat-ai / pipecat

Open Source framework for voice and multimodal conversational AI
BSD 2-Clause "Simplified" License
2.11k stars 113 forks source link

Deployment examples: What do you want to see? #152

Open chadbailey59 opened 1 month ago

chadbailey59 commented 1 month ago

We want to build out some code and examples to make it easier to deploy Pipecat bots. Right now, we're looking at the following services:

Right now, the basic structure looks like a Dockerfile running a FastAPI server that serves a static HTML frontend UI. That server also spins up bots on demand in threads. We're still figuring out how to handle Cloudflare Workers.

Where else do you want to be able to run Pipecat bots? Is there another approach that makes more sense to you?

mynumu commented 1 month ago

AWS Self Hosted Ubuntu via Docker with some sort of secure front end authentication but sounds like that’s covered??

kwindla commented 1 month ago

Docker containers work well, and a general web front-end approach to auth is probably the right thing. But it depends on how you'll connect people to your Pipecat bots. Feel free to provide more details. @jptaylor probably also has thoughts.

gaceladri commented 2 weeks ago

+1 for Runpod

gaceladri commented 1 day ago

Hi @jptaylor,

Thank you for adding the fly.io deployment example. It's a great addition to the project. I was wondering if you could also provide a client example? Specifically, I'm not very familiar with sending voice data over curl requests or how it should work with Daily rooms. An example demonstrating this would be extremely helpful for users like me who are new to this aspect of the implementation.

If you have the time, a simple client-side example would greatly enhance the documentation and make it easier for others to get started with the project.

Thanks again for your contributions!

jptaylor commented 1 day ago

@gaceladri it may be worth checking out the storytelling chatbot as it includes a web client that you can use to interface with your bot.

Alternatively, we have a somewhat WIP but fully functional example web client here: https://github.com/pipecat-ai/web-client-ui

I think your broader point, however, is that it would be good to have an feature complete example that shows how all these things fit together. I'll get to work on that.

gaceladri commented 1 day ago

@jptaylor Oh, lovely! Thank you for the helpful suggestions! The storytelling chatbot and the web client UI examples should provide me with the guidance I need. I appreciate your consideration of a more comprehensive example as well.