Skip to content

Commit

Permalink
sorted and added 2 new parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
restlessronin committed Nov 11, 2023
1 parent 38ab1bf commit b819f5f
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions lib/openai_ex/chat_completion.ex
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,34 @@ defmodule OpenaiEx.ChatCompletion do
- `:messages`
- `:model`
- `:frequency_penalty`
- `:tool_choice`
- `:tools`
- `:logit_bias`
- `:max_tokens`
- `:n`
- `:presence_penalty`
- `:response_format`
- `:seed`
- `:stop`
- `:temperature`
- `:top_p`
- `:tools`
- `:tool_choice`
- `:user`
"""
@api_fields [
:messages,
:model,
:tool_choice,
:tools,
:frequency_penalty,
:logit_bias,
:max_tokens,
:n,
:presence_penalty,
:response_format,
:seed,
:stop,
:temperature,
:top_p,
:tools,
:tool_choice,
:user
]

Expand Down

0 comments on commit b819f5f

Please sign in to comment.