diff --git a/env.example b/env.example index 0aed0eb83..9058ef8cf 100644 --- a/env.example +++ b/env.example @@ -45,6 +45,12 @@ FIREWORKS_API_KEY=... # Gladia GLADIA_API_KEY=... +# Google +GOOGLE_API_KEY=... +GOOGLE_CLOUD_PROJECT_ID=... +GOOGLE_TEST_CREDENTIALS=... +GOOGLE_VERTEX_TEST_CREDENTIALS=... + # LMNT LMNT_API_KEY=... LMNT_VOICE_ID=... diff --git a/examples/foundational/14o-function-calling-gemini-openai-format.py b/examples/foundational/14o-function-calling-gemini-openai-format.py index 8f4451f29..51f519d91 100644 --- a/examples/foundational/14o-function-calling-gemini-openai-format.py +++ b/examples/foundational/14o-function-calling-gemini-openai-format.py @@ -67,7 +67,7 @@ async def run_bot(transport: BaseTransport): voice_id=os.getenv("ELEVENLABS_VOICE_ID", ""), ) - llm = GoogleLLMOpenAIBetaService(api_key=os.getenv("GEMINI_API_KEY")) + llm = GoogleLLMOpenAIBetaService(api_key=os.getenv("GOOGLE_API_KEY")) # You can aslo register a function_name of None to get all functions # sent to the same callback with an additional function_name parameter. llm.register_function("get_current_weather", fetch_weather_from_api) diff --git a/examples/foundational/14p-function-calling-gemini-vertex-ai.py b/examples/foundational/14p-function-calling-gemini-vertex-ai.py index a60396c4f..0660b1a41 100644 --- a/examples/foundational/14p-function-calling-gemini-vertex-ai.py +++ b/examples/foundational/14p-function-calling-gemini-vertex-ai.py @@ -68,9 +68,9 @@ async def run_bot(transport: BaseTransport): ) llm = GoogleVertexLLMService( - credentials=os.getenv("GOOGLE_TEST_CREDENTIALS"), + credentials=os.getenv("GOOGLE_VERTEX_TEST_CREDENTIALS"), params=GoogleVertexLLMService.InputParams( - project_id="", + project_id=os.getenv("GOOGLE_CLOUD_PROJECT_ID"), ), ) # You can aslo register a function_name of None to get all functions diff --git a/scripts/evals/run-release-evals.py b/scripts/evals/run-release-evals.py index 6f877c80f..4541fc874 100644 --- a/scripts/evals/run-release-evals.py +++ b/scripts/evals/run-release-evals.py @@ -85,6 +85,7 @@ TESTS_14 = [ ("14i-function-calling-fireworks.py", PROMPT_WEATHER, EVAL_WEATHER), ("14j-function-calling-nim.py", PROMPT_WEATHER, EVAL_WEATHER), ("14n-function-calling-perplexity.py", PROMPT_WEATHER, EVAL_WEATHER), + ("14p-function-calling-gemini-vertex-ai.py", PROMPT_WEATHER, EVAL_WEATHER), ("14q-function-calling-qwen.py", PROMPT_WEATHER, EVAL_WEATHER), ("14r-function-calling-aws.py", PROMPT_WEATHER, EVAL_WEATHER), # Currently not working. @@ -94,7 +95,6 @@ TESTS_14 = [ # ("14l-function-calling-deepseek.py", PROMPT_WEATHER, EVAL_WEATHER), # ("14m-function-calling-openrouter.py", PROMPT_WEATHER, EVAL_WEATHER), # ("14o-function-calling-gemini-openai-format.py", PROMPT_WEATHER, EVAL_WEATHER), - # ("14p-function-calling-gemini-vertex-ai.py", PROMPT_WEATHER, EVAL_WEATHER), ] TESTS_19 = [