Default to gpt-4-turbo-preview for chat model, extract questions actor

GPT-4 is more expensive and generally less capable than gpt-4-turbo-preview
This commit is contained in:
Debanjum Singh Solanky
2024-03-14 00:50:25 +05:30
parent dd883dc53a
commit 7211eb9cf5
4 changed files with 4 additions and 4 deletions

View File

@@ -19,7 +19,7 @@ logger = logging.getLogger(__name__)
def extract_questions(
text,
model: Optional[str] = "gpt-4",
model: Optional[str] = "gpt-4-turbo-preview",
conversation_log={},
api_key=None,
temperature=0,