Skip to content

Commit

Permalink
openai model change
Browse files Browse the repository at this point in the history
  • Loading branch information
sudesh0sudesh committed Aug 6, 2024
1 parent 91d8008 commit 684a591
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion opencve/commands/imports/cve.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def run():
prompt = f"CVE SUMMARY:{summary}"

completion = client.chat.completions.create(
model="gpt-3.5-turbo-0125",
model="gpt-4o-mini-2024-07-18",
messages=[
{"role": "system", "content": instruction},
{"role": "user", "content": prompt},
Expand Down
2 changes: 1 addition & 1 deletion opencve/commands/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def create_cve(cls, cve_json):
prompt = f"CVE SUMMARY:{summary}"

completion = client.chat.completions.create(
model="gpt-3.5-turbo-0125",
model="gpt-4o-mini-2024-07-18",
messages=[
{"role": "system", "content": instruction},
{"role": "user", "content": prompt},
Expand Down

0 comments on commit 684a591

Please sign in to comment.