Spaces:
Building
Building
Update service_config.jsonc
Browse files- service_config.jsonc +9 -9
service_config.jsonc
CHANGED
@@ -168,7 +168,7 @@
|
|
168 |
"apis": [
|
169 |
{
|
170 |
"name": "book_flight_api",
|
171 |
-
"url": "https://
|
172 |
"method": "POST",
|
173 |
"headers": {
|
174 |
"Authorization": "Bearer {{auth_tokens.book_flight_api.token}}",
|
@@ -188,17 +188,17 @@
|
|
188 |
},
|
189 |
"auth": {
|
190 |
"enabled": true,
|
191 |
-
"token_endpoint": "https://
|
192 |
"response_token_path": "token",
|
193 |
"token_request_body": {},
|
194 |
-
"token_refresh_endpoint": "https://
|
195 |
"token_refresh_body": {}
|
196 |
},
|
197 |
"response_prompt": "Kullanıcının uçak bileti rezervasyonu başarıyla tamamlandı. Aşağıdaki bilgileri kullanarak nazik ve bilgilendirici bir özet hazırla. Rezervasyon numarasını mutlaka belirt:\n\n{{api_response}}"
|
198 |
},
|
199 |
{
|
200 |
"name": "flight_info_api",
|
201 |
-
"url": "https://
|
202 |
"method": "POST",
|
203 |
"headers": {
|
204 |
"Authorization": "Bearer {{auth_tokens.flight_info_api.token}}",
|
@@ -215,17 +215,17 @@
|
|
215 |
},
|
216 |
"auth": {
|
217 |
"enabled": true,
|
218 |
-
"token_endpoint": "https://
|
219 |
"response_token_path": "token",
|
220 |
"token_request_body": {},
|
221 |
-
"token_refresh_endpoint": "https://
|
222 |
"token_refresh_body": {}
|
223 |
},
|
224 |
"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}}"
|
225 |
},
|
226 |
{
|
227 |
"name": "cancel_booking_api",
|
228 |
-
"url": "https://
|
229 |
"method": "POST",
|
230 |
"headers": {
|
231 |
"Authorization": "Bearer {{auth_tokens.cancel_booking_api.token}}",
|
@@ -243,10 +243,10 @@
|
|
243 |
},
|
244 |
"auth": {
|
245 |
"enabled": true,
|
246 |
-
"token_endpoint": "https://
|
247 |
"response_token_path": "token",
|
248 |
"token_request_body": {},
|
249 |
-
"token_refresh_endpoint": "https://
|
250 |
"token_refresh_body": {}
|
251 |
},
|
252 |
"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}}"
|
|
|
168 |
"apis": [
|
169 |
{
|
170 |
"name": "book_flight_api",
|
171 |
+
"url": "https://ef5b-176-88-34-20.ngrok-free.app/book",
|
172 |
"method": "POST",
|
173 |
"headers": {
|
174 |
"Authorization": "Bearer {{auth_tokens.book_flight_api.token}}",
|
|
|
188 |
},
|
189 |
"auth": {
|
190 |
"enabled": true,
|
191 |
+
"token_endpoint": "https://ef5b-176-88-34-20.ngrok-free.app/auth",
|
192 |
"response_token_path": "token",
|
193 |
"token_request_body": {},
|
194 |
+
"token_refresh_endpoint": "https://ef5b-176-88-34-20.ngrok-free.app/refresh",
|
195 |
"token_refresh_body": {}
|
196 |
},
|
197 |
"response_prompt": "Kullanıcının uçak bileti rezervasyonu başarıyla tamamlandı. Aşağıdaki bilgileri kullanarak nazik ve bilgilendirici bir özet hazırla. Rezervasyon numarasını mutlaka belirt:\n\n{{api_response}}"
|
198 |
},
|
199 |
{
|
200 |
"name": "flight_info_api",
|
201 |
+
"url": "https://ef5b-176-88-34-20.ngrok-free.app/status",
|
202 |
"method": "POST",
|
203 |
"headers": {
|
204 |
"Authorization": "Bearer {{auth_tokens.flight_info_api.token}}",
|
|
|
215 |
},
|
216 |
"auth": {
|
217 |
"enabled": true,
|
218 |
+
"token_endpoint": "https://ef5b-176-88-34-20.ngrok-free.app/auth",
|
219 |
"response_token_path": "token",
|
220 |
"token_request_body": {},
|
221 |
+
"token_refresh_endpoint": "https://ef5b-176-88-34-20.ngrok-free.app/refresh",
|
222 |
"token_refresh_body": {}
|
223 |
},
|
224 |
"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}}"
|
225 |
},
|
226 |
{
|
227 |
"name": "cancel_booking_api",
|
228 |
+
"url": "https://ef5b-176-88-34-20.ngrok-free.app/cancel",
|
229 |
"method": "POST",
|
230 |
"headers": {
|
231 |
"Authorization": "Bearer {{auth_tokens.cancel_booking_api.token}}",
|
|
|
243 |
},
|
244 |
"auth": {
|
245 |
"enabled": true,
|
246 |
+
"token_endpoint": "https://ef5b-176-88-34-20.ngrok-free.app/auth",
|
247 |
"response_token_path": "token",
|
248 |
"token_request_body": {},
|
249 |
+
"token_refresh_endpoint": "https://ef5b-176-88-34-20.ngrok-free.app/refresh",
|
250 |
"token_refresh_body": {}
|
251 |
},
|
252 |
"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}}"
|