dongri/openai-api-rs

Support API parameters

Closed this issue · 3 comments

Describe the feature or improvement you're requesting

Thanks for making this package! I think having support for other API parameters (https://platform.openai.com/docs/api-reference/completions) like temperature/ n_tokens will be super helpful.

Also any reason the model names are consts vs some enum structure?

Additional context

No response

dongri commented

@cryingpotat0
#13

Add parameters for chat completions

dongri commented

@cryingpotat0 can use v0.1.9

Thanks so much!