test_route_layer / route_layer_data.json
Siraj-Aizlewood's picture
Update route layer data
1650831 unverified
raw
history blame contribute delete
No virus
2.33 kB
{
"routes": [
{
"name": "politics",
"utterances": [
"isn't politics the best thing ever",
"why don't you tell me about your political opinions",
"don't you just love the presidentdon't you just hate the president",
"they're going to destroy this country!",
"they will save the country!"
],
"description": null,
"function_schema": null,
"llm": null,
"score_threshold": 0.82
},
{
"name": "chitchat",
"utterances": [
"how's the weather today?",
"how are things going?",
"lovely weather today",
"the weather is horrendous",
"let's go to the chippy"
],
"description": null,
"function_schema": null,
"llm": null,
"score_threshold": 0.82
},
{
"name": "get_time",
"utterances": [
"what is the time in new york city?",
"what is the time in london?",
"I live in Rome, what time is it?"
],
"description": null,
"function_schema": {
"name": "get_time",
"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.",
"signature": "(timezone: str) -> str",
"output": "<class 'str'>"
},
"llm": {
"module": "semantic_router.llms.openai",
"class": "OpenAILLM",
"model": "gpt-3.5-turbo"
},
"score_threshold": 0.82
}
],
"encoder": {
"type": "openai",
"name": "text-embedding-ada-002",
"score_threshold": 0.82
},
"tags": [
"semantic-router",
"RouteLayer",
"openai"
]
}