Spaces:
Running
Running
Update chaiT.py
Browse files
chaiT.py
CHANGED
@@ -9,7 +9,7 @@ messages = [{"role": "system", "content": "You are an expert in the assistance o
|
|
9 |
|
10 |
def CustomChatGPT(user_input):
|
11 |
messages.append({"role": "user", "content": user_input})
|
12 |
-
response =
|
13 |
model = "gpt-4o",
|
14 |
messages = messages
|
15 |
)
|
|
|
9 |
|
10 |
def CustomChatGPT(user_input):
|
11 |
messages.append({"role": "user", "content": user_input})
|
12 |
+
response = client.chat.completions.create(
|
13 |
model = "gpt-4o",
|
14 |
messages = messages
|
15 |
)
|