mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 19:46:48 +08:00
feat(ai): add endpoints to chat with ai service (#8585)
Co-authored-by: Riddhiagrawal001 <riddhi.agrawal2112@gmail.com> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
@ -191,3 +191,6 @@ pub const METRICS_HOST_TAG_NAME: &str = "host";
|
||||
|
||||
/// API client request timeout (in seconds)
|
||||
pub const REQUEST_TIME_OUT: u64 = 30;
|
||||
|
||||
/// API client request timeout for ai service (in seconds)
|
||||
pub const REQUEST_TIME_OUT_FOR_AI_SERVICE: u64 = 120;
|
||||
|
||||
@ -137,6 +137,7 @@ pub enum ApiEventsType {
|
||||
profile_acquirer_id: id_type::ProfileAcquirerId,
|
||||
},
|
||||
ThreeDsDecisionRule,
|
||||
Chat,
|
||||
}
|
||||
|
||||
impl ApiEventMetric for serde_json::Value {}
|
||||
|
||||
Reference in New Issue
Block a user