Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it wont work with gemini what to do #148

Open
Uddhav07 opened this issue Aug 28, 2024 · 4 comments
Open

it wont work with gemini what to do #148

Uddhav07 opened this issue Aug 28, 2024 · 4 comments

Comments

@Uddhav07
Copy link

image

@Uddhav07
Copy link
Author

i even tried

from langchain_google_genai import GoogleGenerativeAI

but langsmith unable to import like ughh

@MervinPraison
Copy link
Owner

make sure the agents.yaml looks like this

framework: crewai
topic: create movie script about cat in mars
roles:
  researcher:
    backstory: Skilled in finding and organizing information, with a focus on research
      efficiency.
    goal: Gather information about Mars and cats
    role: Researcher
    llm:  
      model: "google/gemini-1.5-flash-001"
    tasks:
      gather_research:
        description: Research and gather information about Mars, its environment,
          and cats, including their behavior and characteristics.
        expected_output: Document with research findings, including interesting facts
          and information.
    tools:
    - ''

@MervinPraison
Copy link
Owner

Documentation here https://docs.praison.ai/models/google/
Also make sure you set the model in agents.yaml like this model: "google/gemini-1.5-flash-001"

@Uddhav07
Copy link
Author

Documentation here https://docs.praison.ai/models/google/ Also make sure you set the model in agents.yaml like this model: "google/gemini-1.5-flash-001"

Yes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants