Spaces:
Sleeping
Sleeping
robertselvam
commited on
Commit
•
6c913bc
1
Parent(s):
fdef420
Update app.py
Browse files
app.py
CHANGED
@@ -35,7 +35,7 @@ class SentimentAnalyzer:
|
|
35 |
|
36 |
# Call OpenAI GPT-3.5-turbo
|
37 |
chat_completion = client.chat.completions.create(
|
38 |
-
model = "GPT-
|
39 |
messages = conversation,
|
40 |
max_tokens=500,
|
41 |
temperature=0
|
@@ -86,7 +86,7 @@ class Summarizer:
|
|
86 |
|
87 |
# Call OpenAI GPT-3.5-turbo
|
88 |
chat_completion = client.chat.completions.create(
|
89 |
-
model = "GPT-
|
90 |
messages = conversation,
|
91 |
max_tokens=500,
|
92 |
temperature=0
|
@@ -174,7 +174,7 @@ class LangChain_Document_QA:
|
|
174 |
|
175 |
# Call OpenAI GPT-3.5-turbo
|
176 |
chat_completion = client.chat.completions.create(
|
177 |
-
model = "GPT-
|
178 |
messages = conversation,
|
179 |
max_tokens=300,
|
180 |
temperature=0
|
|
|
35 |
|
36 |
# Call OpenAI GPT-3.5-turbo
|
37 |
chat_completion = client.chat.completions.create(
|
38 |
+
model = "GPT-4o",
|
39 |
messages = conversation,
|
40 |
max_tokens=500,
|
41 |
temperature=0
|
|
|
86 |
|
87 |
# Call OpenAI GPT-3.5-turbo
|
88 |
chat_completion = client.chat.completions.create(
|
89 |
+
model = "GPT-4o",
|
90 |
messages = conversation,
|
91 |
max_tokens=500,
|
92 |
temperature=0
|
|
|
174 |
|
175 |
# Call OpenAI GPT-3.5-turbo
|
176 |
chat_completion = client.chat.completions.create(
|
177 |
+
model = "GPT-4o",
|
178 |
messages = conversation,
|
179 |
max_tokens=300,
|
180 |
temperature=0
|