Simplify creation of `openai4s.types.chat.Response.Choice.Message`
kevin-lee opened this issue · 0 comments
kevin-lee commented
Summary
Simplify creation of openai4s.types.chat.Response.Choice.Message
Version
0.1.0-alpha5
Description
Instead of
import openai4s.types
import openai4s.types.chat.*
Response.Choice.Message(
types.Message(
types.Message.Role("assistant"),
types.Message.Content("content value")
)
)
it could be
import openai4s.types
import openai4s.types.chat.*
Response.Choice.Message(
types.Message.Role("assistant"),
types.Message.Content("content value")
)