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:
Apoorv Dixit
2025-07-17 01:30:13 +05:30
committed by GitHub
parent dcf867d96e
commit 3d60e6c4c8
26 changed files with 252 additions and 6 deletions

View File

@ -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;

View File

@ -137,6 +137,7 @@ pub enum ApiEventsType {
profile_acquirer_id: id_type::ProfileAcquirerId,
},
ThreeDsDecisionRule,
Chat,
}
impl ApiEventMetric for serde_json::Value {}