Spaces:
Sleeping
Sleeping
Walterchamy
commited on
Commit
•
bc3e986
1
Parent(s):
d1b73d3
Update app.py
Browse files
app.py
CHANGED
@@ -191,7 +191,7 @@ For contact information:
|
|
191 |
#if __name__ == '__main__':
|
192 |
# main()
|
193 |
def generate_response(user_input):
|
194 |
-
response =
|
195 |
model="gpt-3.5-turbo",
|
196 |
messages=[
|
197 |
{"role": "system", "content": "You are a highly skilled AI assistant that can understand and answer questions in a natural and intelligent manner."},
|
|
|
191 |
#if __name__ == '__main__':
|
192 |
# main()
|
193 |
def generate_response(user_input):
|
194 |
+
response = client.chat.completions.create(
|
195 |
model="gpt-3.5-turbo",
|
196 |
messages=[
|
197 |
{"role": "system", "content": "You are a highly skilled AI assistant that can understand and answer questions in a natural and intelligent manner."},
|