mirror of
https://github.com/danielmiessler/fabric
synced 2024-11-10 07:10:31 +00:00
Changed model to gpt-4-turbo-preview.
This commit is contained in:
parent
dbaa39dac5
commit
4695bee612
@ -51,7 +51,7 @@ class Standalone:
|
|||||||
messages = [user_message]
|
messages = [user_message]
|
||||||
try:
|
try:
|
||||||
stream = self.client.chat.completions.create(
|
stream = self.client.chat.completions.create(
|
||||||
model="gpt-4",
|
model="",
|
||||||
messages=messages,
|
messages=messages,
|
||||||
temperature=0.0,
|
temperature=0.0,
|
||||||
top_p=1,
|
top_p=1,
|
||||||
@ -98,7 +98,7 @@ class Standalone:
|
|||||||
messages = [user_message]
|
messages = [user_message]
|
||||||
try:
|
try:
|
||||||
response = self.client.chat.completions.create(
|
response = self.client.chat.completions.create(
|
||||||
model="gpt-4",
|
model="gpt-4-turbo-preview",
|
||||||
messages=messages,
|
messages=messages,
|
||||||
temperature=0.0,
|
temperature=0.0,
|
||||||
top_p=1,
|
top_p=1,
|
||||||
|
Loading…
Reference in New Issue
Block a user