Update app.py
Browse files
app.py
CHANGED
|
@@ -19,16 +19,6 @@ def chatbot(input_text):
|
|
| 19 |
]
|
| 20 |
)
|
| 21 |
''''''
|
| 22 |
-
print("Response object type:", type(response))
|
| 23 |
-
print("Response object:", response)
|
| 24 |
-
|
| 25 |
-
print("Choices type:", type(response.choices))
|
| 26 |
-
print("First choice type:", type(response.choices[0]))
|
| 27 |
-
print("First choice:", response.choices[0])
|
| 28 |
-
|
| 29 |
-
print("Message type:", type(response.choices[0].message))
|
| 30 |
-
print("Message:", response.choices[0].message)
|
| 31 |
-
|
| 32 |
print("Content type:", type(response.choices[0].message.content))
|
| 33 |
print("Content:", response.choices[0].message.content)
|
| 34 |
''''''
|
|
|
|
| 19 |
]
|
| 20 |
)
|
| 21 |
''''''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 22 |
print("Content type:", type(response.choices[0].message.content))
|
| 23 |
print("Content:", response.choices[0].message.content)
|
| 24 |
''''''
|