ciyidogan commited on
Commit
1715ccc
·
verified ·
1 Parent(s): 643724a

Update service_config.json

Browse files
Files changed (1) hide show
  1. service_config.json +16 -85
service_config.json CHANGED
@@ -7,16 +7,23 @@
7
  },
8
  "projects": {
9
  "project1": {
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  "intents": [
11
  {
12
  "name": "currency-rate-intent",
13
- "examples": [
14
- "What is the dollar rate?",
15
- "How much is the euro?",
16
- "How many TL is 1 dollar?",
17
- "Dollar to TL exchange",
18
- "Today's euro value"
19
- ],
20
  "parameters": [
21
  {
22
  "name": "currency",
@@ -30,52 +37,8 @@
30
  "fallback_timeout_message": "Sorry, the currency service is currently unavailable. Please try again later.",
31
  "fallback_error_message": "An error occurred; the currency information could not be retrieved.",
32
  "humanization_prompt": "Summarize the currency exchange response in a natural and user-friendly way."
33
- },
34
- {
35
- "name": "traffic-status-intent",
36
- "examples": [
37
- "What is the road status from Ankara to Istanbul?",
38
- "Is the Izmir route clear?",
39
- "How is the Bolu Mountain pass?",
40
- "Is there traffic on the Istanbul road?"
41
- ],
42
- "parameters": [
43
- {
44
- "name": "from_location",
45
- "type": "string",
46
- "extraction_prompt": "Identify the departure location (city or region) in this sentence."
47
- },
48
- {
49
- "name": "to_location",
50
- "type": "string",
51
- "extraction_prompt": "Identify the destination location (city or region) in this sentence."
52
- }
53
- ],
54
- "action": "traffic_api",
55
- "fallback_timeout_message": "Sorry, the traffic service is currently not responding.",
56
- "fallback_error_message": "An error occurred while retrieving traffic information.",
57
- "humanization_prompt": "Summarize the traffic status clearly and concisely."
58
- },
59
- {
60
- "name": "weather-status-intent",
61
- "examples": [
62
- "What is the weather like in Izmir?",
63
- "Is it raining in Ankara today?",
64
- "What's the weather forecast for Istanbul?",
65
- "Will it be sunny in Antalya tomorrow?"
66
- ],
67
- "parameters": [
68
- {
69
- "name": "city",
70
- "type": "string",
71
- "extraction_prompt": "Identify the city name mentioned in this sentence."
72
- }
73
- ],
74
- "action": "weather_api",
75
- "fallback_timeout_message": "Sorry, the weather service is currently unreachable.",
76
- "fallback_error_message": "An error occurred while retrieving weather information.",
77
- "humanization_prompt": "Express the weather response in a natural, conversational way."
78
  }
 
79
  ]
80
  }
81
  },
@@ -94,39 +57,7 @@
94
  "auth_refresh_endpoint": "https://c2b5-176-88-34-20.ngrok-free.app/refresh",
95
  "refresh_body": { "refresh_token": "{auth_tokens.currency_api.token}" }
96
  }
97
- },
98
- "traffic_api": {
99
- "url": "https://c2b5-176-88-34-20.ngrok-free.app/yol",
100
- "method": "POST",
101
- "headers": [{ "key": "Authorization", "value": "Bearer {auth_tokens.traffic_api.token}" }],
102
- "body": {
103
- "from_location": "{variables.from_location}",
104
- "to_location": "{variables.to_location}"
105
- },
106
- "timeout": 5,
107
- "retry_count": 1,
108
- "auth": {
109
- "auth_endpoint": "https://c2b5-176-88-34-20.ngrok-free.app/auth",
110
- "auth_body": { "username": "user", "password": "pass" },
111
- "auth_token_path": "token",
112
- "auth_refresh_endpoint": "https://c2b5-176-88-34-20.ngrok-free.app/refresh",
113
- "refresh_body": { "refresh_token": "{auth_tokens.traffic_api.token}" }
114
- }
115
- },
116
- "weather_api": {
117
- "url": "https://c2b5-176-88-34-20.ngrok-free.app/hava",
118
- "method": "POST",
119
- "headers": [{ "key": "Authorization", "value": "Bearer {auth_tokens.weather_api.token}" }],
120
- "body": { "city": "{variables.city}" },
121
- "timeout": 5,
122
- "retry_count": 1,
123
- "auth": {
124
- "auth_endpoint": "https://c2b5-176-88-34-20.ngrok-free.app/auth",
125
- "auth_body": { "username": "user", "password": "pass" },
126
- "auth_token_path": "token",
127
- "auth_refresh_endpoint": "https://c2b5-176-88-34-20.ngrok-free.app/refresh",
128
- "refresh_body": { "refresh_token": "{auth_tokens.weather_api.token}" }
129
- }
130
  }
 
131
  }
132
  }
 
7
  },
8
  "projects": {
9
  "project1": {
10
+ "project_name": "project1",
11
+ "project_version": 1,
12
+ "llm": {
13
+ "repo_id": "ytu-ce-cosmos/Turkish-Llama-8b-DPO-v0.1",
14
+ "generation_config": {
15
+ "max_new_tokens": 128,
16
+ "temperature": 0.3,
17
+ "top_p": 0.7,
18
+ "repetition_penalty": 1.1
19
+ },
20
+ "use_fine_tune": true,
21
+ "fine_tune_zip": ""
22
+ },
23
  "intents": [
24
  {
25
  "name": "currency-rate-intent",
26
+ "examples": ["What is the dollar rate?", "How much is the euro?", "How many TL is 1 dollar?", "Dollar to TL exchange", "Today's euro value"],
 
 
 
 
 
 
27
  "parameters": [
28
  {
29
  "name": "currency",
 
37
  "fallback_timeout_message": "Sorry, the currency service is currently unavailable. Please try again later.",
38
  "fallback_error_message": "An error occurred; the currency information could not be retrieved.",
39
  "humanization_prompt": "Summarize the currency exchange response in a natural and user-friendly way."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  }
41
+ // other intents...
42
  ]
43
  }
44
  },
 
57
  "auth_refresh_endpoint": "https://c2b5-176-88-34-20.ngrok-free.app/refresh",
58
  "refresh_body": { "refresh_token": "{auth_tokens.currency_api.token}" }
59
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
60
  }
61
+ // other APIs...
62
  }
63
  }