robertselvam commited on
Commit
7852b97
1 Parent(s): 31bd8d8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -38,7 +38,7 @@ class SentimentAnalyzer:
38
 
39
  # Call OpenAI GPT-3.5-turbo
40
  chat_completion = client.chat.completions.create(
41
- model = "ChatGPT",
42
  messages = conversation,
43
  max_tokens=500,
44
  temperature=0
@@ -63,7 +63,7 @@ class SentimentAnalyzer:
63
 
64
  # Call OpenAI GPT-3.5-turbo
65
  chat_completion = client.chat.completions.create(
66
- model = "ChatGPT",
67
  messages = conversation,
68
  max_tokens=500,
69
  temperature=0
@@ -89,7 +89,7 @@ class Summarizer:
89
 
90
  # Call OpenAI GPT-3.5-turbo
91
  chat_completion = client.chat.completions.create(
92
- model = "ChatGPT",
93
  messages = conversation,
94
  max_tokens=500,
95
  temperature=0
@@ -177,7 +177,7 @@ class LangChain_Document_QA:
177
 
178
  # Call OpenAI GPT-3.5-turbo
179
  chat_completion = client.chat.completions.create(
180
- model = "ChatGPT",
181
  messages = conversation,
182
  max_tokens=300,
183
  temperature=0
 
38
 
39
  # Call OpenAI GPT-3.5-turbo
40
  chat_completion = client.chat.completions.create(
41
+ model = "GPT-3",
42
  messages = conversation,
43
  max_tokens=500,
44
  temperature=0
 
63
 
64
  # Call OpenAI GPT-3.5-turbo
65
  chat_completion = client.chat.completions.create(
66
+ model = "GPT-3",
67
  messages = conversation,
68
  max_tokens=500,
69
  temperature=0
 
89
 
90
  # Call OpenAI GPT-3.5-turbo
91
  chat_completion = client.chat.completions.create(
92
+ model = "GPT-3",
93
  messages = conversation,
94
  max_tokens=500,
95
  temperature=0
 
177
 
178
  # Call OpenAI GPT-3.5-turbo
179
  chat_completion = client.chat.completions.create(
180
+ model = "GPT-3",
181
  messages = conversation,
182
  max_tokens=300,
183
  temperature=0