()
| 8 | |
| 9 | |
| 10 | def make_openai_call(): |
| 11 | client = openai.Client() |
| 12 | return client.chat.completions.create( |
| 13 | model="gpt-3.5-turbo", |
| 14 | messages=[ |
| 15 | {"role": "system", "content": "You are a chatbot."}, |
| 16 | {"role": "user", "content": "What are you talking about?"}, |
| 17 | ], |
| 18 | ) |
| 19 | |
| 20 | |
| 21 | # Initialize profiler |
no test coverage detected
searching dependent graphs…