Skip to content

[FAQ Bot] NEW: Why does starter.py fail if you don’t call load_dotenv() before impo#315

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

[FAQ Bot] NEW: Why does starter.py fail if you don’t call load_dotenv() before impo#315
github-actions[bot] wants to merge 1 commit into
mainfrom
faq-bot/issue-314

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

✨ FAQ NEW

Course: llm-zoomcamp
Section: module-1-rag (This is an environment/import order issue related to Module 1 RAG setup and starter initialization, so module-1-rag is the closest fit among the available sections.)
Related Issue: #314

Question

Why does starter.py fail if you don’t call load_dotenv() before importing it?

Decision Rationale

No existing FAQ explicitly covers why starter.py crashes on import when load_dotenv() wasn’t called yet (and how this interacts with OpenTelemetry setup for the monitoring homework).

Placement Details

  • Section ID: module-1-rag
  • Sort Order: End of section
  • Filename Slug: starter-py-load-dotenv-order-import

⚠️ Warnings

  • Placement may be better in a monitoring/homework section, but no dedicated monitoring-workflow section exists beyond module-5 and the provided section set points to module-1-rag for setup/import issues.

🤖 Generated by FAQ Bot

Closes #314

@github-actions github-actions Bot mentioned this pull request Jul 18, 2026
3 tasks
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]

0 participants