Spaces:
Running
Running
Update service_config.jsonc
Browse files- service_config.jsonc +9 -9
service_config.jsonc
CHANGED
@@ -273,7 +273,7 @@
|
|
273 |
{
|
274 |
"name": "book_flight_api",
|
275 |
"description": "{{departure_city}} - {{arrival_city}} seferli {{flight_id}} numaralı uçuş için {{passenger_count}} kişilik rezervasyon yapılacak. Toplam {{total_price}} tutarındaki ödeme kayıtlı kredi kartınızdan tahsil edilecek",
|
276 |
-
"url": "https://
|
277 |
"method": "POST",
|
278 |
"headers": "{\"Authorization\": \"Bearer {{auth_tokens.book_flight_api.token}}\", \"Content-Type\": \"application/json\"}",
|
279 |
"body_template": "{\"origin\": \"{{variables.origin}}\", \"destination\": \"{{variables.destination}}\", \"flight_date\": \"{{variables.flight_date}}\", \"passenger_count\": \"{{variables.passenger_count}}\"}",
|
@@ -285,10 +285,10 @@
|
|
285 |
},
|
286 |
"auth": {
|
287 |
"enabled": true,
|
288 |
-
"token_endpoint": "https://
|
289 |
"response_token_path": "token",
|
290 |
"token_request_body": "{}",
|
291 |
-
"token_refresh_endpoint": "https://
|
292 |
"token_refresh_body": "{}"
|
293 |
},
|
294 |
"response_prompt": "Kullanıcının uçak bileti rezervasyonu başarıyla tamamlandı. Aşağıdaki bilgileri kullanarak samimi ve doğal bir {{current_language_name}} ile özet hazırla. Rezervasyon numarasını mutlaka belirt. Sohbet bitiminde 'Sizin için yapabileceğim başka bir şey var mı?' diye sor:\n\n{{api_response}}",
|
@@ -327,7 +327,7 @@
|
|
327 |
{
|
328 |
"name": "flight_info_api",
|
329 |
"description": "{{departure_city}} şehrinden {{arrival_city}} şehrine {{departure_date}} tarihinde kalkan uçuşlar aranıyor",
|
330 |
-
"url": "https://
|
331 |
"method": "POST",
|
332 |
"headers": "{\"Authorization\": \"Bearer {{auth_tokens.flight_info_api.token}}\", \"Content-Type\": \"application/json\"}",
|
333 |
"body_template": "{\"flight_number\": \"{{variables.flight_number}}\"}",
|
@@ -339,10 +339,10 @@
|
|
339 |
},
|
340 |
"auth": {
|
341 |
"enabled": true,
|
342 |
-
"token_endpoint": "https://
|
343 |
"response_token_path": "token",
|
344 |
"token_request_body": "{}",
|
345 |
-
"token_refresh_endpoint": "https://
|
346 |
"token_refresh_body": "{}"
|
347 |
},
|
348 |
"response_prompt": "Aşağıdaki uçuş durumu bilgilerini kullanarak, kullanıcıya kısa ve anlaşılır bir bilgi ver:\n\n{{api_response}}",
|
@@ -369,7 +369,7 @@
|
|
369 |
{
|
370 |
"name": "cancel_booking_api",
|
371 |
"description": "{{pnr}} numaralı rezervasyonunuz iptal edilecek.",
|
372 |
-
"url": "https://
|
373 |
"method": "POST",
|
374 |
"headers": "{\"Authorization\": \"Bearer {{auth_tokens.cancel_booking_api.token}}\", \"Content-Type\": \"application/json\"}",
|
375 |
"body_template": "{\"pnr\": \"{{variables.pnr}}\", \"surname\": \"{{variables.surname}}\"}",
|
@@ -381,10 +381,10 @@
|
|
381 |
},
|
382 |
"auth": {
|
383 |
"enabled": true,
|
384 |
-
"token_endpoint": "https://
|
385 |
"response_token_path": "token",
|
386 |
"token_request_body": "{}",
|
387 |
-
"token_refresh_endpoint": "https://
|
388 |
"token_refresh_body": "{}"
|
389 |
},
|
390 |
"response_prompt": "Aşağıdaki iptal işlemi sonucunu kullanarak, kullanıcıya rezervasyonunun başarıyla iptal edildiğini bildir:\n\n{{api_response}}",
|
|
|
273 |
{
|
274 |
"name": "book_flight_api",
|
275 |
"description": "{{departure_city}} - {{arrival_city}} seferli {{flight_id}} numaralı uçuş için {{passenger_count}} kişilik rezervasyon yapılacak. Toplam {{total_price}} tutarındaki ödeme kayıtlı kredi kartınızdan tahsil edilecek",
|
276 |
+
"url": "https://9d8c-176-88-34-21.ngrok-free.app/book",
|
277 |
"method": "POST",
|
278 |
"headers": "{\"Authorization\": \"Bearer {{auth_tokens.book_flight_api.token}}\", \"Content-Type\": \"application/json\"}",
|
279 |
"body_template": "{\"origin\": \"{{variables.origin}}\", \"destination\": \"{{variables.destination}}\", \"flight_date\": \"{{variables.flight_date}}\", \"passenger_count\": \"{{variables.passenger_count}}\"}",
|
|
|
285 |
},
|
286 |
"auth": {
|
287 |
"enabled": true,
|
288 |
+
"token_endpoint": "https://9d8c-176-88-34-21.ngrok-free.app/auth",
|
289 |
"response_token_path": "token",
|
290 |
"token_request_body": "{}",
|
291 |
+
"token_refresh_endpoint": "https://9d8c-176-88-34-21.ngrok-free.app/refresh",
|
292 |
"token_refresh_body": "{}"
|
293 |
},
|
294 |
"response_prompt": "Kullanıcının uçak bileti rezervasyonu başarıyla tamamlandı. Aşağıdaki bilgileri kullanarak samimi ve doğal bir {{current_language_name}} ile özet hazırla. Rezervasyon numarasını mutlaka belirt. Sohbet bitiminde 'Sizin için yapabileceğim başka bir şey var mı?' diye sor:\n\n{{api_response}}",
|
|
|
327 |
{
|
328 |
"name": "flight_info_api",
|
329 |
"description": "{{departure_city}} şehrinden {{arrival_city}} şehrine {{departure_date}} tarihinde kalkan uçuşlar aranıyor",
|
330 |
+
"url": "https://9d8c-176-88-34-21.ngrok-free.app/status",
|
331 |
"method": "POST",
|
332 |
"headers": "{\"Authorization\": \"Bearer {{auth_tokens.flight_info_api.token}}\", \"Content-Type\": \"application/json\"}",
|
333 |
"body_template": "{\"flight_number\": \"{{variables.flight_number}}\"}",
|
|
|
339 |
},
|
340 |
"auth": {
|
341 |
"enabled": true,
|
342 |
+
"token_endpoint": "https://9d8c-176-88-34-21.ngrok-free.app/auth",
|
343 |
"response_token_path": "token",
|
344 |
"token_request_body": "{}",
|
345 |
+
"token_refresh_endpoint": "https://9d8c-176-88-34-21.ngrok-free.app/refresh",
|
346 |
"token_refresh_body": "{}"
|
347 |
},
|
348 |
"response_prompt": "Aşağıdaki uçuş durumu bilgilerini kullanarak, kullanıcıya kısa ve anlaşılır bir bilgi ver:\n\n{{api_response}}",
|
|
|
369 |
{
|
370 |
"name": "cancel_booking_api",
|
371 |
"description": "{{pnr}} numaralı rezervasyonunuz iptal edilecek.",
|
372 |
+
"url": "https://9d8c-176-88-34-21.ngrok-free.app/cancel",
|
373 |
"method": "POST",
|
374 |
"headers": "{\"Authorization\": \"Bearer {{auth_tokens.cancel_booking_api.token}}\", \"Content-Type\": \"application/json\"}",
|
375 |
"body_template": "{\"pnr\": \"{{variables.pnr}}\", \"surname\": \"{{variables.surname}}\"}",
|
|
|
381 |
},
|
382 |
"auth": {
|
383 |
"enabled": true,
|
384 |
+
"token_endpoint": "https://9d8c-176-88-34-21.ngrok-free.app/auth",
|
385 |
"response_token_path": "token",
|
386 |
"token_request_body": "{}",
|
387 |
+
"token_refresh_endpoint": "https://9d8c-176-88-34-21.ngrok-free.app/refresh",
|
388 |
"token_refresh_body": "{}"
|
389 |
},
|
390 |
"response_prompt": "Aşağıdaki iptal işlemi sonucunu kullanarak, kullanıcıya rezervasyonunun başarıyla iptal edildiğini bildir:\n\n{{api_response}}",
|