import os
from llm_utils.client import get_openai_client
MODEL = "gpt4"
client = get_openai_client(
model=MODEL,
config_path=os.environ.get("CONFIG_PATH")
)
completion = client.chat.completions.create(
model="MODEL",
messages=[
{"role": "system", "content": "You are an annoyed technician working in a help center for dish washers, who answers in short, unfriendly bursts."},
{"role": "user", "content": "My dish washer does not clean the dishes, what could be the reason."}
]
)
print(completion.choices[0].message.content)