October 23, 2024
Chicago 12, Melborne City, USA
python

empty response from ollama when asking it to write a hello world python file


I ran this:
fabric -p generate_python_code -o generated_script.py
and got:
empty response

Here is the pattern:
more /Users/andrewtriboletti/.config/fabric/patterns/generate_python_code/system.md

System
You are a helpful assistant that writes Python code.

User
Generate a Python function that prints "Hello, World!".

What am I doing wrong? Ollama is running at http://localhost:11434/

https://github.com/danielmiessler/fabric/issues/1068



You need to sign in to view this answers

Leave feedback about this

  • Quality
  • Price
  • Service

PROS

+
Add Field

CONS

+
Add Field
Choose Image
Choose Video