Response format like chatGPT

1 Answer 47 Views
AIPrompt
IT
Top achievements
Rank 1
IT asked on 22 Feb 2024, 03:24 PM

Hi,

We are using Azure OpenAI API.

Is it possible to show the response in the same way chatGPT does it ?  Please see the attached image.

Thank you.!

1 Answer, 1 is accepted

Sort by
0
Nansi
Telerik team
answered on 27 Feb 2024, 11:09 AM

Hello,

To change the appearance of the Prompt and the Output you can use the AIPrompt Views Templates. I am sending a link to another forum thread, where we have prepared an example for a chat view.

The template will also allow further customizations of the output content, including even MarkupString() if necessary, for example, to render a formatted code block. Of course, this may not be completely safe when you don't know what the output will be.

On a side note, please ask the license holder at your company to assign you a license, so that your account is compliant with our license agreement.

Regards,
Nansi
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Tags
AIPrompt
Asked by
IT
Top achievements
Rank 1
Answers by
Nansi
Telerik team
Share this question
or