Files
pipecat/examples/patient-intake/README.md
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

901 B
Raw Blame History

Simple Chatbot

This app connects you to a chatbot powered by GPT-4, complete with animations generated by Stable Video Diffusion.

See a video of it in action: https://x.com/kwindla/status/1778628911817183509

And a quick video walkthrough of the code: https://www.loom.com/share/13df1967161f4d24ade054e7f8753416

The first time, things might take extra time to get started since VAD (Voice Activity Detection) model needs to be downloaded.

Get started

python3 -m venv venv
source venv/bin/activate
pip install -r requirements.txt

cp env.example .env # and add your credentials

Run the server

python server.py

Then, visit http://localhost:7860/start in your browser to start a chatbot session.

Build and test the Docker image

docker build -t chatbot .
docker run --env-file .env -p 7860:7860 chatbot