Skip to content

[FAQ Bot] NEW: What needs to change in agent.py to use Gemini instead of OpenAI?#320

Open
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-319
Open

[FAQ Bot] NEW: What needs to change in agent.py to use Gemini instead of OpenAI?#320
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-319

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

✨ FAQ NEW

Course: llm-zoomcamp
Section: module-1-rag (This is an LLM/provider/framework setup question for Module 1 RAG agent code, so it belongs in the Module 1 RAG section.)
Related Issue: #319

Question

What needs to change in agent.py to use Gemini instead of OpenAI?

Decision Rationale

No existing FAQ explicitly covers switching the agent.py PydanticAI provider from OpenAI to Gemini by changing the provider prefix (e.g., to google:) and the required environment variable.

Placement Details

  • Section ID: module-1-rag
  • Sort Order: End of section
  • Filename Slug: agent-gemini-provider-prefix-google

🤖 Generated by FAQ Bot

Closes #319

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

Successfully merging this pull request may close these issues.

[FAQ] Workshop: Open-Source Data Ingestion (dlt) - What needs to change in agent.py to use Gemini instead of OpenAI?

0 participants