back to chatopenai

Former-commit-id: 33eaf1ad9a1043da913dae454ec9b62491139d31
pull/160/head
Kye 2 years ago
parent 925d89a0d0
commit 884c5c2671

@ -1,6 +1,5 @@
"""OpenAI chat wrapper."""
from __future__ import annotations
from abc import abstractmethod
import os
import logging
@ -159,12 +158,6 @@ class ChatOpenAI(BaseChatModel, BaseModel):
"""Configuration for this pydantic object."""
extra = Extra.ignore
@property
@abstractmethod
def _llm_type(self) -> str:
# Return a string indicating the type of this language model
return 'ChatOpenAI'
def check_access(self) -> None:
"""Check that the user has access to the model."""

Loading…
Cancel
Save