Raw Content is not working in Websocket Architecture
D
Daoud
started a topic
about 3 years ago
Whenever I send the message to websocket with following object : { type: "newContentPart", contentType: "Raw Content" }
It gives me the following error in the mesage: Invalid value for field contentType, Raw Content is not of type ContentType.
But "Raw Content" is working fine in the Rest Architecture.
Best Answer
G
Gwenaelle @MyScript
said
about 3 years ago
Hi Daoud!
Thank you for your question.
You are right , as for now the "Raw Content" type is not supported by the Web Sockets mode.
Daoud
Whenever I send the message to websocket with following object :
{ type: "newContentPart", contentType: "Raw Content" }
It gives me the following error in the mesage:
Invalid value for field contentType, Raw Content is not of type ContentType.
But "Raw Content" is working fine in the Rest Architecture.
Hi Daoud!
Thank you for your question.
You are right , as for now the "Raw Content" type is not supported by the Web Sockets mode.
As indicated in the documentation , as for now the REST API performs the following types of recognition: Text, Math, Diagram or Raw Content.
whereas the WebSockets supports only TEXT or MATH.
Best regards,
Gwenaëlle
Gwenaelle @MyScript
Hi Daoud!
Thank you for your question.
You are right , as for now the "Raw Content" type is not supported by the Web Sockets mode.
As indicated in the documentation , as for now the REST API performs the following types of recognition: Text, Math, Diagram or Raw Content.
whereas the WebSockets supports only TEXT or MATH.
Best regards,
Gwenaëlle