Commit f92889f
* model_info (Model -> ConfiguredModel in constants) - 265
* predictor function for unknown spec
* update full list of API keys
* add gemini3 and gpt5.2 to constants
* return models based on opt obj when models is None
* reorganize functions in model info/helper
* add tests and update model references and imports
* move validation from config to query processor
* add json file for model score/latency and update predictor function
* update model references and imports
* update dependencies and related test cases
* update Model to have both string and enum
* model_info -> model_helper
* update model usage in query config
* rollback import changes for CuratedModel -> Model
* ModelProvider class
* update all switch cases to ModelProvider when applicable
* reverted CuratedModel changes
* add test cases
* add additional test cases
* fix formatting issues
* add prompt caching stats for #262
* restructure Model class
* fix Model enum issue
* add sorting logic to model class
* use singular json file for info fetching
* expand model list and updates curated_model_info file
* restructure model info fetching, update Model class and test cases
* script to update pz_models_information and update get_optimal_models
* is_deepseek_model
* add audio cache read/creation
* remove claude sonnet 3.5 (retired)
* add deepseek-chat
* add .json files to pyproject.toml so that is packaged too
* revert uvicorn dependency
* some small tweaks
* passing tests
---------
Co-authored-by: joycequ <joycequ@mit.edu>
Co-authored-by: Matthew Russo <mdrusso@mit.edu>
1 parent e581059 commit f92889f
24 files changed
Lines changed: 2492 additions & 553 deletions
File tree
- abacus-research/helper-scripts
- scripts
- src/palimpzest
- query
- generators
- operators
- optimizer
- processor
- utils
- validator
- tests/pytest
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
56 | 57 | | |
57 | 58 | | |
58 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
113 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | | - | |
67 | | - | |
| 66 | + | |
68 | 67 | | |
69 | 68 | | |
70 | 69 | | |
| |||
0 commit comments