Merge pull request #973 from pipecat-ai/aleix/simple-chatbot-clients
examples/simple-chatbot: move clients to client directory
4
.github/workflows/android.yaml
vendored
@@ -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
|
||||
|
||||
@@ -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
|
||||
```
|
||||
|
||||
|
Before Width: | Height: | Size: 207 KiB After Width: | Height: | Size: 207 KiB |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 982 B After Width: | Height: | Size: 982 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 2.8 KiB After Width: | Height: | Size: 2.8 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 5.8 KiB |
|
Before Width: | Height: | Size: 3.8 KiB After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 7.6 KiB After Width: | Height: | Size: 7.6 KiB |
|
Before Width: | Height: | Size: 29 KiB After Width: | Height: | Size: 29 KiB |
|
Before Width: | Height: | Size: 982 B After Width: | Height: | Size: 982 B |
@@ -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:
|
||||
@@ -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:
|
||||