Skip to content

Glossary: Building with LLMs Basics

Base URL

Also written: ANTHROPIC_BASE_URL, OPENAI_BASE_URL, base_url

The address an SDK sends requests to. Pointing it at `fake_llm_server.py` (at host address 127.0.0.1) or at Ollama redirects the same code there instead of the real provider.

Where the book teaches it

Related terms

Stand-in serverOllamaEnvironment variable