@@ -10,30 +10,42 @@ use sailfish::TemplateOnce;
1010
1111type ExampleQuestions =[ ( & ' static str , [ ( & ' static str , & ' static str ) ; 4 ] ) ; 4 ] ;
1212const EXAMPLE_QUESTIONS : ExampleQuestions =[
13- ( "PostgresML" , [
14- ( "PostgresML" , "sample question continued" ) ,
15- ( "PostgresML" , "sample question continued" ) ,
16- ( "PostgresML" , "sample question continued" ) ,
17- ( "PostgresML" , "sample question continued" ) ,
18- ] ) ,
19- ( "PyTorch" , [
20- ( "PyTorch" , "sample question continued" ) ,
21- ( "PyTorch" , "sample question continued" ) ,
22- ( "PyTorch" , "sample question continued" ) ,
23- ( "PyTorch" , "sample question continued" ) ,
24- ] ) ,
25- ( "Rust" , [
26- ( "Rust" , "sample question continued" ) ,
27- ( "Rust" , "sample question continued" ) ,
28- ( "Rust" , "sample question continued" ) ,
29- ( "Rust" , "sample question continued" ) ,
30- ] ) ,
31- ( "PostgreSQL" , [
32- ( "PostgreSQL" , "sample question continued" ) ,
33- ( "PostgreSQL" , "sample question continued" ) ,
34- ( "PostgreSQL" , "sample question continued" ) ,
35- ( "PostgreSQL" , "sample question continued" ) ,
36- ] ) ,
13+ (
14+ "PostgresML" ,
15+ [
16+ ( "PostgresML" , "sample question continued" ) ,
17+ ( "PostgresML" , "sample question continued" ) ,
18+ ( "PostgresML" , "sample question continued" ) ,
19+ ( "PostgresML" , "sample question continued" ) ,
20+ ] ,
21+ ) ,
22+ (
23+ "PyTorch" ,
24+ [
25+ ( "PyTorch" , "sample question continued" ) ,
26+ ( "PyTorch" , "sample question continued" ) ,
27+ ( "PyTorch" , "sample question continued" ) ,
28+ ( "PyTorch" , "sample question continued" ) ,
29+ ] ,
30+ ) ,
31+ (
32+ "Rust" ,
33+ [
34+ ( "Rust" , "sample question continued" ) ,
35+ ( "Rust" , "sample question continued" ) ,
36+ ( "Rust" , "sample question continued" ) ,
37+ ( "Rust" , "sample question continued" ) ,
38+ ] ,
39+ ) ,
40+ (
41+ "PostgreSQL" ,
42+ [
43+ ( "PostgreSQL" , "sample question continued" ) ,
44+ ( "PostgreSQL" , "sample question continued" ) ,
45+ ( "PostgreSQL" , "sample question continued" ) ,
46+ ( "PostgreSQL" , "sample question continued" ) ,
47+ ] ,
48+ ) ,
3749] ;
3850
3951const KNOWLEDGE_BASES : [ & ' static str ; 0 ] =[
@@ -44,18 +56,9 @@ const KNOWLEDGE_BASES: [&'static str; 0] = [
4456] ;
4557
4658const KNOWLEDGE_BASES_WITH_LOGO : [ KnowledgeBaseWithLogo ; 4 ] =[
47- KnowledgeBaseWithLogo :: new (
48- "PostgresML" ,
49- "/dashboard/static/images/owl_gradient.svg" ,
50- ) ,
51- KnowledgeBaseWithLogo :: new (
52- "PyTorch" ,
53- "/dashboard/static/images/logos/pytorch.svg" ,
54- ) ,
55- KnowledgeBaseWithLogo :: new (
56- "Rust" ,
57- "/dashboard/static/images/logos/rust.svg" ,
58- ) ,
59+ KnowledgeBaseWithLogo :: new ( "PostgresML" , "/dashboard/static/images/owl_gradient.svg" ) ,
60+ KnowledgeBaseWithLogo :: new ( "PyTorch" , "/dashboard/static/images/logos/pytorch.svg" ) ,
61+ KnowledgeBaseWithLogo :: new ( "Rust" , "/dashboard/static/images/logos/rust.svg" ) ,
5962KnowledgeBaseWithLogo :: new (
6063"PostgreSQL" ,
6164"/dashboard/static/images/logos/postgresql.svg" ,