mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
This commit is contained in:
committed by
GitHub
parent
c408368267
commit
9b10fd47b0
@@ -282,6 +282,19 @@ my_crew = Crew(
|
|||||||
|
|
||||||
### Using Google AI embeddings
|
### Using Google AI embeddings
|
||||||
|
|
||||||
|
#### Prerequisites
|
||||||
|
Before using Google AI embeddings, ensure you have:
|
||||||
|
- Access to the Gemini API
|
||||||
|
- The necessary API keys and permissions
|
||||||
|
|
||||||
|
You will need to update your *pyproject.toml* dependencies:
|
||||||
|
```YAML
|
||||||
|
dependencies = [
|
||||||
|
"google-generativeai>=0.8.4", #main version in January/2025 - crewai v.0.100.0 and crewai-tools 0.33.0
|
||||||
|
"crewai[tools]>=0.100.0,<1.0.0"
|
||||||
|
]
|
||||||
|
```
|
||||||
|
|
||||||
```python Code
|
```python Code
|
||||||
from crewai import Crew, Agent, Task, Process
|
from crewai import Crew, Agent, Task, Process
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user