Merge pull request #268 from The-Art-of-Hacking/santosomar-patch-17

Update article_generator.py
This commit is contained in:
Omar Santos 2025-02-13 08:53:20 +01:00 committed by GitHub
commit cef7e37769
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -35,9 +35,9 @@ for line in lines:
# Generate the AI response using the GPT-3.5 model (16k)
# https://beta.openai.com/docs/api-reference/create-completion
response = openai.ChatCompletion.create(
model="gpt-3.5-turbo-16k",
model="gpt-4o-mini",
messages=prompt,
max_tokens=15000
max_tokens=16000
)
# print the AI response