MCPcopy Create free account
hub / github.com/mlco2/codecarbon / ollama_local_api.py

File ollama_local_api.py

examples/ollama_local_api.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1"""
2This example demonstrates how to use the OLLAMA API locally.
3Install it by following the instructions :
4

Callers

nothing calls this directly

Calls 5

EmissionsTrackerClass · 0.90
extract_text_from_urlFunction · 0.85
call_ollama_apiFunction · 0.85
startMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected