go-openai
go-openai copied to clipboard
Update RunRequest to match OpenAI parameters
Your issue may already be reported! Please search on the issue tracker before creating one.
Is your feature request related to a problem? Please describe.
I would like to be able to add values to the top_p, tool_choice, and response_format parameters of a run request
https://platform.openai.com/docs/api-reference/runs/createRun
Describe the solution you'd like
Add these fields to the RunRequest struct. Ignore the stream param for now since that requires an assistant streaming implementation. The others should be safe to add.
Describe alternatives you've considered n/a
Additional context n/a