go-openai icon indicating copy to clipboard operation
go-openai copied to clipboard

Update RunRequest to match OpenAI parameters

Open TheAdamSmith opened this issue 1 year ago • 0 comments

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

TheAdamSmith avatar May 27 '24 20:05 TheAdamSmith