Move foundational examples to examples/
This commit is contained in:
@@ -144,7 +144,7 @@ class InputParams(BaseModel):
|
|||||||
|
|
||||||
#### Examples
|
#### Examples
|
||||||
|
|
||||||
Validated against `examples/foundational/07-interruptible.py`:
|
Validated against `examples/07-interruptible.py`:
|
||||||
|
|
||||||
- Proper `create_transport()` usage
|
- Proper `create_transport()` usage
|
||||||
- Correct pipeline structure
|
- Correct pipeline structure
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ Create your integration following the patterns and examples shown in the "Integr
|
|||||||
Your repository must contain these components:
|
Your repository must contain these components:
|
||||||
|
|
||||||
- **Source code** - Complete implementation following Pipecat patterns
|
- **Source code** - Complete implementation following Pipecat patterns
|
||||||
- **Foundational example** - Single file example showing basic usage (see [Pipecat examples](https://github.com/pipecat-ai/pipecat/tree/main/examples/foundational))
|
- **Foundational example** - Single file example showing basic usage (see [Pipecat examples](https://github.com/pipecat-ai/pipecat/tree/main/examples))
|
||||||
- **README.md** - Must include:
|
- **README.md** - Must include:
|
||||||
- Introduction and explanation of your integration
|
- Introduction and explanation of your integration
|
||||||
- Installation instructions
|
- Installation instructions
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ Catch new features, interviews, and how-tos on our [Pipecat TV](https://www.yout
|
|||||||
<a href="https://github.com/pipecat-ai/pipecat-examples/tree/main/storytelling-chatbot"><img src="https://raw.githubusercontent.com/pipecat-ai/pipecat-examples/main/storytelling-chatbot/image.png" width="400" /></a>
|
<a href="https://github.com/pipecat-ai/pipecat-examples/tree/main/storytelling-chatbot"><img src="https://raw.githubusercontent.com/pipecat-ai/pipecat-examples/main/storytelling-chatbot/image.png" width="400" /></a>
|
||||||
<br/>
|
<br/>
|
||||||
<a href="https://github.com/pipecat-ai/pipecat-examples/tree/main/translation-chatbot"><img src="https://raw.githubusercontent.com/pipecat-ai/pipecat-examples/main/translation-chatbot/image.png" width="400" /></a>
|
<a href="https://github.com/pipecat-ai/pipecat-examples/tree/main/translation-chatbot"><img src="https://raw.githubusercontent.com/pipecat-ai/pipecat-examples/main/translation-chatbot/image.png" width="400" /></a>
|
||||||
<a href="https://github.com/pipecat-ai/pipecat/blob/main/examples/foundational/12-describe-video.py"><img src="https://github.com/pipecat-ai/pipecat/blob/main/examples/foundational/assets/moondream.png" width="400" /></a>
|
<a href="https://github.com/pipecat-ai/pipecat/blob/main/examples/12-describe-video.py"><img src="https://github.com/pipecat-ai/pipecat/blob/main/examples/assets/moondream.png" width="400" /></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
## 🧩 Available services
|
## 🧩 Available services
|
||||||
@@ -142,7 +142,7 @@ You can get started with Pipecat running on your local machine, then move your a
|
|||||||
|
|
||||||
## 🧪 Code examples
|
## 🧪 Code examples
|
||||||
|
|
||||||
- [Foundational](https://github.com/pipecat-ai/pipecat/tree/main/examples/foundational) — small snippets that build on each other, introducing one or two concepts at a time
|
- [Foundational](https://github.com/pipecat-ai/pipecat/tree/main/examples) — small snippets that build on each other, introducing one or two concepts at a time
|
||||||
- [Example apps](https://github.com/pipecat-ai/pipecat-examples) — complete applications that you can use as starting points for development
|
- [Example apps](https://github.com/pipecat-ai/pipecat-examples) — complete applications that you can use as starting points for development
|
||||||
|
|
||||||
## 🛠️ Contributing to the framework
|
## 🛠️ Contributing to the framework
|
||||||
|
|||||||
@@ -13,9 +13,6 @@ Features showcased:
|
|||||||
- Gemini LLM for conversation and image generation
|
- Gemini LLM for conversation and image generation
|
||||||
- Google TTS and STT
|
- Google TTS and STT
|
||||||
|
|
||||||
Run with:
|
|
||||||
python examples/foundational/07n-interruptible-gemini-image.py
|
|
||||||
|
|
||||||
Make sure to set your environment variables:
|
Make sure to set your environment variables:
|
||||||
export GOOGLE_API_KEY=your_api_key_here
|
export GOOGLE_API_KEY=your_api_key_here
|
||||||
"""
|
"""
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user