Framework for orchestrating role-playing, autonomous AI agents. By fostering collaborative intelligence, CrewAI empowers agents to work together seamlessly, tackling complex tasks.
clean up google docs (#2061)
Brandon Hancock (bhancock_ai)74a1de8550b1
diff --git a/docs/concepts/llms.mdx b/docs/concepts/llms.mdxindex b6a3ac328..117face04 100644--- a/docs/concepts/llms.mdx+++ b/docs/concepts/llms.mdx@@ -463,26 +463,32 @@ Learn how to get the most out of your LLM configuration:<Accordion title="Google">```python Code- # Option 1. Gemini accessed with an API key.+ # Option 1: Gemini accessed with an API key.# https://ai.google.dev/gemini-api/docs/api-keyGEMINI_API_KEY=<your-api-key>- # Option 2. Vertex AI IAM credentials for Gemini, Anthropic, and anything in the Model Garden.+ # Option 2: Vertex AI IAM credentials for Gemini, Anthropic, and Model Garden.# https://cloud.google.com/vertex-ai/generative-ai/docs/overview```- ## GET CREDENTIALS+ Get credentials:+ ```python Code+ import json+file_path = 'path/to/vertex_ai_service_account.json'# Load the JSON filewith open(file_path, 'r') as file:vertex_credentials = json.load(file)- # Convert to JSON string+ # Convert the credentials to a JSON stringvertex_credentials_json = json.dumps(vertex_credentials)+ ```Example usage:```python Code+ from crewai import LLM+llm = LLM(model="gemini/gemini-1.5-pro-latest",temperature=0.7,