Skip to content

Commit

Permalink
Update init.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
AntoineJac authored Jun 7, 2024
1 parent 81d6814 commit a7f3f78
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions kong/llm/schemas/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,16 @@ local model_options_schema = {
description = "Defines the max_tokens, if using chat or completion models.",
required = false,
default = 256 }},
{ input_cost = {
type = "number",
description = "Defines the cost per 1000 tokens in your prompt.",
required = false,
between = { 0.0, 0.1 }}},
{ output_cost = {
type = "number",
description = "Defines the cost per 1000 tokens in the output of the AI.",
required = false,
between = { 0.0, 0.1 }}},
{ temperature = {
type = "number",
description = "Defines the matching temperature, if using chat or completion models.",
Expand Down

0 comments on commit a7f3f78

Please sign in to comment.