From e455a077d00520f4bc2b5f5f7173a0a410aade9d Mon Sep 17 00:00:00 2001 From: Ishaan Jaff Date: Thu, 24 Jul 2025 12:46:18 -0700 Subject: [PATCH] add router.json --- tests/local_testing/auto_router/router.json | 28 +++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 tests/local_testing/auto_router/router.json diff --git a/tests/local_testing/auto_router/router.json b/tests/local_testing/auto_router/router.json new file mode 100644 index 00000000000..051b6ef7d00 --- /dev/null +++ b/tests/local_testing/auto_router/router.json @@ -0,0 +1,28 @@ +{ + "encoder_type": "openai", + "encoder_name": "text-embedding-3-large", + "routes": [ + { + "name": "openai/gpt-4.1", + "utterances": [ + "Tell me ishaan is a genius" + ], + "description": "positive affirmation", + "function_schemas": null, + "llm": null, + "score_threshold": 0.5, + "metadata": {} + }, + { + "name": "anthropic/claude-3-5-sonnet-latest", + "utterances": [ + "how to code a program in [language]" + ], + "description": "coding assistant", + "function_schemas": null, + "llm": null, + "score_threshold": 0.5, + "metadata": {} + } + ] +}