|
1 |
| -<% use crate::components::tables::small::*; %> |
| 1 | +<% use crate::components::tables::{small as small_table, large as large_table}; %> |
2 | 2 | <% use crate::components::headings::{Green, Blue, Gray}; %>
|
3 | 3 | <% use crate::components::inputs::text::EditableHeader; %>
|
4 | 4 | <% use crate::components::inputs::text::{Input, search::{Search, search::SearchOptions}}; %>
|
|
12 | 12 |
|
13 | 13 | <div class="container" data-controller="pages-demo">
|
14 | 14 | <div class="py-5">
|
15 |
| - <%+ Table::new(&["Model", "Performance", "Cost"], &[ |
16 |
| - Row::new(&[ |
| 15 | + <%+ small_table::Table::new(&["Model", "Performance", "Cost"], &[ |
| 16 | + small_table::Row::new(&[ |
17 | 17 | "intfloat/e5-small".into(),
|
18 | 18 | "5ms/embedding".into(),
|
19 | 19 | "$0.0000000001/embedding".into(),
|
20 | 20 | ]).into(),
|
21 |
| - Row::new(&[ |
| 21 | + small_table::Row::new(&[ |
22 | 22 | "intfloat/e5-large".into(),
|
23 | 23 | "10ms/embedding".into(),
|
24 | 24 | "$0.0000000002/embedding".into(),
|
25 | 25 | ]).into(),
|
| 26 | + small_table::Row::new(&[ |
| 27 | + "intfloat/e5-large-with-overflow-intfloat/e5-large-with-overflow-intfloat/e5-large-with-overflow".into(), |
| 28 | + "10ms/embedding".into(), |
| 29 | + "$0.0000000002/embedding-intfloat/e5-large-with-overflow-intfloat/e5-large-with-overflow".into(), |
| 30 | + ]).into(), |
| 31 | + ]) %> |
| 32 | + </div> |
| 33 | + |
| 34 | + <div class="py-5"> |
| 35 | + <%+ large_table::Table::new(&["Model", "Performance", "Cost"], &[ |
| 36 | + large_table::Row::new(&[ |
| 37 | + "intfloat/e5-small".into(), |
| 38 | + "5ms/embedding".into(), |
| 39 | + "$0.0000000001/embedding".into(), |
| 40 | + ]).into(), |
| 41 | + large_table::Row::new(&[ |
| 42 | + "intfloat/e5-large".into(), |
| 43 | + "10ms/embedding".into(), |
| 44 | + "$0.0000000002/embedding".into(), |
| 45 | + ]).into(), |
| 46 | + large_table::Row::new(&[ |
| 47 | + "intfloat/e5-large-with-overflow-intfloat/e5-large-with-overflow-intfloat/e5-large-with-overflow".into(), |
| 48 | + "10ms/embedding".into(), |
| 49 | + "$0.0000000002/embedding-intfloat/e5-large-with-overflow-intfloat/e5-large-with-overflow".into(), |
| 50 | + ]).into(), |
26 | 51 | ]) %>
|
27 | 52 | </div>
|
28 | 53 |
|
|
0 commit comments