```python
import openai
openai.api_key = "" # empty key
openai.api_base = "http://127.0.0.1:8000/v1" # use local server
models = openai.Model.list()
# print the first model's id
print(models.data[0].id)
# create a chat completion
chat_completion = openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=[{"role": "user",
"content": "if a+b=13 and a*b=42, then what are a and b respectively, do it step by step"}])
print(chat_completion.choices[0].message.content)