rename service

This commit is contained in:
Vaibhav159
2025-03-18 20:58:21 +05:30
parent 5f000efc61
commit 4303ed4991
3 changed files with 5 additions and 5 deletions

View File

@@ -88,7 +88,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Added `AzureRealtimeBetaLLMService` to support Azure's OpeanAI Realtime API. Added - Added `AzureRealtimeBetaLLMService` to support Azure's OpeanAI Realtime API. Added
foundational example `19a-azure-realtime-beta.py`. foundational example `19a-azure-realtime-beta.py`.
- Introduced `GoogleVertexAIService`, a new class for integrating with Vertex AI - Introduced `GoogleVertexLLMService`, a new class for integrating with Vertex AI
Gemini models. Added foundational example Gemini models. Added foundational example
`14p-function-calling-gemini-vertex-ai.py`. `14p-function-calling-gemini-vertex-ai.py`.

View File

@@ -21,7 +21,7 @@ from pipecat.pipeline.pipeline import Pipeline
from pipecat.pipeline.runner import PipelineRunner from pipecat.pipeline.runner import PipelineRunner
from pipecat.pipeline.task import PipelineParams, PipelineTask from pipecat.pipeline.task import PipelineParams, PipelineTask
from pipecat.services.elevenlabs import ElevenLabsTTSService from pipecat.services.elevenlabs import ElevenLabsTTSService
from pipecat.services.google import GoogleVertexAIService from pipecat.services.google import GoogleVertexLLMService
from pipecat.services.openai import OpenAILLMContext from pipecat.services.openai import OpenAILLMContext
from pipecat.transports.services.daily import DailyParams, DailyTransport from pipecat.transports.services.daily import DailyParams, DailyTransport
@@ -62,9 +62,9 @@ async def main():
voice_id=os.getenv("ELEVENLABS_VOICE_ID", ""), voice_id=os.getenv("ELEVENLABS_VOICE_ID", ""),
) )
llm = GoogleVertexAIService( llm = GoogleVertexLLMService(
# credentials="<json-credentials>", # credentials="<json-credentials>",
params=GoogleVertexAIService.InputParams( params=GoogleVertexLLMService.InputParams(
project_id="<google-project-id>", project_id="<google-project-id>",
) )
) )

View File

@@ -1334,7 +1334,7 @@ class GoogleLLMOpenAIBetaService(OpenAILLMService):
) )
class GoogleVertexAIService(OpenAILLMService): class GoogleVertexLLMService(OpenAILLMService):
"""Implements inference with Google's AI models via Vertex AI while maintaining OpenAI API compatibility. """Implements inference with Google's AI models via Vertex AI while maintaining OpenAI API compatibility.
Reference: Reference:
https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/call-vertex-using-openai-library https://cloud.google.com/vertex-ai/generative-ai/docs/multimodal/call-vertex-using-openai-library