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

Added support for stream_options in chat completions

Open usrivastava92 opened this issue 1 year ago • 0 comments

Fixes: #502

Changes

  • Added support for stream_options in ChatCompletionRequest
  • Added Usage object in ChatCompletionChunk Official Docs: https://platform.openai.com/docs/api-reference/chat/create#chat-create-stream_options

New API Checklist

  1. ✅ Documentation for every variable
  2. ✅ Class-level documentation
  3. ✅ POJO JSON parsing tests
  4. ✅ Service integration tests

usrivastava92 avatar May 17 '24 14:05 usrivastava92