64bit / async-openai

Rust library for OpenAI
https://docs.rs/async-openai
MIT License
1.11k stars 166 forks source link

add methods to run chat and completion with extra args #248

Closed kczimm closed 1 month ago

kczimm commented 1 month ago

This PR adds methods to the Chat and Completions API to allow serializing extra arguments into the payload for services that provide support for additional arguments (e.g. vLLM).

64bit commented 1 month ago

Thank you, a PR is always appreciated, however this is out of the scope for this library, for more details please see Contribution guidelines

kczimm commented 1 month ago

Ah, my apologies. I didn't read that. Thanks!