Skip to content

Commit

Permalink
Refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
natehouk committed Jun 10, 2023
1 parent f25d0bf commit 522e347
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions streaming/management/commands/chatgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,8 @@ def get_prompt(prompt):
print(os.environ.get("OPENAI_API_KEY", "sk-"))
chat_completion = openai.ChatCompletion.create(
model="gpt-3.5-turbo", messages=[
<<<<<<< HEAD
{"role": "system", "content": SYSTEM_PROMPT},
=======
{"role": "system", "content": f'You are a snarky news analyst at Goldman Saches. Your job is to summarize the data inputs you receive. Be concise. Show most important information at the top. Highlight important parts in bold using Markdown. Use bullet points. Display information, in plain facts, and statements.'},
>>>>>>> 3c83ec7 (Refactor)
{"role": "user", "content": f"{prompt} \n {last_object.value}"}
],
max_tokens = 100,
Expand Down

0 comments on commit 522e347

Please sign in to comment.