Replies: 3 comments 5 replies
-
|
Beta Was this translation helpful? Give feedback.
-
Following are some examples of current messages sent vs future ones with this change -
@lyjeileen yes, I agree, it would be simpler to define two types for the content with clear indication of the fields. |
Beta Was this translation helpful? Give feedback.
-
We decided to keep the Multipart and introduced a separate component for ChatCompletion. The changes discussed were released in v.0.0.34 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Most LLM Agent libraries and services now conform to a standard interface similar to OpenAI's ChatCompletionRequest. It would make ui-components library easier to use and adopt if the input components send messages in this format instead of custom formats such as
text
andfilesWithText
.OpenAI only documents using image and audio for content types of ChatCompletionRequest but we could make it more generic to support any file type.
For example, the interface could be something like,
and some sample corresponding messages sent on the websocket could be
Pros
ui-components
library with LLM AgentsCons
Beta Was this translation helpful? Give feedback.
All reactions