Version
Flock v0.5.0
DuckDB v1.4.2 (Andium) 68d7555f68
Behavior
When trying the getting started Ollama example with local model
CREATE SECRET (
TYPE OLLAMA,
API_URL '127.0.0.1:11434'
);
CREATE MODEL(
'QuackingModel',
'qwen3:4b',
'ollama',
{"tuple_format": "json", "batch_size": 32, "model_parameters": {"temperature": 0.7}}
);
SELECT llm_complete(
{'model_name': 'QuackingModel'},
{'prompt': 'Talk like a duck 🦆 and write a poem about a database 📚'}
);
I got the following error:
[ModelProvider] error. Reason: JSON parse error: [json.exception.parse_error.101] parse error at line 1, column 1: attempting to parse an empty input; check that your input string or stream contains the expected JSON
I have download the model and checked that Ollama is running locally on 127.0.0.1:11434.
Maybe do you know Why I got this error?