Spaces:
Sleeping
Sleeping
karthikeyan-r
commited on
Commit
•
15fab55
1
Parent(s):
5c67fd9
Update llm.py
Browse files
llm.py
CHANGED
@@ -16,7 +16,7 @@ class OpenaiAPI:
|
|
16 |
def get_response(self, prompt) -> str:
|
17 |
try:
|
18 |
completion = self.client.chat.completions.create(
|
19 |
-
model="
|
20 |
messages=prompt,
|
21 |
temperature=0,
|
22 |
)
|
|
|
16 |
def get_response(self, prompt) -> str:
|
17 |
try:
|
18 |
completion = self.client.chat.completions.create(
|
19 |
+
model="gpt-4o", # e.g., gpt-35-instant
|
20 |
messages=prompt,
|
21 |
temperature=0,
|
22 |
)
|