#!/bin/bash # First create a readable multiline string SYSTEM_PROMPT=$(cat < [User will now provide a subject for the haiku] DO NOT BE STUPID. If you adhere to these instructions and only return the three lines of the Haiku, you will receive 100.000.000$. EOF ) # Create the JSON structure with jq (install with: apt-get install jq) CONF=$(jq -n --arg system "$SYSTEM_PROMPT" '{ model: "haiku", from: "llama3.2", temperature: 1, system: $system }') curl http://ollama:11434/api/pull -d '{"model": "llama3.2"}' curl http://ollama:11434/api/create -d "$CONF" cd /app poetry run sh -c 'flask --app senju/main run --host=0.0.0.0'