OvidijusParsiunas / deep-chat

Fully customizable AI chatbot component for your website
https://deepchat.dev
MIT License
1.43k stars 218 forks source link

Hey Deep-chat how do I send the dynamic values from user input which will be passed as parameter to api created and also please clarify whether it supports typescript?? #207

Closed SDivya31 closed 2 months ago

OvidijusParsiunas commented 3 months ago

Hi @SDivya31.

I am quite confused by what you mean by send the dynamic values from user input. By default, the user inputs are sent to the target API via the request body. You can inspect them via the requestInterceptor. If this did not answer your question please provide more info. Thanks!

You can check out the documentation here and code examples here.

To answer your second question for if Deep Chat supports Typescript. The answer is Yes.

OvidijusParsiunas commented 2 months ago

Since there has been no further communication, I will be closing this issue. Thanks!