By Team Edtoolkits · AI learning
Inspect model name, role order, temperature and streaming fields before using a separate local client.
Use the guide alongside the working tool.
Open Call Your Local Model from Code →Explore the lesson
Watch a script send a message to localhost and get a reply.
Write ask.py, run it and change the question.
Build the request and use the troubleshooter if it fails.
A comparison to try
Enter a short question and a system instruction, then read the generated request JSON. Check that the system message precedes the user message and stream is false. Try a question containing quotation marks.
Read the result
A request builder exposes the exact text and options another program would send. It does not establish that a runner is installed, that the named model exists or that an answer has been generated.
A mistake to avoid
The page never calls your model. Endpoint and schema conventions can differ between runners; keep a local service appropriately restricted and check its documentation before reusing the request in another application.
Teaching model and privacy
A written tutorial with a request builder. The page never calls your model. The address and request shape follow Ollama's documented chat endpoint; other runners differ, so check yours.
Ready to apply this workflow?
Try Call Your Local Model from Code →Explore a related workflow
- Choose a course entry point and verify saved progress
Use prior knowledge to select a starting chapter while distinguishing local progress from an account or a qualification.
- AI Tokens: Inspect Pieces, Spaces and Stable Teaching IDs
Compare common words, rare words and numbers without using the playground as an exact provider counter.
- Inspect candidates before continuing text
Compare normalized next-word probabilities with the choices sampled from them.
- Choose complexity using held-out error
Compare training and test curves before calling a detailed fit an improvement.
Found unclear instructions or an unexpected result? Contact Team Edtoolkits.