mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2025-03-03 04:29:22 -05:00
Update article_generator.py
This commit is contained in:
parent
6bf15bf6d5
commit
d198f9214e
@ -35,9 +35,9 @@ for line in lines:
|
|||||||
# Generate the AI response using the GPT-3.5 model (16k)
|
# Generate the AI response using the GPT-3.5 model (16k)
|
||||||
# https://beta.openai.com/docs/api-reference/create-completion
|
# https://beta.openai.com/docs/api-reference/create-completion
|
||||||
response = openai.ChatCompletion.create(
|
response = openai.ChatCompletion.create(
|
||||||
model="gpt-3.5-turbo-16k",
|
model="gpt-4o-mini",
|
||||||
messages=prompt,
|
messages=prompt,
|
||||||
max_tokens=15000
|
max_tokens=16000
|
||||||
)
|
)
|
||||||
|
|
||||||
# print the AI response
|
# print the AI response
|
||||||
|
Loading…
x
Reference in New Issue
Block a user