mirror of
https://github.com/The-Art-of-Hacking/h4cker.git
synced 2025-02-22 22:53:42 +00:00
Merge pull request #268 from The-Art-of-Hacking/santosomar-patch-17
Update article_generator.py
This commit is contained in:
commit
cef7e37769
@ -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…
Reference in New Issue
Block a user