Siraj-Aizlewood commited on
Commit
1650831
1 Parent(s): f63110e

Update route layer data

Browse files
Files changed (1) hide show
  1. route_layer_data.json +63 -0
route_layer_data.json ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ {
2
+ "routes": [
3
+ {
4
+ "name": "politics",
5
+ "utterances": [
6
+ "isn't politics the best thing ever",
7
+ "why don't you tell me about your political opinions",
8
+ "don't you just love the presidentdon't you just hate the president",
9
+ "they're going to destroy this country!",
10
+ "they will save the country!"
11
+ ],
12
+ "description": null,
13
+ "function_schema": null,
14
+ "llm": null,
15
+ "score_threshold": 0.82
16
+ },
17
+ {
18
+ "name": "chitchat",
19
+ "utterances": [
20
+ "how's the weather today?",
21
+ "how are things going?",
22
+ "lovely weather today",
23
+ "the weather is horrendous",
24
+ "let's go to the chippy"
25
+ ],
26
+ "description": null,
27
+ "function_schema": null,
28
+ "llm": null,
29
+ "score_threshold": 0.82
30
+ },
31
+ {
32
+ "name": "get_time",
33
+ "utterances": [
34
+ "what is the time in new york city?",
35
+ "what is the time in london?",
36
+ "I live in Rome, what time is it?"
37
+ ],
38
+ "description": null,
39
+ "function_schema": {
40
+ "name": "get_time",
41
+ "description": "Finds the current time in a specific timezone.\n\n:param timezone: The timezone to find the current time in, should\n be a valid timezone from the IANA Time Zone Database like\n \"America/New_York\" or \"Europe/London\". Do NOT put the place\n name itself like \"rome\", or \"new york\", you must provide\n the IANA format.\n:type timezone: str\n:return: The current time in the specified timezone.",
42
+ "signature": "(timezone: str) -> str",
43
+ "output": "<class 'str'>"
44
+ },
45
+ "llm": {
46
+ "module": "semantic_router.llms.openai",
47
+ "class": "OpenAILLM",
48
+ "model": "gpt-3.5-turbo"
49
+ },
50
+ "score_threshold": 0.82
51
+ }
52
+ ],
53
+ "encoder": {
54
+ "type": "openai",
55
+ "name": "text-embedding-ada-002",
56
+ "score_threshold": 0.82
57
+ },
58
+ "tags": [
59
+ "semantic-router",
60
+ "RouteLayer",
61
+ "openai"
62
+ ]
63
+ }