Update memory.mdx

Fixing parameter in embedder for Google AI documentation and pyproject.toml dependencie update
This commit is contained in:
Cristian Medeiros
2025-01-30 18:08:05 -03:00
committed by GitHub
parent 477cce321f
commit 719cb58218

View File

@@ -211,6 +211,14 @@ my_crew = Crew(
### Using Google AI embeddings
You will need to update your *pyproject.toml* dependencies:
```YAML
dependencies = [
"google-generativeai>=0.1",
"crewai[tools]>=0.100.0,<1.0.0"
]
```
```python Code
from crewai import Crew, Agent, Task, Process
@@ -224,7 +232,7 @@ my_crew = Crew(
"provider": "google",
"config": {
"api_key": "<YOUR_API_KEY>",
"model_name": "<model_name>"
"model": "models/<model_name>"
}
}
)