Path · 13 lessons · about 1 h 41 min
App developers
For people calling Phaseo from their own code.
Start path
0 of 13 lessons complete
- 1What Phaseo isPhaseo is a gateway: one API and one key in front of many models and the providers that host them.6 min
- 2Create an account and a keySign up, learn what a workspace owns, and create an API key you keep out of your code.7 min
- 3Find your way aroundLearn the handful of pages you'll use first: models, keys, billing, usage, logs and workspace settings.6 min
- 4Choose a modelUse the Models list, model pages and Compare to find a few candidates, then test them on your own examples before you commit.8 min
- 5Make a requestSend your API key, a model ID and your input to one OpenAI-compatible endpoint.7 min
- 6Read the responseFind the reply, why it stopped, who served it and what it cost.6 min
- 7When a request failsBranch on the error code and status, and retry only the errors that can succeed later.8 min
- 8Stream itShow the reply as it's written, and tell a finished stream from a broken one.9 min
- 11Call toolsDescribe your functions, run the calls the model asks for, and send the results back until it answers.10 min
- 12Get structured outputSend a JSON Schema so the model returns JSON in your shape, then validate it before you use it.8 min
- 13Send images and audioAdd images, files and audio to a request, pick the endpoint for the output you want, and find models that accept each input.9 min