Skip to content

Instantly share code, notes, and snippets.

@mdcox
mdcox / freeplay-observer.py
Last active May 30, 2025 23:08
Freeplay LLM Observer
#
# Copyright (c) 2024–2025, Daily
#
# SPDX-License-Identifier: BSD 2-Clause License
#
# Pipecat github: https://github.com/pipecat-ai/pipecat/tree/main
#
# Copyright (c) 2024–2025, Daily
@mdcox
mdcox / freeplay-asyncio.py
Created May 19, 2025 18:13
Using Freeplay with AsyncIO in Python
# Using the Freeplay SDK with Python Asyncio
# Note, this is not required by Freeplay but it does work!
from freeplay import (
Freeplay,
RecordPayload,
CallInfo,
ResponseInfo,
)
from openai import OpenAI
from dotenv import load_dotenv