Commands
base_url
The web address your code sends requests to; for Cerebras it is https://api.cerebras.ai/v1, and changing this is how you switch from the OpenAI SDK to Cerebras.
Related areas
Alternate definitions 6
Definition 2Files & config
A setting in the OpenAI Python client that tells it which server to send requests to; changing it to a Groq or other compatible endpoint lets you swap providers without rewriting your code.
Files & config · curriculum materials
Definition 3Files & config
The openai SDK parameter pointed at Groq's endpoint so an OpenAI-compatible script runs on Groq by changing only this one value.
Files & config · curriculum materials
Definition 4Files & config
The web address of the model server Hermes talks to (e.g. a local LM Studio server).
Files & config · curriculum materials
Definition 5Commands
The openai SDK parameter set to Jan's local server so code written for the OpenAI API is redirected to your local model with no other changes.
Commands · curriculum materials
Definition 6Libraries & Code
A configuration field that tells a client library where the API server lives — for LM Studio you set this to your local server address instead of OpenAI's cloud address.
Libraries & Code · curriculum materials
Definition 7Concepts
A configuration setting that tells an API client where to send its requests; point it to http://localhost:11434/v1 to redirect OpenAI library calls to your local Ollama server.
Concepts · curriculum materials