-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Change the typing for the AIConfig (#16)
This commit inlines the `AIConfigData` class into the existing `AIConfig`. It also introduces a new type, `ModelConfig` to replace the much looser dictionary config that was originally in play. This new model contains specific, typed properties for the model id, temperature, and max tokens. Additional model-specific attributes can be accessed as well.
- Loading branch information
Showing
2 changed files
with
132 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters