Skip to content

Commit

Permalink
default to 3.5 turbo by enum
Browse files Browse the repository at this point in the history
  • Loading branch information
rgbkrk committed Mar 4, 2024
1 parent 8d3b49a commit fc5c759
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion chatlab/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@
from .registry import FunctionRegistry, PythonHallucinationFunction
from .views import ToolArguments, AssistantMessageView

from .models import GPT_3_5_TURBO

logger = logging.getLogger(__name__)


Expand Down Expand Up @@ -65,7 +67,7 @@ def __init__(
*initial_context: Union[ChatCompletionMessageParam, str],
base_url=None,
api_key=None,
model="gpt-3.5-turbo-0613",
model=GPT_3_5_TURBO,
function_registry: Optional[FunctionRegistry] = None,
chat_functions: Optional[List[Callable]] = None,
allow_hallucinated_python: bool = False,
Expand Down

0 comments on commit fc5c759

Please sign in to comment.