a simple user interface for ollama
start the ollama server
ollama serve
start the ui server
deno run --allow-net --allow-read serve.ts
arguments:
baseUrl
where ollama is served (defaults tohttp://localhost:11434
)system
the system prompt (defaults toBe concise, no more than 200 characters in each response. Do not moralize. Do not hallucinate.
)
example:
deno run --allow-net --allow-read serve.ts --system="Answer like a drunk cowboy" --baseUrl=https://my-server.com