You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* bump the version, test release to PyPi
* Update README.md
* Update README.md
* Update README.md
* bumpy version to 0.0.9
* Update Sotopia presentation information in README.md
* bump version to 0.0.10
* bump version
* add merge release back to main action
* change checkout v4->v3
* fix merge-back-to-main and pin mypy to <1.11.0
* merge bug fix
* upgrade default model to handle bad-foratted outputs to gpt-4o-mini as gpt-3.5-turbo is deprecated (#183)
* update pull request -> pull request target
* bump version
* Add `bad_output_process_model` option and `use_fixed_model_version` option for all generation methods, to avoid future OpenAI API changes break Sotopia running. (#196)
* Two major updates: 1) add "bad_output_process_model" option to all `agenerate_xxx()` methods so users can decide which model to use for handling bad outputs. By default, this is set to be `gpt-4o-mini`. 2) add `use_fixed_model_version` option for all generation methods, as some fixed model version may no longer available in the future. Users should have the right to bypass the fixed model version mapping instead of getting stuck in an error. Document (`generation.md`) has been updated for these two major changes correspondingly.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: Chenghao Yang <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
* fix gpt-3.5
* replace gpt3.5 turbo for tests
* update gpt-3.5-turbo to gpt-4o-mini
* bug fix for return fixed model version function
---------
Co-authored-by: XuhuiZhou <[email protected]>
Co-authored-by: Chenghao (Alan) Yang <[email protected]>
Co-authored-by: Chenghao Yang <[email protected]>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
@@ -23,6 +25,12 @@ The `agenerate` function is versatile by taking the output_parser as an argument
23
25
* `gpt-4o-mini-2024-07-18` and later
24
26
* `gpt-4o-2024-08-06` and later
25
27
28
+
The `bad_output_process_model` is used to process the bad output. `DEFAULT_BAD_OUTPUT_PROCESS_MODEL` is set to be `gpt-4o-mini` (At the publication time of Sotopia, we used `gpt-3.5-turbo-0613`. However this model has been taken off the shelf by OpenAI.).
29
+
30
+
The `use_fixed_model_version` is used to determine whether to use the fixed model version. If set to `True`, the model version will be fixed to the version that was used in Sotopia paper. If set to `False`, the model version will be the latest version available.
31
+
32
+
Warning: As some fixed model versions might not be available in the OpenAI API, setting `use_fixed_model_version = True` might result in an error.
33
+
26
34
</Callout>
27
35
28
36
Here are a few examples of how to use the `agenerate` function:
0 commit comments