Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
default to 3.5 turbo by enum
Browse files Browse the repository at this point in the history
rgbkrk committed Mar 4, 2024
1 parent 98f4cf1 commit cb5907f
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
@@ -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__)


@@ -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,

0 comments on commit cb5907f

Please sign in to comment.