Skip to content

Commit 7e65f5d

Browse files
authored
Merge pull request #5 from nyo16/patch-1
Update ollama.ex
2 parents 98090ea + 8f519a0 commit 7e65f5d

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/ollama.ex

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -367,6 +367,11 @@ defmodule Ollama do
367367
type: :string,
368368
doc: "Set the expected format of the response (`json`).",
369369
],
370+
raw: [
371+
type: :boolean,
372+
default: false,
373+
doc: "if true no formatting will be applied to the prompt. You may choose to use the raw parameter if you are specifying a full templated prompt in your request to the API",
374+
],
370375
stream: [
371376
type: {:or, [:boolean, :pid]},
372377
default: false,

0 commit comments

Comments
 (0)