Merge pull request #973 from pipecat-ai/aleix/simple-chatbot-clients

examples/simple-chatbot: move clients to client directory
This commit is contained in:
Aleix Conchillo Flaqué
2025-01-12 11:28:21 -08:00
committed by GitHub
113 changed files with 28 additions and 14 deletions

View File

@@ -34,11 +34,11 @@ jobs:
java-version: '17'
- name: Build demo app
working-directory: examples/simple-chatbot/examples/android
working-directory: examples/simple-chatbot/client/android
run: ./gradlew :simple-chatbot-client:assembleDebug
- name: Upload demo APK
uses: actions/upload-artifact@v4
with:
name: Simple Chatbot Android Client
path: examples/simple-chatbot/examples/android/simple-chatbot-client/build/outputs/apk/debug/simple-chatbot-client-debug.apk
path: examples/simple-chatbot/client/android/simple-chatbot-client/build/outputs/apk/debug/simple-chatbot-client-debug.apk

View File

@@ -2,7 +2,7 @@
<img src="image.png" width="420px">
This repository demonstrates a simple AI chatbot with real-time audio/video interaction, implemented in three different ways. The bot server supports multiple AI backends, and you can connect to it using three different client approaches.
This repository demonstrates a simple AI chatbot with real-time audio/video interaction, implemented using different client and server options. The bot server supports multiple AI backends, and you can connect to it using five different client approaches.
## Two Bot Options
@@ -15,7 +15,7 @@ This repository demonstrates a simple AI chatbot with real-time audio/video inte
- Uses Google's Gemini Multimodal Live model
- Requires Gemini API key
## Three Ways to Connect
## Five Client Options
1. **Daily Prebuilt** (Simplest)
@@ -29,9 +29,19 @@ This repository demonstrates a simple AI chatbot with real-time audio/video inte
- Good for learning the fundamentals
3. **React**
- Basic impelmentation using [Pipecat React SDK](https://docs.pipecat.ai/client/react/introduction)
- Demonstrates the basic client principles with Pipecat React
4. **Android**
- Basic implementation using [Pipecat Android SDK](https://docs.pipecat.ai/client/android/introduction)
- Demonstrates the basic client principles with Pipecat Android
5. **iOS**
- Basic implementation using [Pipecat iOS SDK](https://docs.pipecat.ai/client/ios/introduction)
- Demonstrates the basic client principles with Pipecat iOS
## Quick Start
### First, start the bot server:
@@ -62,9 +72,11 @@ This repository demonstrates a simple AI chatbot with real-time audio/video inte
### Next, connect using your preferred client app:
- [Daily Prebuilt](examples/prebuilt/README.md)
- [JavaScript Guide](examples/javascript/README.md)
- [React Guide](examples/react/README.md)
- [Android Guide](client/android/README.md)
- [iOS Guide](client/ios/README.md)
- [Daily Prebuilt](client/prebuilt/README.md)
- [JavaScript Guide](client/javascript/README.md)
- [React Guide](client/react/README.md)
## Important Note
@@ -90,8 +102,10 @@ simple-chatbot/
│ ├── runner.py # Server runner utilities
│ ├── server.py # FastAPI server
│ └── requirements.txt
└── examples/ # Client implementations
├── prebuilt/ # Daily Prebuilt connection
├── javascript/ # Pipecat JavaScript client
└── client/ # Client implementations
├── android/ # Daily Android connection
├── ios/ # Daily iOS connection
├── javascript/ # Daily JavaScript connection
├── prebuilt/ # Pipecat Prebuilt client
└── react/ # Pipecat React client
```

View File

Before

Width:  |  Height:  |  Size: 207 KiB

After

Width:  |  Height:  |  Size: 207 KiB

View File

@@ -6,10 +6,10 @@ Basic implementation using the [Pipecat JavaScript SDK](https://docs.pipecat.ai/
1. Run the bot server. See the [server README](../../README).
2. Navigate to the `examples/javascript` directory:
2. Navigate to the `client/javascript` directory:
```bash
cd examples/javascript
cd client/javascript
```
3. Install dependencies:

View File

@@ -6,10 +6,10 @@ Basic implementation using the [Pipecat React SDK](https://docs.pipecat.ai/clien
1. Run the bot server; see [README](../../README).
2. Navigate to the `examples/react` directory:
2. Navigate to the `client/react` directory:
```bash
cd examples/react
cd client/react
```
3. Install dependencies:

Some files were not shown because too many files have changed in this diff Show More