Skip to content

Commit ffbe647

Browse files
committed
Add tests for changes in ai reference file.
1 parent f9f74ec commit ffbe647

File tree

3 files changed

+419
-43
lines changed

3 files changed

+419
-43
lines changed
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"providers": {
3+
"openai": {
4+
"name": "builtin::openai"
5+
},
6+
"mistral": {
7+
"name": "builtin::mistral"
8+
},
9+
"anthropic": {
10+
"name": "builtin::anthropic"
11+
},
12+
"ollama": {
13+
"name": "builtin::ollama"
14+
}
15+
},
16+
"embedding_models": {
17+
"text-embedding-3-small": {
18+
"model_name": "text-embedding-3-small",
19+
"model_provider": "openai",
20+
"max_input_tokens": 8191,
21+
"max_batch_tokens": 8191,
22+
"max_output_dimensions": 1536,
23+
"supports_shortening": true
24+
},
25+
"nomic-embed-text": {
26+
"model_name": "nomic-embed-text",
27+
"model_provider": "ollama",
28+
"max_input_tokens": 8192,
29+
"max_batch_tokens": 8192,
30+
"max_output_dimensions": 768,
31+
"supports_shortening": false
32+
},
33+
"bge-m3": {
34+
"model_name": "bge-m3",
35+
"model_provider": "ollama",
36+
"max_input_tokens": 8192,
37+
"max_batch_tokens": 8192,
38+
"max_output_dimensions": 1024,
39+
"supports_shortening": false
40+
},
41+
"with-builtin-provider": {
42+
"model_name": "with-builtin-provider",
43+
"model_provider": "ollama",
44+
"max_input_tokens": 101,
45+
"max_batch_tokens": 501,
46+
"max_output_dimensions": 11,
47+
"supports_shortening": true
48+
},
49+
"with-custom-provider": {
50+
"model_name": "with-custom-provider",
51+
"model_provider": "test",
52+
"max_input_tokens": 102,
53+
"max_batch_tokens": 502,
54+
"max_output_dimensions": 12,
55+
"supports_shortening": true
56+
},
57+
"my-model-1": {
58+
"model_name": "my-model-1",
59+
"model_provider": "ollama",
60+
"max_input_tokens": 103,
61+
"max_batch_tokens": 503,
62+
"max_output_dimensions": 13,
63+
"supports_shortening": false
64+
},
65+
"my-model-2": {
66+
"model_name": "my-model-2",
67+
"model_provider": "ollama",
68+
"max_input_tokens": 104,
69+
"max_batch_tokens": 504,
70+
"max_output_dimensions": 14,
71+
"supports_shortening": false
72+
},
73+
"extra-model-1": {
74+
"model_name": "extra-model-1",
75+
"model_provider": "ollama",
76+
"max_input_tokens": 111,
77+
"max_batch_tokens": 511,
78+
"max_output_dimensions": 21,
79+
"supports_shortening": false
80+
}
81+
},
82+
"text_generation_models": {
83+
"llama3.2": {
84+
"model_name": "llama3.2",
85+
"model_provider": "ollama",
86+
"context_window": 131072
87+
},
88+
"llama3.3": {
89+
"model_name": "llama3.3",
90+
"model_provider": "ollama",
91+
"context_window": 131072
92+
}
93+
}
94+
}
Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
{
2+
"providers": {
3+
"openai": {
4+
"name": "builtin::openai"
5+
},
6+
"mistral": {
7+
"name": "builtin::mistral"
8+
},
9+
"anthropic": {
10+
"name": "builtin::anthropic"
11+
},
12+
"ollama": {
13+
"name": "builtin::ollama"
14+
}
15+
},
16+
"embedding_models": {
17+
"text-embedding-3-small": {
18+
"model_name": "text-embedding-3-small",
19+
"model_provider": "openai",
20+
"max_input_tokens": 8191,
21+
"max_batch_tokens": 8191,
22+
"max_output_dimensions": 1536,
23+
"supports_shortening": true
24+
},
25+
"nomic-embed-text": {
26+
"model_name": "nomic-embed-text",
27+
"model_provider": "ollama",
28+
"max_input_tokens": 8192,
29+
"max_batch_tokens": 8192,
30+
"max_output_dimensions": 768,
31+
"supports_shortening": false
32+
},
33+
"bge-m3": {
34+
"model_name": "bge-m3",
35+
"model_provider": "ollama",
36+
"max_input_tokens": 8192,
37+
"max_batch_tokens": 8192,
38+
"max_output_dimensions": 1024,
39+
"supports_shortening": false
40+
},
41+
"with-builtin-provider": {
42+
"model_name": "with-builtin-provider",
43+
"model_provider": "ollama",
44+
"max_input_tokens": 101,
45+
"max_batch_tokens": 501,
46+
"max_output_dimensions": 11,
47+
"supports_shortening": true
48+
},
49+
"with-custom-provider": {
50+
"model_name": "with-custom-provider",
51+
"model_provider": "test",
52+
"max_input_tokens": 102,
53+
"max_batch_tokens": 502,
54+
"max_output_dimensions": 12,
55+
"supports_shortening": true
56+
},
57+
"my-model-1": {
58+
"model_name": "my-model-1",
59+
"model_provider": "ollama",
60+
"max_input_tokens": 103,
61+
"max_batch_tokens": 503,
62+
"max_output_dimensions": 13,
63+
"supports_shortening": false
64+
},
65+
"my-model-2": {
66+
"model_name": "my-model-2",
67+
"model_provider": "ollama",
68+
"max_input_tokens": 104,
69+
"max_batch_tokens": 504,
70+
"max_output_dimensions": 14,
71+
"supports_shortening": false
72+
}
73+
},
74+
"text_generation_models": {
75+
"llama3.2": {
76+
"model_name": "llama3.2",
77+
"model_provider": "ollama",
78+
"context_window": 131072
79+
},
80+
"llama3.3": {
81+
"model_name": "llama3.3",
82+
"model_provider": "ollama",
83+
"context_window": 131072
84+
}
85+
}
86+
}

0 commit comments

Comments
 (0)