Extract OpenAI.Completion struct

This commit is contained in:
Claudio Ortolina
2024-12-11 23:24:16 +03:00
parent 8d7fe4d660
commit 3c85f9e974
3 changed files with 18 additions and 11 deletions
+5
View File
@@ -0,0 +1,5 @@
defmodule OpenAI.Completion do
defstruct content: "",
temperature: 0.2,
role: "user"
end