diff --git a/docs/sphinx_doc/source/tutorial/203-model.md b/docs/sphinx_doc/source/tutorial/203-model.md index 3bf012fbf..dc83ff758 100644 --- a/docs/sphinx_doc/source/tutorial/203-model.md +++ b/docs/sphinx_doc/source/tutorial/203-model.md @@ -17,7 +17,7 @@ where the model configs could be a list of dict: { "config_name": "gpt-4-temperature-0.0", "model_type": "openai", - "model": "gpt-4", + "model_name": "gpt-4", "api_key": "xxx", "organization": "xxx", "generate_args": { @@ -27,7 +27,7 @@ where the model configs could be a list of dict: { "config_name": "dall-e-3-size-1024x1024", "model_type": "openai_dall_e", - "model": "dall-e-3", + "model_name": "dall-e-3", "api_key": "xxx", "organization": "xxx", "generate_args": { diff --git a/examples/conversation/conversation.py b/examples/conversation/conversation.py index 5cd721a25..ff926ae76 100644 --- a/examples/conversation/conversation.py +++ b/examples/conversation/conversation.py @@ -10,7 +10,7 @@ { "model_type": "openai", "config_name": "gpt-3.5-turbo", - "model": "gpt-3.5-turbo", + "model_name": "gpt-3.5-turbo", "api_key": "xxx", # Load from env if not provided "organization": "xxx", # Load from env if not provided "generate_args": { diff --git a/tests/model_test.py b/tests/model_test.py index 4c247daec..54eeb2c00 100644 --- a/tests/model_test.py +++ b/tests/model_test.py @@ -52,7 +52,7 @@ def test_load_model_configs(self) -> None: { "model_type": "openai", "config_name": "gpt-4", - "model": "gpt-4", + "model_name": "gpt-4", "api_key": "xxx", "organization": "xxx", "generate_args": {"temperature": 0.5},