You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+49Lines changed: 49 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,55 @@
4
4
5
5
The Adaptive Model Routing System (AMRS) is a framework designed to select the best-fit model for exploration and exploitation. (still under development)
6
6
7
+
Thanks to [async-openai](https://github.com/64bit/async-openai), AMRS builds on top of it to provide adaptive model routing capabilities.
8
+
9
+
## Features
10
+
11
+
- Flexible routing strategies, including:
12
+
-**Random**: Randomly selects a model from the available models.
13
+
-**WRR**: Weighted Round Robin selects models based on predefined weights.
14
+
-**UCB**: Upper Confidence Bound based model selection (coming soon).
15
+
-**Adaptive**: Dynamically selects models based on performance metrics (coming soon).
16
+
17
+
18
+
## How to use
19
+
20
+
Here's a simple example with random routing mode:
21
+
22
+
23
+
```rust
24
+
// Before running the code, make sure to set your OpenAI API key in the environment variable:
0 commit comments