Merge pull request #413 from pipecat-ai/aleix/pipecat-0.0.41

prepare pipecat 0.0.41
This commit is contained in:
Aleix Conchillo Flaqué
2024-08-22 17:01:43 -07:00
committed by GitHub
5 changed files with 15 additions and 10 deletions

View File

@@ -5,7 +5,7 @@ All notable changes to **pipecat** will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [Unreleased] ## [0.0.41] - 2024-08-22
### Added ### Added
@@ -15,6 +15,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix `FastAPIWebsocketOutputTransport` variable name clash with subclass. - Fix `FastAPIWebsocketOutputTransport` variable name clash with subclass.
- Fix an `AnthropicLLMService` issue with empty arguments in function calling.
### Other
- Fixed `studypal` example errors.
## [0.0.40] - 2024-08-20 ## [0.0.40] - 2024-08-20
### Added ### Added

View File

@@ -4,8 +4,7 @@
# Pipecat # Pipecat
[![PyPI](https://img.shields.io/pypi/v/pipecat-ai)](https://pypi.org/project/pipecat-ai) [![Discord](https://img.shields.io/discord/1239284677165056021 [![PyPI](https://img.shields.io/pypi/v/pipecat-ai)](https://pypi.org/project/pipecat-ai) [![Discord](https://img.shields.io/discord/1239284677165056021)](https://discord.gg/pipecat) <a href="https://app.commanddash.io/agent/github_pipecat-ai_pipecat"><img src="https://img.shields.io/badge/AI-Code%20Agent-EB9FDA"></a>
)](https://discord.gg/pipecat)
`pipecat` is a framework for building voice (and multimodal) conversational agents. Things like personal coaches, meeting assistants, [story-telling toys for kids](https://storytelling-chatbot.fly.dev/), customer support bots, [intake flows](https://www.youtube.com/watch?v=lDevgsp9vn0), and snarky social companions. `pipecat` is a framework for building voice (and multimodal) conversational agents. Things like personal coaches, meeting assistants, [story-telling toys for kids](https://storytelling-chatbot.fly.dev/), customer support bots, [intake flows](https://www.youtube.com/watch?v=lDevgsp9vn0), and snarky social companions.

View File

@@ -1,5 +1,5 @@
beautifulsoup4==4.12.2 beautifulsoup4==4.12.3
PyPDF2==3.0.1 pypdf==4.3.1
tiktoken==0.7.0 tiktoken==0.7.0
pipecat-ai[daily,cartesia,openai,silero]==0.0.39 pipecat-ai[daily,cartesia,openai,silero]==0.0.40
python-dotenv==1.0.1 python-dotenv==1.0.1

View File

@@ -50,12 +50,12 @@ async def configure_with_args(
daily_rest_helper = DailyRESTHelper( daily_rest_helper = DailyRESTHelper(
daily_api_key=key, daily_api_key=key,
daily_api_url=os.getenv("DAILY_API_URL", "https://api.daily.co/v1"), daily_api_url=os.getenv("DAILY_API_URL", "https://api.daily.co/v1"),
) aiohttp_session=aiohttp_session)
# Create a meeting token for the given room with an expiration 1 hour in # Create a meeting token for the given room with an expiration 1 hour in
# the future. # the future.
expiry_time: float = 60 * 60 expiry_time: float = 60 * 60
token = daily_rest_helper.get_token(url, expiry_time) token = await daily_rest_helper.get_token(url, expiry_time)
return (url, token, args) return (url, token, args)

View File

@@ -5,7 +5,7 @@ import sys
import io import io
from bs4 import BeautifulSoup from bs4 import BeautifulSoup
from PyPDF2 import PdfReader from pypdf import PdfReader
import tiktoken import tiktoken
from pipecat.frames.frames import LLMMessagesFrame from pipecat.frames.frames import LLMMessagesFrame