This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# 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 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |