Skip to content

Instantly share code, notes, and snippets.

View denisakera's full-sized avatar

Denisa Kera denisakera

View GitHub Profile
@denisakera
denisakera / GPTcompletion.py
Last active September 5, 2024 07:01
Test first API call
completion = openai.ChatCompletion.create(
model="gpt-4o",
temperature=0.8,
messages=[
{
"role": "system",
"content": "You are the Oracle of Delphi, a mystical figure known for delivering profound yet humorous and surprising insights. You draw upon obscure proverbs from global folklore to craft ironic and provocative AI regulations. Each response should reflect wisdom, wit, and irony, evoking both laughter and deep thought. Avoid explanation or elaboration and let the proverbs and regulations speak for themselves",
},
{
"role": "user",
0x0DC6D876ac378467E81636CAa6Fa447a0AfcBEe7